diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-21 23:42:01 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-21 23:42:01 +0100 | 
| commit | 4022b686cce05eb9a42b744335abd09d5ae7d0f0 (patch) | |
| tree | fe827cdf6aef1fe7c3e9d0458848be3edda60ea1 /set.h | |
| parent | 327af51a28fe292cfc4a68caa086a13175a69719 (diff) | |
| parent | c00dd7117be2a5fda92d6f7d72b0e4e54fa5d615 (diff) | |
Merge mainline.
Diffstat (limited to 'set.h')
| -rw-r--r-- | set.h | 9 | 
1 files changed, 6 insertions, 3 deletions
@@ -42,7 +42,11 @@ typedef char *(*set_eval) ( struct set *set, char *value );  extern char *SET_INVALID; -#define SET_NULL_OK        0x0100 +typedef enum +{ +	SET_NULL_OK = 0x0100, +	SET_HIDDEN = 0x0200, +} set_flags_t;  typedef struct set  { @@ -59,8 +63,7 @@ typedef struct set  	                   In fact, you should only read values using  	                   set_getstr/int(). */ -	int flags;      /* See account.h, for example. set.c doesn't use -	                   this (yet?). */ +	set_flags_t flags; /* Mostly defined per user. */  	/* Eval: Returns SET_INVALID if the value is incorrect, exactly  	   the passed value variable, or a corrected value. In case of  | 
