Changeset 0383943
- Timestamp:
- 2006-08-24T22:06:52Z (18 years ago)
- Branches:
- master
- Children:
- 8320a7a
- Parents:
- 9829ae0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r9829ae0 r0383943 33 33 GSList *irc_connection_list = NULL; 34 34 35 static char *passchange( irc_t *irc, void *set, char *value ) 36 { 35 static char *passchange( set_t *set, char *value ) 36 { 37 irc_t *irc = set->data; 38 37 39 irc_setpass( irc, value ); 38 40 irc_usermsg( irc, "Password successfully changed" ); -
root_commands.c
r9829ae0 r0383943 169 169 170 170 case STORAGE_OK: 171 irc_usermsg( irc, "Account successfully created" ); 171 172 irc->status |= USTATUS_IDENTIFIED; 172 173 irc_umode_set( irc, "+R", 1 ); -
set.c
r9829ae0 r0383943 26 26 #include "bitlbee.h" 27 27 28 set_t *set_add( set_t **head, char *key, char *def, void *eval, void *data )28 set_t *set_add( set_t **head, char *key, char *def, set_eval eval, void *data ) 29 29 { 30 30 set_t *s = set_find( head, key ); -
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.