diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-04-03 13:07:42 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-04-03 13:07:42 +0300 |
commit | 26ac9b3d9417fec67b49c4434c205f3232a36c1b (patch) | |
tree | d28234a1cd134e4c1545c8b89f6a06ede0684f6d /lib/rpmal.h | |
parent | c40f6d5dcabfe0b68b830d96b01eaedac0b2d18d (diff) | |
download | librpm-tizen-26ac9b3d9417fec67b49c4434c205f3232a36c1b.tar.gz librpm-tizen-26ac9b3d9417fec67b49c4434c205f3232a36c1b.tar.bz2 librpm-tizen-26ac9b3d9417fec67b49c4434c205f3232a36c1b.zip |
Make rpmal header & all internal
- rpmal is hardly useful outside rpm itself, avoid exporting stuff
unnecessarily
Diffstat (limited to 'lib/rpmal.h')
-rw-r--r-- | lib/rpmal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/rpmal.h b/lib/rpmal.h index 92d6daa4f..ffa9d5bf7 100644 --- a/lib/rpmal.h +++ b/lib/rpmal.h @@ -14,12 +14,16 @@ extern "C" { extern int _rpmal_debug; +typedef struct rpmal_s * rpmal; +typedef void * rpmalKey; + /** * Initialize available packckages, items, and directory list. * @param delta no. of entries to add on each realloc * @param tscolor transaction color bits * @return al new available list */ +RPM_GNUC_INTERNAL rpmal rpmalCreate(int delta, rpm_color_t tscolor); /** @@ -27,6 +31,7 @@ rpmal rpmalCreate(int delta, rpm_color_t tscolor); * @param al available list * @return NULL always */ +RPM_GNUC_INTERNAL rpmal rpmalFree(rpmal al); /** @@ -34,6 +39,7 @@ rpmal rpmalFree(rpmal al); * @param al available list * @param p package */ +RPM_GNUC_INTERNAL void rpmalDel(rpmal al, rpmte p); /** @@ -42,6 +48,7 @@ void rpmalDel(rpmal al, rpmte p); * @param p package * @return available package index */ +RPM_GNUC_INTERNAL void rpmalAdd(rpmal al, rpmte p); @@ -49,6 +56,7 @@ void rpmalAdd(rpmal al, * Generate index for available list. * @param al available list */ +RPM_GNUC_INTERNAL void rpmalMakeIndex(rpmal al); /** @@ -57,6 +65,7 @@ void rpmalMakeIndex(rpmal al); * @param ds dependency set * @return associated package(s), NULL if none */ +RPM_GNUC_INTERNAL rpmte * rpmalAllFileSatisfiesDepend(const rpmal al, const rpmds ds); /** @@ -66,6 +75,7 @@ rpmte * rpmalAllFileSatisfiesDepend(const rpmal al, const rpmds ds); * @retval keyp added package key pointer (or NULL) * @return associated package(s), NULL if none */ +RPM_GNUC_INTERNAL rpmte * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds); /** @@ -75,6 +85,7 @@ rpmte * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds); * @param ds dependency set * @return associated package key, NULL if none */ +RPM_GNUC_INTERNAL rpmte rpmalSatisfiesDepend(const rpmal al, const rpmds ds); #ifdef __cplusplus |