Changes in / [601e813:fc630f9]


Ignore:
Files:
4 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    r601e813 rfc630f9  
    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

    r601e813 rfc630f9  
    1010
    1111# Program variables
    12 objects = account.o bitlbee.o crypting.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.o
     12objects = 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
    1313headers = account.h bitlbee.h commands.h conf.h config.h crypting.h help.h ini.h ipc.h irc.h log.h nick.h query.h set.h sock.h storage.h url.h user.h protocols/http_client.h protocols/md5.h protocols/nogaim.h protocols/proxy.h protocols/sha.h protocols/ssl_client.h
    1414subdirs = protocols
    15 
    16 ifeq ($(ARCH),Windows)
    17 objects += win32.o
    18 else
    19 objects += unix.o conf.o log.o
    20 endif
    2115
    2216# Expansion of variables
  • bitlbee.c

    r601e813 rfc630f9  
    141141                return( 1 );
    142142       
     143        log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );
     144        log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );
     145       
    143146        return( 0 );
    144147}
  • bitlbee.h

    r601e813 rfc630f9  
    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

    r601e813 rfc630f9  
    6464--ipv6=0/1      IPv6 socket support                     $ipv6
    6565
    66 --ssl=...       SSL library to use (gnutls, nss, openssl, sspi, bogus, auto)
     66--ssl=...       SSL library to use (gnutls, nss, openssl, bogus, auto)
    6767                                                        $ssl
    6868EOF
     
    231231        elif [ "$ssl" = "nss" ]; then
    232232                detect_nss;
    233         elif [ "$ssl" = "sspi" ]; then
    234                 echo
    235233        elif [ "$ssl" = "openssl" ]; then
    236234                echo
  • protocols/nogaim.h

    r601e813 rfc630f9  
    139139};
    140140
    141 struct ft
    142 {
    143         const char *filename;
    144        
    145         /* Total number of bytes in file */
    146         size_t total_bytes;
    147        
    148         /* Current number of bytes received */
    149         size_t cur_bytes;
    150 };
    151 
    152 struct ft_request
    153 {
    154         const char *filename;
    155         struct gaim_connection *gc;
    156 };
    157 
    158 typedef void (*ft_recv_handler) (struct ft *, void *data, size_t len);
    159 
    160141struct prpl {
    161142        int options;
  • sock.h

    r601e813 rfc630f9  
    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

    r601e813 rfc630f9  
    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

    r601e813 rfc630f9  
    6464        if( global.conf->runmode == RUNMODE_INETD )
    6565        {
    66                 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );
    67                 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );
    68        
    6966                i = bitlbee_inetd_init();
    7067                log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION );
     
    7370        else if( global.conf->runmode == RUNMODE_DAEMON )
    7471        {
    75                 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG );
    76                 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG );
    77 
    7872                i = bitlbee_daemon_init();
    7973                log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION );
Note: See TracChangeset for help on using the changeset viewer.