]> mj.ucw.cz Git - moe.git/blob - sherlock/conf.h
Updated libucw to current version (Sherlock commit 17f29eb1ab186e9f053299c25f47ce368e...
[moe.git] / sherlock / conf.h
1 /*
2  *      Sherlock Library -- Configuration Parsing Helpers
3  *
4  *      (c) 2006 Martin Mares <mj@ucw.cz>
5  *      (c) 2006 Robert Spalek <robert@ucw.cz>
6  *
7  *      This software may be freely distributed and used according to the terms
8  *      of the GNU Lesser General Public License.
9  */
10
11 #ifndef _SHERLOCK_CONF_H
12 #define _SHERLOCK_CONF_H
13
14 #include "ucw/conf.h"
15
16 /* All of the following objects are defined in conf-parse.c
17  *
18  * Object names */
19
20 extern struct cf_user_type cf_type_attr, cf_type_attr_sub;
21
22 /* Unicode character and ranges */
23
24 struct unirange {
25   u16 min, max;
26 };
27
28 extern struct cf_user_type cf_type_unirange;
29 extern struct cf_user_type cf_type_unichar;
30
31 /* Unsigned integer ranges */
32
33 struct unsrange {
34   uns min, max;
35 };
36
37 extern struct cf_user_type cf_type_unsrange;
38
39 /* Sections for (word|meta|string)-types */
40 void cf_generate_word_type_config(struct cf_section *sec, byte **names, uns multiple, uns just_u8);
41
42 #endif