summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-30 07:16:21 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-30 07:16:21 +0000
commitba250884a3d362c5f0f862ed96d3ed4dbcab49ee (patch)
treed33b5534720918eb01e3105dd2694f8d7a7aaec3
parent79e4c23f9234a5841a4fa0bb1f7cb415d15089c5 (diff)
downloadpkgsrc-ba250884a3d362c5f0f862ed96d3ed4dbcab49ee.tar.gz
Push pkg_perform prototype into the individual packages.
-rw-r--r--pkgtools/pkg_install/files/add/add.h4
-rw-r--r--pkgtools/pkg_install/files/create/create.h4
-rw-r--r--pkgtools/pkg_install/files/delete/delete.h4
-rw-r--r--pkgtools/pkg_install/files/info/info.h4
-rw-r--r--pkgtools/pkg_install/files/lib/lib.h5
5 files changed, 13 insertions, 8 deletions
diff --git a/pkgtools/pkg_install/files/add/add.h b/pkgtools/pkg_install/files/add/add.h
index 5cef817ca5c..98865b21910 100644
--- a/pkgtools/pkg_install/files/add/add.h
+++ b/pkgtools/pkg_install/files/add/add.h
@@ -1,4 +1,4 @@
-/* $NetBSD: add.h,v 1.6 2005/11/22 15:44:59 ben Exp $ */
+/* $NetBSD: add.h,v 1.7 2007/07/30 07:16:21 joerg Exp $ */
/* from FreeBSD Id: add.h,v 1.8 1997/02/22 16:09:15 peter Exp */
@@ -50,4 +50,6 @@ int make_hierarchy(char *);
int extract_plist(char *, package_t *);
void apply_perms(char *, char **, int);
+int pkg_perform(lpkg_head_t *);
+
#endif /* _INST_ADD_H_INCLUDE */
diff --git a/pkgtools/pkg_install/files/create/create.h b/pkgtools/pkg_install/files/create/create.h
index 3c791d640c7..dee4a9e3548 100644
--- a/pkgtools/pkg_install/files/create/create.h
+++ b/pkgtools/pkg_install/files/create/create.h
@@ -1,4 +1,4 @@
-/* $NetBSD: create.h,v 1.6 2007/07/25 15:01:46 joerg Exp $ */
+/* $NetBSD: create.h,v 1.7 2007/07/30 07:16:21 joerg Exp $ */
/* from FreeBSD Id: create.h,v 1.13 1997/10/08 07:46:19 charnier Exp */
@@ -53,4 +53,6 @@ extern int create_views;
void check_list(char *, package_t *, const char *);
void copy_plist(char *, package_t *);
+int pkg_perform(lpkg_head_t *);
+
#endif /* _INST_CREATE_H_INCLUDE */
diff --git a/pkgtools/pkg_install/files/delete/delete.h b/pkgtools/pkg_install/files/delete/delete.h
index 03092c20ea8..116025d8557 100644
--- a/pkgtools/pkg_install/files/delete/delete.h
+++ b/pkgtools/pkg_install/files/delete/delete.h
@@ -1,4 +1,4 @@
-/* $NetBSD: delete.h,v 1.4 2004/11/02 00:10:15 erh Exp $ */
+/* $NetBSD: delete.h,v 1.5 2007/07/30 07:16:21 joerg Exp $ */
/* from FreeBSD Id: delete.h,v 1.4 1997/02/22 16:09:35 peter Exp */
@@ -35,4 +35,6 @@ extern Boolean Recurse_up;
extern Boolean Recurse_down;
extern lpkg_head_t pkgs;
+int pkg_perform(lpkg_head_t *);
+
#endif /* _INST_DELETE_H_INCLUDE */
diff --git a/pkgtools/pkg_install/files/info/info.h b/pkgtools/pkg_install/files/info/info.h
index f0eaa5ad8b6..46f87f1e43c 100644
--- a/pkgtools/pkg_install/files/info/info.h
+++ b/pkgtools/pkg_install/files/info/info.h
@@ -1,4 +1,4 @@
-/* $NetBSD: info.h,v 1.12 2007/07/26 11:30:55 joerg Exp $ */
+/* $NetBSD: info.h,v 1.13 2007/07/30 07:16:21 joerg Exp $ */
/* from FreeBSD Id: info.h,v 1.10 1997/02/22 16:09:40 peter Exp */
@@ -80,4 +80,6 @@ extern void show_bld_depends(char *, package_t *);
extern void show_index(char *, char *, char *);
extern void show_summary(package_t *, const char *);
+int pkg_perform(lpkg_head_t *);
+
#endif /* _INST_INFO_H_INCLUDE */
diff --git a/pkgtools/pkg_install/files/lib/lib.h b/pkgtools/pkg_install/files/lib/lib.h
index 825d6ef84e3..fe69ccb8c6f 100644
--- a/pkgtools/pkg_install/files/lib/lib.h
+++ b/pkgtools/pkg_install/files/lib/lib.h
@@ -1,4 +1,4 @@
-/* $NetBSD: lib.h,v 1.28 2007/07/26 11:30:56 joerg Exp $ */
+/* $NetBSD: lib.h,v 1.29 2007/07/30 07:16:21 joerg Exp $ */
/* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */
@@ -405,9 +405,6 @@ lpkg_t *alloc_lpkg(const char *);
lpkg_t *find_on_queue(lpkg_head_t *, const char *);
void free_lpkg(lpkg_t *);
-/* For all */
-int pkg_perform(lpkg_head_t *);
-
/* Externs */
extern Boolean Verbose;
extern Boolean Fake;