Main Page Modules Data Structures File List Data Fields Globals Related Pages

# lib/rpmal.h

Go to the documentation of this file.

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