diff options
author | jbj <devnull@localhost> | 1999-07-13 21:37:57 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-07-13 21:37:57 +0000 |
commit | 8bd997f2e0d977ddde56ea4debad83197355a2c9 (patch) | |
tree | bff7739953a6a852bf857e08665c9d2d84aa3e7c /lib/install.h | |
parent | 2f400a54b2194cc1caee95cb0a3da74f4bce1735 (diff) | |
download | rpm-8bd997f2e0d977ddde56ea4debad83197355a2c9.tar.gz rpm-8bd997f2e0d977ddde56ea4debad83197355a2c9.tar.bz2 rpm-8bd997f2e0d977ddde56ea4debad83197355a2c9.zip |
Perl bindings need
#include <foo.h>
not
#include "foo.h"
CVS patchset: 3143
CVS date: 1999/07/13 21:37:57
Diffstat (limited to 'lib/install.h')
-rw-r--r-- | lib/install.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/install.h b/lib/install.h index b7c7606ab..564785ab6 100644 --- a/lib/install.h +++ b/lib/install.h @@ -1,8 +1,7 @@ #ifndef H_INSTALL #define H_INSTALL -#include "header.h" -#include "rpmlib.h" +#include <rpmlib.h> struct sharedFile { int mainFileNumber; @@ -21,6 +20,10 @@ enum fileActions { FA_UNKNOWN = 0, FA_CREATE, FA_BACKUP, FA_SAVE, FA_SKIP, FA_ALTNAME, FA_REMOVE, FA_SKIPNSTATE }; enum fileTypes { XDIR, BDEV, CDEV, SOCK, PIPE, REG, LINK } ; +#ifdef __cplusplus +extern "C" { +#endif + int removeBinaryPackage(char * root, rpmdb db, unsigned int offset, int flags, enum fileActions * actions, FD_t scriptFd); int runInstScript(const char * prefix, Header h, int scriptTag, int progTag, @@ -39,4 +42,8 @@ int installBinaryPackage(const char * rootdir, rpmdb db, FD_t fd, Header h, struct sharedFileInfo * sharedList, FD_t scriptFd); const char * fileActionString(enum fileActions a); +#ifdef __cplusplus +} +#endif + #endif /* H_INSTALL */ |