Date: Fri, 28 Dec 2007 01:02:18 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 131829 for review Message-ID: <200712280102.lBS12IGr001038@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131829 Change 131829 by gcooper@shiina-ibook on 2007/12/28 01:01:31 Add perform(..) stub. Affected files ... .. //depot/projects/soc2007/revised_fbsd_pkgtools/pkg_revised/v2/pkgman/pkg_action.c#2 edit Differences ... ==== //depot/projects/soc2007/revised_fbsd_pkgtools/pkg_revised/v2/pkgman/pkg_action.c#2 (text+ko) ==== @@ -6,7 +6,7 @@ * @return NULL on bad action_type. */ pkg_action -init_action(int action_type, freebsd_pkg *fpkg) +init_action(int action_type, struct freebsd_package *fpkg) { switch (action_type) { @@ -37,3 +37,14 @@ } return NULL; + +} + +int +perform(struct pkg_action *action, struct freebsd_package *fpkg) +{ + if (action != NULL) { + return action->perform(fpkg); + } + return -1; +}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712280102.lBS12IGr001038>