X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flp.h;h=4c30021999393592ac46fd5730ffbc43aee280d0;hb=474ab6fa492a8b1dde963fdecb1edebc111c5fb2;hp=ee15e59d06d7073088be23cd39b3f41a3b61d3a2;hpb=12cf1b3a4702e58c5797be638ab48e899ef932a4;p=ppastats.git diff --git a/src/lp.h b/src/lp.h index ee15e59..4c30021 100644 --- a/src/lp.h +++ b/src/lp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 jeanfi@gmail.com + * Copyright (C) 2011-2015 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -91,6 +91,15 @@ struct bpph **bpph_list_append_list(struct bpph **list1, struct bpph **list2); char *get_archive_url(const char *owner, const char *ppa); -char *time_to_str(time_t t); +time_t ddts_get_last_date(struct daily_download_total **); + +struct daily_download_total ** +ddts_merge(struct daily_download_total **, + struct daily_download_total **); + +int ddts_get_count(struct daily_download_total **); + +struct daily_download_total *ddt_clone(struct daily_download_total *); +struct daily_download_total **ddts_clone(struct daily_download_total **); #endif