diff options
author | Nick White <arch@njw.me.uk> | 2007-04-30 08:34:43 +0000 |
---|---|---|
committer | Nick White <arch@njw.me.uk> | 2007-04-30 08:34:43 +0000 |
commit | 1edf37e3b0ad7b0556ba0902b5880044933ced66 (patch) | |
tree | 13447080a2c59a6345fa26301e365fcbb7b8ad4d /issue.h | |
parent | 1f0a1fd57bd1dbddab4ad189a721fbe67f59ca3a (diff) |
Removed last of static issue array code, added sorting
Removed defined constants from issue.h previously used to
determine size of static arrays
Removed unused separate show media structure function
Remove clean media & clean issue functions
Added issue sorting code
git-archimport-id: getht@sv.gnu.org/getht--mainline--0.1--patch-22
Diffstat (limited to 'issue.h')
-rw-r--r-- | issue.h | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -19,10 +19,6 @@ * */ -#define SEC_NO 5 -#define ITEM_NO 30 -#define MED_NO 2 - /* all sizes are in bytes and are child-inclusive */ typedef struct @@ -73,6 +69,9 @@ typedef struct iss ** parsetoc(char *filepath, int * iss_no, int * latest); iss ** parsemedia(char * filepath, iss ** issue, int * no_of_issues); -iss ** assignnew_iss(int *no_of_issues, iss ** issue); -sec ** assignnew_sec(int *no_of_sections, sec ** section); -it ** assignnew_it(int * no_of_items, it ** item); +med ** parsemediagz(char * media_path, int * no_of_media); + +iss ** assignnew_iss(iss ** issue, int *no_of_issues); +sec ** assignnew_sec(sec ** section, int * no_of_sections); +it ** assignnew_it(it ** item, int * no_of_items); +med ** assignnew_med(med ** media, int * no_of_media); |