Changeset 823de9d for set.h


Ignore:
Timestamp:
2009-03-12T19:10:06Z (15 years ago)
Author:
Sven Moritz Hallberg <pesco@…>
Branches:
master
Children:
673a54c
Parents:
9b55485
Message:

commit updates by ashish shukla <wahjava@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.h

    r9b55485 r823de9d  
    4444typedef char *(*set_eval) ( struct set *set, char *value );
    4545
     46extern char *SET_INVALID;
     47
     48#define SET_NULL_OK        0x0100
     49
    4650typedef struct set
    4751{
     
    6165                           this (yet?). */
    6266       
    63         /* Eval: Returns NULL if the value is incorrect or exactly the
    64            passed value variable. When returning a corrected value,
     67        /* Eval: Returns SET_INVALID if the value is incorrect or exactly
     68           the passed value variable. When returning a corrected value,
    6569           set_setstr() should be able to free() the returned string! */
    6670        set_eval eval;
     
    8892int set_setint( set_t **head, char *key, int value );
    8993void set_del( set_t **head, char *key );
    90 void set_reset( set_t **head, char *key );
     94int set_reset( set_t **head, char *key );
    9195
    9296/* Two very useful generic evaluators. */
Note: See TracChangeset for help on using the changeset viewer.