X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flp.c;h=b8c24f17f98e5e4faa121b812a3fd4bb224385d4;hb=c1699160bcf64cf0b559c713a22720183a9f8934;hp=99cf9b2d6ceb1ecd488f430c60296d1a8f40078d;hpb=967d20c38c65689c96a0276e6f916b4f8e2617de;p=ppastats.git diff --git a/src/lp.c b/src/lp.c index 99cf9b2..b8c24f1 100644 --- a/src/lp.c +++ b/src/lp.c @@ -52,7 +52,7 @@ void distro_series_free(struct distro_series *d) } } -void binary_package_publishing_history_free(struct bpph *b) +void bpph_free(struct bpph *b) { if (b) { free(b->binary_package_name); @@ -63,12 +63,11 @@ void binary_package_publishing_history_free(struct bpph *b) } } -struct bpph * -binary_package_publishing_history_new(const char *binary_package_name, - const char *binary_package_version, - const char *distro_arch_series_link, - const char *self_link, - int architecture_specific) +struct bpph *bpph_new(const char *binary_package_name, + const char *binary_package_version, + const char *distro_arch_series_link, + const char *self_link, + int architecture_specific) { struct bpph *h; @@ -83,14 +82,12 @@ binary_package_publishing_history_new(const char *binary_package_name, return h; } -void -binary_package_publishing_history_list_free\ -(struct bpph **list) +void bpph_list_free(struct bpph **list) { struct bpph **l_cur = list; while (*l_cur) { - binary_package_publishing_history_free(*l_cur); + bpph_free(*l_cur); l_cur++; }