From 6f2091fcd6007bda81b755e3195b2363786ba848 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 2 Apr 2011 20:26:37 +0100 Subject: [PATCH] notes, hisdump.[ch]: found --- yarrg/hisdump-intern.h | 3 +++ yarrg/hisdump.h | 29 +++++++++++++++++++++++++++++ yarrg/notes | 3 ++- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 yarrg/hisdump-intern.h create mode 100644 yarrg/hisdump.h 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* -- 2.30.2