Added a nmem-handle to the http_session to simplify MM. Used to allocate session-
[pazpar2-moved-to-github.git] / src / settings.h
index 858b4af..86f955f 100644 (file)
@@ -1,6 +1,30 @@
 #ifndef SETTINGS_H
 #define SETTINGS_H
 
+#define PZ_PIGGYBACK      0
+#define PZ_ELEMENTS       1
+#define PZ_SYNTAX         2
+#define PZ_CCLMAP         3
+#define PZ_ENCODING       4
+#define PZ_XSLT           5
+#define PZ_NATIVESYNTAX   6
+#define PZ_AUTHENTICATION 7
+#define PZ_ALLOW          8
+#define PZ_MAXRECS        9
+
+struct setting
+{
+    int precedence;
+    char *target;
+    char *name;
+    char *value;
+    char *user;
+    struct setting *next;
+};
+
+void settings_read(const char *path);
+int settings_offset(const char *name);
+
 #endif
 
 /*