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 
00064 alKey rpmalAdd(rpmal * alistp,
00065                   alKey pkgKey,
00066                   fnpyKey key,
00067                  rpmds provides,  rpmfi fi,
00068                 uint_32 tscolor)
00069         
00070         ;
00071 
00079 
00080 void rpmalAddProvides(rpmal al,
00081                   alKey pkgKey,
00082                  rpmds provides, uint_32 tscolor)
00083         ;
00084 
00085 
00090 void rpmalMakeIndex( rpmal al)
00091         ;
00092 
00100 
00101  
00102 fnpyKey * rpmalAllFileSatisfiesDepend( const rpmal al,
00103                  const rpmds ds,  alKey * keyp)
00104         
00105         ;
00106 
00107 
00115  
00116 fnpyKey * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds,
00117                  alKey * keyp)
00118         
00119         ;
00120 
00129 
00130 fnpyKey rpmalSatisfiesDepend(const rpmal al, const rpmds ds,
00131                  alKey * keyp)
00132         
00133         ;
00134 
00135 #ifdef __cplusplus
00136 }
00137 #endif
00138 
00139 #endif