Changeset 180ab31 for set.h


Ignore:
Timestamp:
2010-08-21T19:34:17Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a758ec1
Parents:
5613af7
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.h

    r5613af7 r180ab31  
    4343extern char *SET_INVALID;
    4444
    45 #define SET_NULL_OK        0x0100
     45typedef enum
     46{
     47        SET_NULL_OK = 0x0100,
     48        SET_HIDDEN = 0x0200,
     49} set_flags_t;
    4650
    4751typedef struct set
     
    6064                           set_getstr/int(). */
    6165       
    62         int flags;      /* See account.h, for example. set.c doesn't use
    63                            this (yet?). */
     66        set_flags_t flags; /* Mostly defined per user. */
    6467       
    6568        /* Eval: Returns SET_INVALID if the value is incorrect, exactly
Note: See TracChangeset for help on using the changeset viewer.