Debian Codegraph @

utils/opt.h

raw
1 typedef struct opt_struct *Opt;
2
3 Opt opt_create (void);
4
5 void opt_destroy (Opt o);
6
7 char *opt_csv (Opt o);
8
9 int opt_addf (Opt o, const char *fmt, ...)
10 __attribute__ ((format (printf, 2, 3)));
11
12 char *opt_find (Opt o, char *key);
13
14 int opt_delete (Opt o, char *key);
15
16 int opt_scanf (Opt o, const char *fmt, ...)
17 __attribute__ ((format (scanf, 2, 3)));
18
19 int opt_check_allowed_csv (Opt o, const char *s);
20
21
22 /*
23 * vi:tabstop=4 shiftwidth=4 expandtab
24 */