Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8 b/noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8 new file mode 100644 index 0000000..8d2fe27 --- a/dev/null +++ b/noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8 | |||
@@ -0,0 +1,17 @@ | |||
1 | wl_conf | ||
2 | |||
3 | #include <wellenreiter/wl_conf.hh> | ||
4 | |||
5 | int wl_checkcfg(void); | ||
6 | int wl_cfgvalue(const char *token, char *out, int maxlen); | ||
7 | |||
8 | wl_checkcfg checks whether the wellenreiter configfile exists. | ||
9 | wl_cfgvalue searches for the given token and copies maxlen | ||
10 | characters of its value to out. | ||
11 | |||
12 | wl_ckeckcfg returns 1 if the file exists and is readable and | ||
13 | 0 on error. | ||
14 | |||
15 | wl_cfgvalue returns -1 on error, 0 if nothing was found and | ||
16 | 1 on success. | ||
17 | |||