Changes in / [a4dc9f7:9a1555d]
- Files:
-
- 4 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
ra4dc9f7 r9a1555d 2 2 config.h 3 3 bitlbee 4 Debug5 Debugx6 deps7 admin/Debug8 admin/admin.plg9 bitlbee.plg10 *.plg11 *.aps12 *.clw13 4 user-guide.txt 14 5 user-guide.html -
Makefile
ra4dc9f7 r9a1555d 10 10 11 11 # Program variables 12 objects = account.o bitlbee.o c rypting.o help.o ini.o ipc.o irc.o irc_commands.o nick.o query.o root_commands.o set.o storage.o storage_text.o url.o user.o util.o12 objects = account.o bitlbee.o conf.o crypting.o help.o ini.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_text.o unix.o url.o user.o util.o 13 13 subdirs = protocols 14 15 ifeq ($(ARCH),Windows)16 objects += win32.o17 else18 objects += unix.o conf.o log.o19 endif20 14 21 15 # Expansion of variables -
bitlbee.c
ra4dc9f7 r9a1555d 141 141 return( 1 ); 142 142 143 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC ); 144 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC ); 145 143 146 return( 0 ); 144 147 } -
bitlbee.h
ra4dc9f7 r9a1555d 48 48 #include <stdio.h> 49 49 #include <ctype.h> 50 #include <errno.h>51 52 50 #ifndef _WIN32 53 51 #include <syslog.h> 52 #include <errno.h> 54 53 #endif 55 54 … … 76 75 #undef strncasecmp 77 76 #define strncasecmp __PLEASE_USE_G_STRNCASECMP_INSTEAD__ 77 78 #ifndef F_OK 79 #define F_OK 0 80 #endif 78 81 79 82 #define _( x ) x -
configure
ra4dc9f7 r9a1555d 62 62 --ipv6=0/1 IPv6 socket support $ipv6 63 63 64 --ssl=... SSL library to use (gnutls, nss, openssl, sspi,bogus, auto)64 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) 65 65 $ssl 66 66 EOF … … 225 225 elif [ "$ssl" = "nss" ]; then 226 226 detect_nss; 227 elif [ "$ssl" = "sspi" ]; then228 echo229 227 elif [ "$ssl" = "openssl" ]; then 230 228 echo -
protocols/nogaim.h
ra4dc9f7 r9a1555d 159 159 irc_t *irc; 160 160 }; 161 162 struct ft163 {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_request174 {175 const char *filename;176 struct gaim_connection *gc;177 };178 179 typedef void (*ft_recv_handler) (struct ft *, void *data, size_t len);180 161 181 162 struct prpl { … … 234 215 void (* group_buddy) (struct gaim_connection *, char *who, char *old_group, char *new_group); 235 216 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 241 217 void (* buddy_free) (struct buddy *); 242 218 -
sock.h
ra4dc9f7 r9a1555d 21 21 #else 22 22 # include <winsock2.h> 23 # ifndef _MSC_VER 24 # include <ws2tcpip.h> 25 # endif 23 26 # if !defined(BITLBEE_CORE) && defined(_MSC_VER) 24 27 # pragma comment(lib,"bitlbee.lib") … … 27 30 # define read(a,b,c) recv(a,b,c,0) 28 31 # define write(a,b,c) send(a,b,c,0) 32 # define umask _umask 33 # define mode_t int 29 34 # define sock_make_nonblocking(fd) { int non_block = 1; ioctlsocket(fd, FIONBIO, &non_block); } 30 35 # define sock_make_blocking(fd) { int non_block = 0; ioctlsocket(fd, FIONBIO, &non_block); } -
storage_text.c
ra4dc9f7 r9a1555d 27 27 #include "bitlbee.h" 28 28 #include "crypting.h" 29 #ifdef _WIN3230 # define umask _umask31 # define mode_t int32 #endif33 34 #ifndef F_OK35 #define F_OK 036 #endif37 29 38 30 /* DO NOT USE THIS FUNCTION IN NEW CODE. This -
unix.c
ra4dc9f7 r9a1555d 64 64 if( global.conf->runmode == RUNMODE_INETD ) 65 65 { 66 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );67 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );68 69 66 i = bitlbee_inetd_init(); 70 67 log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION ); … … 73 70 else if( global.conf->runmode == RUNMODE_DAEMON ) 74 71 { 75 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG );76 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG );77 78 72 i = bitlbee_daemon_init(); 79 73 log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION );
Note: See TracChangeset
for help on using the changeset viewer.