diff options
author | jbj <devnull@localhost> | 2002-05-27 18:12:12 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-05-27 18:12:12 +0000 |
commit | 259bb824ccefadfc9a53f8307b3fc01f5324b5fa (patch) | |
tree | 17f02833c44f49fd52bcd79508851aad7d9a93be /lib/rpmal.h | |
parent | ca60c30e3a048234fa3e6736d3145af6128b6f8c (diff) | |
download | librpm-tizen-259bb824ccefadfc9a53f8307b3fc01f5324b5fa.tar.gz librpm-tizen-259bb824ccefadfc9a53f8307b3fc01f5324b5fa.tar.bz2 librpm-tizen-259bb824ccefadfc9a53f8307b3fc01f5324b5fa.zip |
Add rpmal bindings, Grand Renaming to rpmalFoo().
CVS patchset: 5450
CVS date: 2002/05/27 18:12:12
Diffstat (limited to 'lib/rpmal.h')
-rw-r--r-- | lib/rpmal.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/lib/rpmal.h b/lib/rpmal.h index 35094a7aa..3831892e2 100644 --- a/lib/rpmal.h +++ b/lib/rpmal.h @@ -6,7 +6,12 @@ * Structures used for managing added/available package lists. */ -typedef /*@abstract@*/ struct availableList_s * availableList; +/*@unchecked@*/ +extern int _rpmal_debug; + +/** + */ +typedef /*@abstract@*/ struct rpmal_s * rpmal; #ifdef __cplusplus { @@ -19,7 +24,7 @@ typedef /*@abstract@*/ struct availableList_s * availableList; */ /*@-exportlocal@*/ /*@only@*/ -availableList alCreate(int delta) +rpmal rpmalCreate(int delta) /*@*/; /*@=exportlocal@*/ @@ -29,7 +34,7 @@ availableList alCreate(int delta) * @return NULL always */ /*@null@*/ -availableList alFree(/*@only@*/ /*@null@*/ availableList al) +rpmal rpmalFree(/*@only@*/ /*@null@*/ rpmal al) /*@modifies al @*/; /** @@ -38,7 +43,7 @@ availableList alFree(/*@only@*/ /*@null@*/ availableList al) * @param pkgKey package key */ /*@-exportlocal@*/ -void alDelPackage(/*@null@*/ availableList al, /*@null@*/ alKey pkgKey) +void rpmalDel(/*@null@*/ rpmal al, /*@null@*/ alKey pkgKey) /*@modifies al @*/; /*@=exportlocal@*/ @@ -51,7 +56,7 @@ void alDelPackage(/*@null@*/ availableList al, /*@null@*/ alKey pkgKey) * @param fi file info set * @return available package index */ -alKey alAddPackage(availableList * alistp, +alKey rpmalAdd(rpmal * alistp, /*@dependent@*/ /*@null@*/ alKey pkgKey, /*@dependent@*/ /*@null@*/ fnpyKey key, /*@null@*/ rpmds provides, /*@null@*/ rpmfi fi) @@ -64,7 +69,7 @@ alKey alAddPackage(availableList * alistp, * @param provides added package provides */ /*@-exportlocal@*/ -void alAddProvides(availableList al, +void rpmalAddProvides(rpmal al, /*@dependent@*/ /*@null@*/ alKey pkgKey, /*@null@*/ rpmds provides) /*@modifies al, provides @*/; @@ -74,7 +79,7 @@ void alAddProvides(availableList al, * Generate index for available list. * @param al available list */ -void alMakeIndex(/*@null@*/ availableList al) +void rpmalMakeIndex(/*@null@*/ rpmal al) /*@modifies al @*/; /** @@ -86,7 +91,7 @@ void alMakeIndex(/*@null@*/ availableList al) */ /*@-exportlocal@*/ /*@only@*/ /*@null@*/ -fnpyKey * alAllFileSatisfiesDepend(/*@null@*/ const availableList al, +fnpyKey * rpmalAllFileSatisfiesDepend(/*@null@*/ const rpmal al, /*@null@*/ const rpmds ds, /*@null@*/ alKey * keyp) /*@globals fileSystem @*/ /*@modifies al, *keyp, fileSystem @*/; @@ -100,7 +105,7 @@ fnpyKey * alAllFileSatisfiesDepend(/*@null@*/ const availableList al, * @return associated package key(s), NULL if none */ /*@only@*/ /*@null@*/ -fnpyKey * alAllSatisfiesDepend(const availableList al, const rpmds ds, +fnpyKey * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds, /*@null@*/ alKey * keyp) /*@globals fileSystem @*/ /*@modifies al, *keyp, fileSystem @*/; @@ -113,7 +118,7 @@ fnpyKey * alAllSatisfiesDepend(const availableList al, const rpmds ds, * @retval keyp added package key pointer (or NULL) * @return associated package key, NULL if none */ -fnpyKey alSatisfiesDepend(const availableList al, const rpmds ds, +fnpyKey rpmalSatisfiesDepend(const rpmal al, const rpmds ds, /*@null@*/ alKey * keyp) /*@globals fileSystem @*/ /*@modifies al, *keyp, fileSystem @*/; |