00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef librpm_h
00022 #define librpm_h
00023
00024 extern "C" {
00025 #include <rpm/rpmlib.h>
00026 #include <rpm/rpmmacro.h>
00027 #include <rpm/rpmdb.h>
00028 #include <rpm/rpmts.h>
00029 #include <fcntl.h>
00030 }
00031
00033
00034
00035
00037 extern "C" {
00038 typedef struct X_FDSTACK_s {
00039 FDIO_t io;
00040 void * fp;
00041 int fdno;
00042 } XFDSTACK_t;
00043
00044 struct X_FD_s {
00045 int nrefs;
00046 int flags;
00047 int magic;
00048 #define XFDMAGIC 0x04463138
00049 int nfps;
00050 XFDSTACK_t fps[8];
00051 };
00052 }
00053
00055
00056
00057
00059 extern "C" {
00060 #include <netinet/in.h>
00061
00062
00063 struct entryInfo {
00064 int_32 tag;
00065 int_32 type;
00066 int_32 offset;
00067
00068 int_32 count;
00069 };
00070 }
00071
00072 #endif // librpm_h