Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=2954afca7129f350fff4ec126ad6d594688b6b13
commit 2954afca7129f350fff4ec126ad6d594688b6b13 Author: Michel Hermier <herm...@frugalware.org> Date: Thu Dec 17 01:35:43 2009 +0100 pacman-g2.h: Fusion of various small pacman files (tracking changes). diff --git a/src/pacman-g2/add.h b/src/pacman-g2/add.h index 311bf98..d12f77a 100644 --- a/src/pacman-g2/add.h +++ b/src/pacman-g2/add.h @@ -1,5 +1,5 @@ /* - * add.h + * pacman-g2.h * * Copyright (c) 2002-2006 by Judd Vinet <jvi...@zeroflux.org> * @@ -18,11 +18,28 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -#ifndef _PM_ADD_H -#define _PM_ADD_H +#ifndef _PM_PACMAN_G2_H +#define _PM_PACMAN_G2_H +/* add.c */ int addpkg(list_t *targets); -#endif /* _PM_ADD_H */ +/* sync.c */ +int syncpkg(list_t *targets); + +/* upgrade.c */ +int upgradepkg(list_t *targets); + +/* query.c */ +int querypkg(list_t *targets); + +/* remove.c */ +int removepkg(list_t *targets); + + +/* deptest.c */ +int deptestpkg(list_t *targets); + +#endif /* _PM_PACMAN_G2_H */ /* vim: set ts=2 sw=2 noet: */ diff --git a/src/pacman-g2/deptest.h b/src/pacman-g2/deptest.h index 2e522a6..d12f77a 100644 --- a/src/pacman-g2/deptest.h +++ b/src/pacman-g2/deptest.h @@ -1,5 +1,5 @@ /* - * deptest.h + * pacman-g2.h * * Copyright (c) 2002-2006 by Judd Vinet <jvi...@zeroflux.org> * @@ -18,11 +18,28 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -#ifndef _PM_DEPTEST_H -#define _PM_DEPTEST_H +#ifndef _PM_PACMAN_G2_H +#define _PM_PACMAN_G2_H +/* add.c */ +int addpkg(list_t *targets); + +/* sync.c */ +int syncpkg(list_t *targets); + +/* upgrade.c */ +int upgradepkg(list_t *targets); + +/* query.c */ +int querypkg(list_t *targets); + +/* remove.c */ +int removepkg(list_t *targets); + + +/* deptest.c */ int deptestpkg(list_t *targets); -#endif /* _PM_DEPTEST_H */ +#endif /* _PM_PACMAN_G2_H */ /* vim: set ts=2 sw=2 noet: */ diff --git a/src/pacman-g2/pacman-g2.h b/src/pacman-g2/pacman-g2.h new file mode 100644 index 0000000..d12f77a --- /dev/null +++ b/src/pacman-g2/pacman-g2.h @@ -0,0 +1,45 @@ +/* + * pacman-g2.h + * + * Copyright (c) 2002-2006 by Judd Vinet <jvi...@zeroflux.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + * USA. + */ +#ifndef _PM_PACMAN_G2_H +#define _PM_PACMAN_G2_H + +/* add.c */ +int addpkg(list_t *targets); + +/* sync.c */ +int syncpkg(list_t *targets); + +/* upgrade.c */ +int upgradepkg(list_t *targets); + +/* query.c */ +int querypkg(list_t *targets); + +/* remove.c */ +int removepkg(list_t *targets); + + +/* deptest.c */ +int deptestpkg(list_t *targets); + +#endif /* _PM_PACMAN_G2_H */ + +/* vim: set ts=2 sw=2 noet: */ diff --git a/src/pacman-g2/query.h b/src/pacman-g2/query.h index 6be768e..d12f77a 100644 --- a/src/pacman-g2/query.h +++ b/src/pacman-g2/query.h @@ -1,5 +1,5 @@ /* - * query.h + * pacman-g2.h * * Copyright (c) 2002-2006 by Judd Vinet <jvi...@zeroflux.org> * @@ -18,11 +18,28 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -#ifndef _PM_QUERY_H -#define _PM_QUERY_H +#ifndef _PM_PACMAN_G2_H +#define _PM_PACMAN_G2_H +/* add.c */ +int addpkg(list_t *targets); + +/* sync.c */ +int syncpkg(list_t *targets); + +/* upgrade.c */ +int upgradepkg(list_t *targets); + +/* query.c */ int querypkg(list_t *targets); -#endif /* _PM_QUERY_H */ +/* remove.c */ +int removepkg(list_t *targets); + + +/* deptest.c */ +int deptestpkg(list_t *targets); + +#endif /* _PM_PACMAN_G2_H */ /* vim: set ts=2 sw=2 noet: */ diff --git a/src/pacman-g2/remove.h b/src/pacman-g2/remove.h index 93474e3..d12f77a 100644 --- a/src/pacman-g2/remove.h +++ b/src/pacman-g2/remove.h @@ -1,5 +1,5 @@ /* - * remove.h + * pacman-g2.h * * Copyright (c) 2002-2006 by Judd Vinet <jvi...@zeroflux.org> * @@ -18,11 +18,28 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -#ifndef _PM_REMOVE_H -#define _PM_REMOVE_H +#ifndef _PM_PACMAN_G2_H +#define _PM_PACMAN_G2_H +/* add.c */ +int addpkg(list_t *targets); + +/* sync.c */ +int syncpkg(list_t *targets); + +/* upgrade.c */ +int upgradepkg(list_t *targets); + +/* query.c */ +int querypkg(list_t *targets); + +/* remove.c */ int removepkg(list_t *targets); -#endif /* _PM_REMOVE_H */ + +/* deptest.c */ +int deptestpkg(list_t *targets); + +#endif /* _PM_PACMAN_G2_H */ /* vim: set ts=2 sw=2 noet: */ diff --git a/src/pacman-g2/sync.h b/src/pacman-g2/sync.h index 808cfee..d12f77a 100644 --- a/src/pacman-g2/sync.h +++ b/src/pacman-g2/sync.h @@ -1,5 +1,5 @@ /* - * sync.h + * pacman-g2.h * * Copyright (c) 2002-2006 by Judd Vinet <jvi...@zeroflux.org> * @@ -18,11 +18,28 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -#ifndef _PM_SYNC_H -#define _PM_SYNC_H +#ifndef _PM_PACMAN_G2_H +#define _PM_PACMAN_G2_H +/* add.c */ +int addpkg(list_t *targets); + +/* sync.c */ int syncpkg(list_t *targets); -#endif /* _PM_SYNC_H */ +/* upgrade.c */ +int upgradepkg(list_t *targets); + +/* query.c */ +int querypkg(list_t *targets); + +/* remove.c */ +int removepkg(list_t *targets); + + +/* deptest.c */ +int deptestpkg(list_t *targets); + +#endif /* _PM_PACMAN_G2_H */ /* vim: set ts=2 sw=2 noet: */ diff --git a/src/pacman-g2/upgrade.h b/src/pacman-g2/upgrade.h index 7b04aa7..d12f77a 100644 --- a/src/pacman-g2/upgrade.h +++ b/src/pacman-g2/upgrade.h @@ -1,5 +1,5 @@ /* - * upgrade.h + * pacman-g2.h * * Copyright (c) 2002-2006 by Judd Vinet <jvi...@zeroflux.org> * @@ -18,11 +18,28 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -#ifndef _PM_UPGRADE_H -#define _PM_UPGRADE_H +#ifndef _PM_PACMAN_G2_H +#define _PM_PACMAN_G2_H +/* add.c */ +int addpkg(list_t *targets); + +/* sync.c */ +int syncpkg(list_t *targets); + +/* upgrade.c */ int upgradepkg(list_t *targets); -#endif /* _PM_UPGRADE_H */ +/* query.c */ +int querypkg(list_t *targets); + +/* remove.c */ +int removepkg(list_t *targets); + + +/* deptest.c */ +int deptestpkg(list_t *targets); + +#endif /* _PM_PACMAN_G2_H */ /* vim: set ts=2 sw=2 noet: */ _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git