diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-21 20:34:17 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-21 20:34:17 +0100 |
commit | 180ab31c09a9990a135b78fd6d52de5b093550f2 (patch) | |
tree | 9dbe34973631c6ade89190bfeb78f151a05fa982 /set.h | |
parent | 5613af716212defcf5ee51f8dc13525f54323382 (diff) |
Added some neat whatsnew code that keeps track of the newest version of
BitlBee used by a user, and if it looks like s/he hasn't used this one
before, show a list of new features that may be interesting.
Since I don't think im.bitlbee.org users will read any changelogs ever,
this is probably not a bad idea. If you hate it, the following command
should get rid of it forever: set last_version 9999999
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 |