aboutsummaryrefslogtreecommitdiffstats
path: root/set.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-07-01 17:52:05 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-07-01 17:52:05 +0200
commit5100caa16bb707d89f1873aca99b5f87abc1dd56 (patch)
treecb07ef3e313f9d6f4f5feb2231176c5e9a2a7a2a /set.h
parent0a3c243b6659dc10efb227e507f324c2711d6dcd (diff)
Added "account set" command.
Diffstat (limited to 'set.h')
-rw-r--r--set.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/set.h b/set.h
index 15e97b5d..4731f80a 100644
--- a/set.h
+++ b/set.h
@@ -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 );