Changes in / [c289b6f:c48a033]


Ignore:
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • account.c

    rc289b6f rc48a033  
    2727#include "bitlbee.h"
    2828#include "account.h"
    29 #include "chat.h"
    3029
    3130account_t *account_add( irc_t *irc, struct prpl *prpl, char *user, char *pass )
  • bitlbee.h

    rc289b6f rc48a033  
    129129#include "account.h"
    130130#include "nick.h"
     131#include "chat.h"
    131132#include "conf.h"
    132133#include "log.h"
  • chat.c

    rc289b6f rc48a033  
    2525
    2626#include "bitlbee.h"
    27 #include "chat.h"
    2827
    2928struct chat *chat_add( irc_t *irc, account_t *acc, char *handle, char *channel )
  • chat.h

    rc289b6f rc48a033  
    2424*/
    2525
    26 #ifndef _CHAT_H
    27 #define _CHAT_H
    28 
    2926struct chat
    3027{
     
    4845
    4946int chat_join( irc_t *irc, struct chat *c, const char *password );
    50 
    51 #endif
  • configure

    rc289b6f rc48a033  
    267267detect_ldap()
    268268{
    269         TMPFILE=$(mktemp)
     269        TMPFILE=`mktemp`
    270270        if $CC -o $TMPFILE -shared -lldap 2>/dev/null >/dev/null; then
    271271                cat<<EOF>>Makefile.settings
     
    280280                ret=0
    281281        fi
    282 }
    283 
    284 RESOLV_TESTCODE='
    285 #include <arpa/nameser.h>
    286 #include <resolv.h>
    287 
    288 int main()
    289 {
    290         ns_initparse( NULL, 0, NULL );
    291         ns_parserr( NULL, ns_s_an, 0, NULL );
    292 }
    293 '
    294 
    295 detect_resolv_dynamic()
    296 {
    297         echo "$RESOLV_TESTCODE" | $CC -o /dev/null -x c - -lresolv >/dev/null 2>/dev/null
    298         if [ "$?" = "0" ]; then
    299                 echo 'EFLAGS+=-lresolv' >> Makefile.settings
    300                 return 0
    301         fi
    302 
    303         return 1
    304 }
    305 
    306 detect_resolv_static()
    307 {
    308         for i in $systemlibdirs; do
    309                 if [ -f $i/libresolv.a ]; then
    310                         echo "$RESOLV_TESTCODE" | $CC -o /dev/null -x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null
    311                         if [ "$?" = "0" ]; then
    312                                 echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
    313                                 return 0
    314                         fi
    315                 fi
    316         done
    317 
    318         return 1
    319282}
    320283
     
    386349echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
    387350
    388 if detect_resolv_dynamic || detect_resolv_static; then
    389         echo '#define HAVE_RESOLV_A' >> config.h
    390 fi
     351for i in $systemlibdirs; do
     352        if [ -f $i/libresolv.a ]; then
     353                echo '#define HAVE_RESOLV_A' >> config.h
     354                echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
     355                break
     356        fi
     357done
    391358
    392359STORAGES="text xml"
  • doc/user-guide/misc.xml

    rc289b6f rc48a033  
    7777
    7878<para>
    79 Some protocols (like Jabber) also support named groupchats. BitlBee now supports these too. You can use the <emphasis>chat add</emphasis> command to join them. See <emphasis>help chat add</emphasis> for more information.
     79Some protocols (like Jabber) also support named groupchats. BitlBee now supports these too. You can use the <emphasis>chat add</emphasis> command to join them. See <emphasis>help chat_add</emphasis> for more information.
    8080</para>
    8181
  • irc_commands.c

    rc289b6f rc48a033  
    2727#include "bitlbee.h"
    2828#include "ipc.h"
    29 #include "chat.h"
    3029
    3130static void irc_cmd_pass( irc_t *irc, char **cmd )
  • lib/misc.c

    rc289b6f rc48a033  
    4646#endif
    4747
    48 #include "md5.h"
    4948#include "ssl_client.h"
    5049
  • protocols/jabber/jabber.h

    rc289b6f rc48a033  
    2727#include <glib.h>
    2828
     29#include "xmltree.h"
    2930#include "bitlbee.h"
    30 #include "md5.h"
    31 #include "xmltree.h"
    3231
    3332extern GSList *jabber_connections;
  • protocols/nogaim.c

    rc289b6f rc48a033  
    3333
    3434#define BITLBEE_CORE
     35#include "nogaim.h"
    3536#include <ctype.h>
    36 
    37 #include "nogaim.h"
    38 #include "chat.h"
    3937
    4038static int remove_chat_buddy_silent( struct groupchat *b, const char *handle );
  • protocols/nogaim.h

    rc289b6f rc48a033  
    3939#define _NOGAIM_H
    4040
    41 #include <stdint.h>
    42 
    4341#include "bitlbee.h"
    4442#include "account.h"
    4543#include "proxy.h"
    4644#include "query.h"
     45#include "md5.h"
    4746
    4847#define BUDDY_ALIAS_MAXLEN 388   /* because MSN names can be 387 characters */
  • root_commands.c

    rc289b6f rc48a033  
    2929#include "bitlbee.h"
    3030#include "help.h"
    31 #include "chat.h"
    3231
    3332#include <string.h>
  • storage_xml.c

    rc289b6f rc48a033  
    2929#include "arc.h"
    3030#include "md5.h"
    31 #include "chat.h"
    3231
    3332#if GLIB_CHECK_VERSION(2,8,0)
Note: See TracChangeset for help on using the changeset viewer.