Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/woip/c/wp.h
diff options
context:
space:
mode:
Diffstat (limited to 'woip/c/wp.h')
-rw-r--r--woip/c/wp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/woip/c/wp.h b/woip/c/wp.h
new file mode 100644
index 0000000..65e6f13
--- /dev/null
+++ b/woip/c/wp.h
@@ -0,0 +1,18 @@
+#include <stdio.h>
+#include "lsearcher.h"
+#include "bzipreader.h"
+
+#define START_HEADING 1
+#define START_TEXT 2
+#define END_TEXT 3
+
+typedef struct {
+ char *text;
+ int block;
+} wp_article;
+
+typedef struct {
+ FILE *fp;
+ uint64_t *block_map;
+ lindex index;
+} wp_dump;