chiark / gitweb /
notes, hisdump.[ch]: found wip.archive-data-diff
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 2 Apr 2011 19:26:37 +0000 (20:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 2 Apr 2011 19:26:37 +0000 (20:26 +0100)
yarrg/hisdump-intern.h [new file with mode: 0644]
yarrg/hisdump.h [new file with mode: 0644]
yarrg/notes

diff --git a/yarrg/hisdump-intern.h b/yarrg/hisdump-intern.h
new file mode 100644 (file)
index 0000000..4acab41
--- /dev/null
@@ -0,0 +1,3 @@
+struct HisdumpCommon {
+  
+};
diff --git a/yarrg/hisdump.h b/yarrg/hisdump.h
new file mode 100644 (file)
index 0000000..1187cb0
--- /dev/null
@@ -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;
+
index b8e56352a1314051c6ef8cb79aa2cdb8ef3f3a9b..eb845659e52f2238205963c459d8c606e02cd150 100644 (file)
@@ -75,7 +75,8 @@ files
   ARCHIVE-<ocean>-chron-<islandid>-<%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*