Changes in / [8e419cb:dd8d4c5]


Ignore:
Files:
4 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    r8e419cb rdd8d4c5  
    22config.h
    33bitlbee
    4 Debug
    5 Debugx
    6 deps
    7 admin/Debug
    8 admin/admin.plg
    9 bitlbee.plg
    10 *.plg
    11 *.aps
    12 *.clw
    134user-guide.txt
    145user-guide.html
  • Makefile

    r8e419cb rdd8d4c5  
    1010
    1111# Program variables
    12 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
     12objects = account.o bitlbee.o commands.o conf.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.o
    1313subdirs = protocols
    14 
    15 ifeq ($(ARCH),Windows)
    16 objects += win32.o
    17 else
    18 objects += unix.o conf.o log.o
    19 endif
    2014
    2115# Expansion of variables
  • bitlbee.c

    r8e419cb rdd8d4c5  
    149149                return( 1 );
    150150       
     151        log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );
     152        log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );
     153       
    151154        return( 0 );
    152155}
  • bitlbee.h

    r8e419cb rdd8d4c5  
    4848#include <stdio.h>
    4949#include <ctype.h>
    50 #include <errno.h>
    51 
    5250#ifndef _WIN32
    5351#include <syslog.h>
     52#include <errno.h>
    5453#endif
    5554
     
    7675#undef strncasecmp
    7776#define strncasecmp     __PLEASE_USE_G_STRNCASECMP_INSTEAD__
     77
     78#ifndef F_OK
     79#define F_OK 0
     80#endif
    7881
    7982#define _( x ) x
  • configure

    r8e419cb rdd8d4c5  
    5858--ipv6=0/1      IPv6 socket support                     $ipv6
    5959
    60 --ssl=...       SSL library to use (gnutls, nss, openssl, sspi, bogus, auto)
     60--ssl=...       SSL library to use (gnutls, nss, openssl, bogus, auto)
    6161                                                        $ssl
    6262EOF
     
    216216        elif [ "$ssl" = "nss" ]; then
    217217                detect_nss;
    218         elif [ "$ssl" = "sspi" ]; then
    219                 echo
    220218        elif [ "$ssl" = "openssl" ]; then
    221219                echo
  • protocols/nogaim.h

    r8e419cb rdd8d4c5  
    159159        irc_t *irc;
    160160};
    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);
    180161
    181162struct prpl {
     
    234215        void (* group_buddy)    (struct gaim_connection *, char *who, char *old_group, char *new_group);
    235216
    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 
    241217        void (* buddy_free)     (struct buddy *);
    242218
  • sock.h

    r8e419cb rdd8d4c5  
    2121#else
    2222# include <winsock2.h>
     23# ifndef _MSC_VER
     24#  include <ws2tcpip.h>
     25# endif
    2326# if !defined(BITLBEE_CORE) && defined(_MSC_VER)
    2427#   pragma comment(lib,"bitlbee.lib")
     
    2730# define read(a,b,c) recv(a,b,c,0)
    2831# define write(a,b,c) send(a,b,c,0)
     32# define umask _umask
     33# define mode_t int
    2934# define sock_make_nonblocking(fd) { int non_block = 1; ioctlsocket(fd, FIONBIO, &non_block); }
    3035# define sock_make_blocking(fd) { int non_block = 0; ioctlsocket(fd, FIONBIO, &non_block); }
  • storage_text.c

    r8e419cb rdd8d4c5  
    2727#include "bitlbee.h"
    2828#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
    3729
    3830/* DO NOT USE THIS FUNCTION IN NEW CODE. This
  • unix.c

    r8e419cb rdd8d4c5  
    6262        if( global.conf->runmode == RUNMODE_INETD )
    6363        {
    64                 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );
    65                 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );
    66        
    6764                i = bitlbee_inetd_init();
    6865                log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION );
     
    7168        else if( global.conf->runmode == RUNMODE_DAEMON )
    7269        {
    73                 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG );
    74                 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG );
    75 
    7670                i = bitlbee_daemon_init();
    7771                log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION );
Note: See TracChangeset for help on using the changeset viewer.