Changes in / [bf02a67:bd69a21]
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
rbf02a67 rbd69a21 2 2 config.h 3 3 bitlbee 4 Debug 5 Debugx 6 deps 7 admin/Debug 8 admin/admin.plg 9 bitlbee.plg 10 *.plg 11 *.aps 12 *.clw 4 13 user-guide.txt 5 14 user-guide.html -
Makefile
rbf02a67 rbd69a21 10 10 11 11 # Program variables 12 objects = account.o bitlbee.o commands.o c onf.o crypting.o help.o ini.o irc.o log.o nick.o query.o set.o unix.o url.o user.o storage_text.o storage.o12 objects = account.o bitlbee.o commands.o crypting.o help.o ini.o irc.o log.o nick.o query.o set.o url.o user.o storage_text.o storage.o 13 13 subdirs = protocols 14 15 ifeq ($(ARCH),Windows) 16 objects += win32.o 17 else 18 objects += unix.o conf.o 19 endif 14 20 15 21 # Expansion of variables -
bitlbee.c
rbf02a67 rbd69a21 54 54 GIOChannel *ch; 55 55 56 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG );57 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG );58 59 56 global.listen_socket = socket( AF_INET, SOCK_STREAM, 0 ); 60 57 if( global.listen_socket == -1 ) … … 109 106 if( !irc_new( 0 ) ) 110 107 return( 1 ); 111 112 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );113 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );114 108 115 109 return( 0 ); -
protocols/nogaim.h
rbf02a67 rbd69a21 159 159 irc_t *irc; 160 160 }; 161 162 struct ft 163 { 164 const char *filename; 165 166 /* Total number of bytes in file */ 167 size_t total_bytes; 168 169 /* Current number of bytes received */ 170 size_t cur_bytes; 171 }; 172 173 struct ft_request 174 { 175 const char *filename; 176 struct gaim_connection *gc; 177 }; 178 179 typedef void (*ft_recv_handler) (struct ft *, void *data, size_t len); 161 180 162 181 struct prpl { … … 215 234 void (* group_buddy) (struct gaim_connection *, char *who, char *old_group, char *new_group); 216 235 236 /* file transfers */ 237 struct ft_send_req *(* req_send_file) (struct gaim_connection *, const char *file); 238 void (* send_file_part) (struct gaim_connection *, struct ft*, void *data, size_t length); 239 void (* accept_recv_file) (struct gaim_connection *, struct ft*, ft_recv_handler); 240 217 241 void (* buddy_free) (struct buddy *); 218 242 -
unix.c
rbf02a67 rbd69a21 61 61 if( global.conf->runmode == RUNMODE_INETD ) 62 62 { 63 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC ); 64 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC ); 65 63 66 i = bitlbee_inetd_init(); 64 67 log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION ); … … 67 70 else if( global.conf->runmode == RUNMODE_DAEMON ) 68 71 { 72 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG ); 73 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG ); 74 69 75 i = bitlbee_daemon_init(); 70 76 log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION );
Note: See TracChangeset
for help on using the changeset viewer.