Changes in / [dd8d4c5:8e419cb]
- Files:
-
- 4 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
rdd8d4c5 r8e419cb 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
rdd8d4c5 r8e419cb 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 storage.o storage_text.o unix.o url.o user.o util.o12 objects = account.o bitlbee.o commands.o crypting.o help.o ini.o irc.o nick.o query.o set.o storage.o storage_text.o url.o user.o util.o 13 13 subdirs = protocols 14 15 ifeq ($(ARCH),Windows) 16 objects += win32.o 17 else 18 objects += unix.o conf.o log.o 19 endif 14 20 15 21 # Expansion of variables -
bitlbee.c
rdd8d4c5 r8e419cb 149 149 return( 1 ); 150 150 151 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );152 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );153 154 151 return( 0 ); 155 152 } -
bitlbee.h
rdd8d4c5 r8e419cb 48 48 #include <stdio.h> 49 49 #include <ctype.h> 50 #include <errno.h> 51 50 52 #ifndef _WIN32 51 53 #include <syslog.h> 52 #include <errno.h>53 54 #endif 54 55 … … 75 76 #undef strncasecmp 76 77 #define strncasecmp __PLEASE_USE_G_STRNCASECMP_INSTEAD__ 77 78 #ifndef F_OK79 #define F_OK 080 #endif81 78 82 79 #define _( x ) x -
configure
rdd8d4c5 r8e419cb 58 58 --ipv6=0/1 IPv6 socket support $ipv6 59 59 60 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto)60 --ssl=... SSL library to use (gnutls, nss, openssl, sspi, bogus, auto) 61 61 $ssl 62 62 EOF … … 216 216 elif [ "$ssl" = "nss" ]; then 217 217 detect_nss; 218 elif [ "$ssl" = "sspi" ]; then 219 echo 218 220 elif [ "$ssl" = "openssl" ]; then 219 221 echo -
protocols/nogaim.h
rdd8d4c5 r8e419cb 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 -
sock.h
rdd8d4c5 r8e419cb 21 21 #else 22 22 # include <winsock2.h> 23 # ifndef _MSC_VER24 # include <ws2tcpip.h>25 # endif26 23 # if !defined(BITLBEE_CORE) && defined(_MSC_VER) 27 24 # pragma comment(lib,"bitlbee.lib") … … 30 27 # define read(a,b,c) recv(a,b,c,0) 31 28 # define write(a,b,c) send(a,b,c,0) 32 # define umask _umask33 # define mode_t int34 29 # define sock_make_nonblocking(fd) { int non_block = 1; ioctlsocket(fd, FIONBIO, &non_block); } 35 30 # define sock_make_blocking(fd) { int non_block = 0; ioctlsocket(fd, FIONBIO, &non_block); } -
storage_text.c
rdd8d4c5 r8e419cb 27 27 #include "bitlbee.h" 28 28 #include "crypting.h" 29 #ifdef _WIN32 30 # define umask _umask 31 # define mode_t int 32 #endif 33 34 #ifndef F_OK 35 #define F_OK 0 36 #endif 29 37 30 38 /* DO NOT USE THIS FUNCTION IN NEW CODE. This -
unix.c
rdd8d4c5 r8e419cb 62 62 if( global.conf->runmode == RUNMODE_INETD ) 63 63 { 64 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC ); 65 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC ); 66 64 67 i = bitlbee_inetd_init(); 65 68 log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION ); … … 68 71 else if( global.conf->runmode == RUNMODE_DAEMON ) 69 72 { 73 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG ); 74 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG ); 75 70 76 i = bitlbee_daemon_init(); 71 77 log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION );
Note: See TracChangeset
for help on using the changeset viewer.