- Timestamp:
- 2006-08-24T22:06:52Z (17 years ago)
- Branches:
- master
- Children:
- 8320a7a
- Parents:
- 9829ae0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
set.h
r9829ae0 r0383943 34 34 NULL, or replace it by returning a new value. See struct set.eval. */ 35 35 36 typedef char *(*set_eval) ( struct set *set, char *value ); 37 36 38 typedef struct set 37 39 { … … 52 54 passed value variable. When returning a corrected value, 53 55 set_setstr() should be able to free() the returned string! */ 54 char *(*eval) ( struct set *set, char *value );56 set_eval eval; 55 57 struct set *next; 56 58 } set_t; 57 59 58 60 /* Should be pretty clear. */ 59 set_t *set_add( set_t **head, char *key, char *def, void *eval, void *data );61 set_t *set_add( set_t **head, char *key, char *def, set_eval eval, void *data ); 60 62 61 63 /* Returns the raw set_t. Might be useful sometimes. */
Note: See TracChangeset
for help on using the changeset viewer.