aboutsummaryrefslogtreecommitdiffstats
path: root/set.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2013-04-20 14:05:55 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2013-04-20 14:05:55 +0100
commite31e5b8f340a162180830dbe42dd438e59591cfd (patch)
tree029bbb166fda2e9b98a041039338835beb35a08e /set.h
parent9b2a8c10b61540c3c6892a4de7f52bf8657d455e (diff)
parentbfafb99e6162b72e0f1ca7639de05f2b7bb3b23c (diff)
Merging "storage" branch which I wrote long ago. It separates generation of
XML-formatted user configs from disk I/O so we can try to start using other mechanisms to store them (a REST API or something, for example).
Diffstat (limited to 'set.h')
-rw-r--r--set.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/set.h b/set.h
index d4915546..2a3ce4d1 100644
--- a/set.h
+++ b/set.h
@@ -44,11 +44,11 @@ extern char *SET_INVALID;
typedef enum
{
- SET_NOSAVE = 0x0001,
- SET_NULL_OK = 0x0100,
- SET_HIDDEN = 0x0200,
- SET_PASSWORD = 0x0400,
- SET_HIDDEN_DEFAULT = 0x0800,
+ SET_NOSAVE = 0x0001, /* Don't save this setting (i.e. stored elsewhere). */
+ SET_NULL_OK = 0x0100, /* set->value == NULL is allowed. */
+ SET_HIDDEN = 0x0200, /* Don't show up in setting lists. Mostly for internal storage. */
+ SET_PASSWORD = 0x0400, /* Value shows up in settings list as "********". */
+ SET_HIDDEN_DEFAULT = 0x0800, /* Hide unless changed from default. */
} set_flags_t;
typedef struct set