diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2011-11-09 13:02:27 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2011-11-09 13:02:27 +0000 |
commit | 968e5de4f610ccc42ec50dde907f9b599e02a232 (patch) | |
tree | b43aa10f6372c9491903183ab2c26c6fe39f97f0 /RPM4/src/RPM4.h | |
parent | 7a2e434df978de6e43407283dc53b5e06801ab33 (diff) | |
download | perl-RPM4-968e5de4f610ccc42ec50dde907f9b599e02a232.tar perl-RPM4-968e5de4f610ccc42ec50dde907f9b599e02a232.tar.gz perl-RPM4-968e5de4f610ccc42ec50dde907f9b599e02a232.tar.bz2 perl-RPM4-968e5de4f610ccc42ec50dde907f9b599e02a232.tar.xz perl-RPM4-968e5de4f610ccc42ec50dde907f9b599e02a232.zip |
add rpm-4.6 support (by pixel on 2009-01-20)
details are in README.API
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@145 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/src/RPM4.h')
-rw-r--r-- | RPM4/src/RPM4.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/RPM4/src/RPM4.h b/RPM4/src/RPM4.h index 1e0159e..ffa08c8 100644 --- a/RPM4/src/RPM4.h +++ b/RPM4/src/RPM4.h @@ -16,15 +16,6 @@ int rpmchecksig(rpmts ts, const char * filename, int flags); * We Import its here * This File should be the last included */ -/* From rpmlead.h */ - -#ifndef _H_RPMLEAD - -rpmRC writeLead(FD_t fd, const struct rpmlead *lead); -rpmRC readLead(FD_t fd, struct rpmlead *lead); - -#endif /* _H_RPMLEAD */ - /* From signature.h */ #ifndef H_SIGNATURE @@ -48,7 +39,7 @@ rpmRC rpmReadSignature(FD_t fd, Header *sighp, int rpmWriteSignature(FD_t fd, Header h); int rpmAddSignature(Header sig, const char * file, - int_32 sigTag, const char * passPhrase); + int32_t sigTag, const char * passPhrase); #define RPMLOOKUPSIG_QUERY 0 /*!< Lookup type in effect */ #define RPMLOOKUPSIG_DISABLE 1 /*!< Disable (--sign was not given) */ @@ -71,10 +62,10 @@ const char * rpmDetectPGPVersion(pgpVersion * pgpVer); */ typedef /*@abstract@*/ struct entryInfo_s * entryInfo; struct entryInfo_s { - int_32 tag; /*!< Tag identifier. */ - int_32 type; /*!< Tag data type. */ - int_32 offset; /*!< Offset into data segment (ondisk only). */ - int_32 count; /*!< Number of tag elements. */ + int32_t tag; /*!< Tag identifier. */ + int32_t type; /*!< Tag data type. */ + int32_t offset; /*!< Offset into data segment (ondisk only). */ + int32_t count; /*!< Number of tag elements. */ }; /** \ingroup header |