Changeset 0383943 for set.h


Ignore:
Timestamp:
2006-08-24T22:06:52Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8320a7a
Parents:
9829ae0
Message:

Added message on successful creation of accounts and fixed "set password"
command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.h

    r9829ae0 r0383943  
    3434   NULL, or replace it by returning a new value. See struct set.eval. */
    3535
     36typedef char *(*set_eval) ( struct set *set, char *value );
     37
    3638typedef struct set
    3739{
     
    5254           passed value variable. When returning a corrected value,
    5355           set_setstr() should be able to free() the returned string! */
    54         char *(*eval) ( struct set *set, char *value );
     56        set_eval eval;
    5557        struct set *next;
    5658} set_t;
    5759
    5860/* Should be pretty clear. */
    59 set_t *set_add( set_t **head, char *key, char *def, void *eval, void *data );
     61set_t *set_add( set_t **head, char *key, char *def, set_eval eval, void *data );
    6062
    6163/* Returns the raw set_t. Might be useful sometimes. */
Note: See TracChangeset for help on using the changeset viewer.