00001 #ifndef H_RPMAL
00002 #define H_RPMAL
00003
00009
00010
00011 extern int _rpmal_debug;
00012
00013
00016 typedef struct rpmal_s * rpmal;
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00027
00028
00029 rpmal rpmalCreate(int delta)
00030 ;
00031
00032
00038
00039 rpmal rpmalFree( rpmal al)
00040
00041 ;
00042
00048
00049 void rpmalDel( rpmal al, alKey pkgKey)
00050
00051 ;
00052
00053
00063 alKey rpmalAdd(rpmal * alistp,
00064 alKey pkgKey,
00065 fnpyKey key,
00066 rpmds provides, rpmfi fi)
00067
00068 ;
00069
00076
00077 void rpmalAddProvides(rpmal al,
00078 alKey pkgKey,
00079 rpmds provides)
00080 ;
00081
00082
00087 void rpmalMakeIndex( rpmal al)
00088 ;
00089
00097
00098
00099 fnpyKey * rpmalAllFileSatisfiesDepend( const rpmal al,
00100 const rpmds ds, alKey * keyp)
00101
00102 ;
00103
00104
00112
00113 fnpyKey * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds,
00114 alKey * keyp)
00115
00116 ;
00117
00126
00127 fnpyKey rpmalSatisfiesDepend(const rpmal al, const rpmds ds,
00128 alKey * keyp)
00129
00130 ;
00131
00132 #ifdef __cplusplus
00133 }
00134 #endif
00135
00136 #endif