Settings system is code complete... now to actually USE the darn things for
[pazpar2-moved-to-github.git] / src / settings.h
1 #ifndef SETTINGS_H
2 #define SETTINGS_H
3
4 #define PZ_PIGGYBACK    0 
5 #define PZ_ELEMENTS     1
6 #define PZ_SYNTAX       2
7
8 struct setting
9 {
10     int precedence;
11     char *target;
12     char *name;
13     char *value;
14     char *user;
15     struct setting *next;
16 };
17
18 void settings_read(const char *path);
19
20 #endif
21
22 /*
23  * Local variables:
24  * c-basic-offset: 4
25  * indent-tabs-mode: nil
26  * End:
27  * vim: shiftwidth=4 tabstop=8 expandtab
28  */