summaryrefslogtreecommitdiff
path: root/db/doc.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-15 18:35:51 -0300
committerWerner Almesberger <werner@almesberger.net>2016-10-15 18:35:51 -0300
commitdbbf05c1d3adbc5a26bdaf5ca1237f7c3cea342a (patch)
treeb606c3fa37f1abc910e27c501f4e4f74ce8546b7 /db/doc.h
parent691128f611669cad769f8a1b7a15406704741019 (diff)
downloadeeshow-dbbf05c1d3adbc5a26bdaf5ca1237f7c3cea342a.tar.gz
eeshow-dbbf05c1d3adbc5a26bdaf5ca1237f7c3cea342a.tar.bz2
eeshow-dbbf05c1d3adbc5a26bdaf5ca1237f7c3cea342a.zip
db/doc.c: documentation reference database
The format is intended mainly for machine-generation.
Diffstat (limited to 'db/doc.h')
-rw-r--r--db/doc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/db/doc.h b/db/doc.h
new file mode 100644
index 0000000..bd48e9a
--- /dev/null
+++ b/db/doc.h
@@ -0,0 +1,26 @@
+/*
+ * db/doc.h - Documentation database
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef DB_DOC_H
+#define DB_DOC_H
+
+#include <stdbool.h>
+
+#include "file/file.h"
+
+
+bool doc_find(const char *ref,
+ void (*fn)(void *user, const char *tag, const char *s), void *user);
+bool doc_load(const char *name, const struct file *related);
+void doc_free(void);
+
+#endif /* !DB_DOC_H */