diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-07-01 17:52:05 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-07-01 17:52:05 +0200 |
commit | 5100caa16bb707d89f1873aca99b5f87abc1dd56 (patch) | |
tree | cb07ef3e313f9d6f4f5feb2231176c5e9a2a7a2a /set.h | |
parent | 0a3c243b6659dc10efb227e507f324c2711d6dcd (diff) |
Added "account set" command.
Diffstat (limited to 'set.h')
-rw-r--r-- | set.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -31,6 +31,8 @@ typedef struct set char *value; char *def; /* Default */ + int flags; + /* Eval: Returns NULL if the value is incorrect or exactly the passed value variable. When returning a corrected value, set_setstr() should be able to free() the returned string! */ @@ -39,7 +41,7 @@ typedef struct set } set_t; set_t *set_add( set_t **head, char *key, char *def, void *eval, void *data ); -G_MODULE_EXPORT set_t *set_find( set_t **head, char *key ); +set_t *set_find( set_t **head, char *key ); G_MODULE_EXPORT char *set_getstr( set_t **head, char *key ); G_MODULE_EXPORT int set_getint( set_t **head, char *key ); int set_setstr( set_t **head, char *key, char *value ); |