Changeset 0b9daac for protocols/msn


Ignore:
Timestamp:
2015-02-20T23:16:08Z (10 years ago)
Author:
dequis <dx@…>
Parents:
5ebff60
git-author:
dequis <dx@…> (27-12-14 04:06:45)
git-committer:
dequis <dx@…> (20-02-15 23:16:08)
Message:

Reorganize include files to avoid conflicts with other libs

  • Change all header includes to be relative to the project root
  • Remove -I${includedir} from bitlbee.pc Cflags
  • Install lib and protocols headers to their own directories. So now it is:

/usr/include/bitlbee/*.h
/usr/include/bitlbee/lib/*.h
/usr/include/bitlbee/protocols/*.h

This breaks backwards compatibility of third party plugins, but now
they don't have to do ambiguous includes like #include <proxy.h>

This also fixes trac ticket 1170 - conflicts when libproxy and liboauth
are installed at the same time bitlbee is built, which the macports
project ran into several times.

Location:
protocols/msn
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    r5ebff60 r0b9daac  
    2424*/
    2525
    26 #include "nogaim.h"
     26#include "protocols/nogaim.h"
    2727#include "soap.h"
    2828#include "msn.h"
  • protocols/msn/msn_util.c

    r5ebff60 r0b9daac  
    2424*/
    2525
    26 #include "nogaim.h"
     26#include "protocols/nogaim.h"
    2727#include "msn.h"
    28 #include "md5.h"
     28#include "lib/md5.h"
    2929#include "soap.h"
    3030#include <ctype.h>
  • protocols/msn/ns.c

    r5ebff60 r0b9daac  
    2626#include <ctype.h>
    2727#include <sys/utsname.h>
    28 #include "nogaim.h"
     28#include "protocols/nogaim.h"
    2929#include "msn.h"
    30 #include "md5.h"
    31 #include "sha1.h"
     30#include "lib/md5.h"
     31#include "lib/sha1.h"
    3232#include "soap.h"
    33 #include "xmltree.h"
     33#include "lib/xmltree.h"
    3434
    3535static gboolean msn_ns_connected(gpointer data, gint source, b_input_condition cond);
  • protocols/msn/sb.c

    r5ebff60 r0b9daac  
    2525
    2626#include <ctype.h>
    27 #include "nogaim.h"
     27#include "protocols/nogaim.h"
    2828#include "msn.h"
    29 #include "md5.h"
     29#include "lib/md5.h"
    3030#include "soap.h"
    3131#include "invitation.h"
  • protocols/msn/soap.c

    r5ebff60 r0b9daac  
    2727*/
    2828
    29 #include "http_client.h"
     29#include "lib/http_client.h"
    3030#include "soap.h"
    3131#include "msn.h"
    3232#include "bitlbee.h"
    33 #include "url.h"
    34 #include "misc.h"
    35 #include "sha1.h"
    36 #include "base64.h"
    37 #include "xmltree.h"
     33#include "lib/url.h"
     34#include "lib/misc.h"
     35#include "lib/sha1.h"
     36#include "lib/base64.h"
     37#include "lib/xmltree.h"
    3838#include <ctype.h>
    3939#include <errno.h>
  • protocols/msn/soap.h

    r5ebff60 r0b9daac  
    4040#include <arpa/inet.h>
    4141#include <unistd.h>
    42 #include "nogaim.h"
     42#include "protocols/nogaim.h"
    4343
    4444
  • protocols/msn/tables.c

    r5ebff60 r0b9daac  
    2424*/
    2525
    26 #include "nogaim.h"
     26#include "protocols/nogaim.h"
    2727#include "msn.h"
    2828
Note: See TracChangeset for help on using the changeset viewer.