Go to the documentation of this file.00001 #ifndef H_RPMAL
00002 #define H_RPMAL
00003
00009 #include <rpmfi.h>
00010
00011
00012
00013 extern int _rpmal_debug;
00014
00015
00019 typedef void * alKey;
00020 #define RPMAL_NOMATCH ((alKey)-1L)
00021
00025
00026 typedef int alNum;
00027
00028
00031 typedef struct rpmal_s * rpmal;
00032
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036
00042
00043
00044 rpmal rpmalCreate(int delta)
00045 ;
00046
00047
00053
00054 rpmal rpmalFree( rpmal al)
00055
00056 ;
00057
00063
00064 void rpmalDel( rpmal al, alKey pkgKey)
00065
00066 ;
00067
00068
00079 alKey rpmalAdd(rpmal * alistp,
00080 alKey pkgKey,
00081 fnpyKey key,
00082 rpmds provides, rpmfi fi,
00083 rpmuint32_t tscolor)
00084
00085 ;
00086
00094
00095 void rpmalAddProvides(rpmal al,
00096 alKey pkgKey,
00097 rpmds provides, rpmuint32_t tscolor)
00098 ;
00099
00100
00105 void rpmalMakeIndex( rpmal al)
00106 ;
00107
00115
00116
00117 fnpyKey * rpmalAllFileSatisfiesDepend( const rpmal al,
00118 const rpmds ds, alKey * keyp)
00119
00120 ;
00121
00122
00130
00131 fnpyKey * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds,
00132 alKey * keyp)
00133
00134 ;
00135
00144
00145 fnpyKey rpmalSatisfiesDepend(const rpmal al, const rpmds ds,
00146 alKey * keyp)
00147
00148 ;
00149
00150 #ifdef __cplusplus
00151 }
00152 #endif
00153
00154 #endif