From: Ian Jackson Date: Sat, 2 Apr 2011 19:26:37 +0000 (+0100) Subject: notes, hisdump.[ch]: found X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=6f2091fcd6007bda81b755e3195b2363786ba848;p=ypp-sc-tools.git notes, hisdump.[ch]: found --- diff --git a/yarrg/hisdump-intern.h b/yarrg/hisdump-intern.h new file mode 100644 index 0000000..4acab41 --- /dev/null +++ b/yarrg/hisdump-intern.h @@ -0,0 +1,3 @@ +struct HisdumpCommon { + +}; diff --git a/yarrg/hisdump.h b/yarrg/hisdump.h new file mode 100644 index 0000000..1187cb0 --- /dev/null +++ b/yarrg/hisdump.h @@ -0,0 +1,29 @@ +/**/ + +typedef enum { + His_DoesNotExist; +} HisdumpError; + +typedef struct HisdumpCommon HisdumpCommon; + +HisdumpError hisdump_init(const char *dir, HisdumpCommon **his_r); +HisdumpError hisdump_acquire(HisdumpCommon *his, HisdumpOcean **oc_r); + +typedef struct { + int id; + char *name; +} HisdumpIsle; + +HisdumpError hisdump_isles(HisdumpOcean *oc, ); + + + + + + +typedef struct HisdumpReporter HisdumpReporter; +struct HisdumpReporter { + void (*err)(HisdumpReporter*, Hisdump + const char *fmt, va_list al); +} HisdumpReporter; + diff --git a/yarrg/notes b/yarrg/notes index b8e5635..eb84565 100644 --- a/yarrg/notes +++ b/yarrg/notes @@ -75,7 +75,8 @@ files ARCHIVE--chron--<%4d>.yarga.gz created in place; valid only if main mentions it refers to commods and auxils in this file only - however commods must be the same as those in common + however commods must be a subset of and the same + as those in common contains gzipped data for: magic, commod*, auxil*, diff*