libircclient.h | libircclient.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
* - SSL support if compiled with --enable-openssl. | * - SSL support if compiled with --enable-openssl. | |||
* - Free, licensed under LGPL license. | * - Free, licensed under LGPL license. | |||
* | * | |||
* Note that to use libircclient, only libircclient.h should be included in to your | * Note that to use libircclient, only libircclient.h should be included in to your | |||
* program. Do not include other libirc_* headers. | * program. Do not include other libirc_* headers. | |||
*/ | */ | |||
#ifndef INCLUDE_LIBIRC_H | #ifndef INCLUDE_LIBIRC_H | |||
#define INCLUDE_LIBIRC_H | #define INCLUDE_LIBIRC_H | |||
#include <stdlib.h> | ||||
#if !defined (WIN32) | #if !defined (WIN32) | |||
#include <sys/select.h> /* fd_set */ | #include <sys/select.h> /* fd_set */ | |||
#else | #else | |||
#include <winsock2.h> | #include <winsock2.h> | |||
#include <ws2tcpip.h> | #include <ws2tcpip.h> | |||
#if defined (ENABLE_IPV6) | #if defined (ENABLE_IPV6) | |||
typedef int (WSAAPI * getaddrinfo_ptr_t) (const char *, co nst char* , const struct addrinfo *, struct addrinfo **); | typedef int (WSAAPI * getaddrinfo_ptr_t) (const char *, co nst char* , const struct addrinfo *, struct addrinfo **); | |||
typedef void (WSAAPI * freeaddrinfo_ptr_t) (struct addrinfo* ); | typedef void (WSAAPI * freeaddrinfo_ptr_t) (struct addrinfo* ); | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
params.h | params.h | |||
---|---|---|---|---|
skipping to change at line 19 | skipping to change at line 19 | |||
* This library is distributed in the hope that it will be useful, but WITH OUT | * This library is distributed in the hope that it will be useful, but WITH OUT | |||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | |||
* License for more details. | * License for more details. | |||
*/ | */ | |||
#ifndef INCLUDE_IRC_PARAMS_H | #ifndef INCLUDE_IRC_PARAMS_H | |||
#define INCLUDE_IRC_PARAMS_H | #define INCLUDE_IRC_PARAMS_H | |||
#define LIBIRC_VERSION_HIGH 1 | #define LIBIRC_VERSION_HIGH 1 | |||
#define LIBIRC_VERSION_LOW 6 | #define LIBIRC_VERSION_LOW 7 | |||
#define LIBIRC_BUFFER_SIZE 1024 | #define LIBIRC_BUFFER_SIZE 1024 | |||
#define LIBIRC_DCC_BUFFER_SIZE 1024 | #define LIBIRC_DCC_BUFFER_SIZE 1024 | |||
#define LIBIRC_STATE_INIT 0 | #define LIBIRC_STATE_INIT 0 | |||
#define LIBIRC_STATE_LISTENING 1 | #define LIBIRC_STATE_LISTENING 1 | |||
#define LIBIRC_STATE_CONNECTING 2 | #define LIBIRC_STATE_CONNECTING 2 | |||
#define LIBIRC_STATE_CONNECTED 3 | #define LIBIRC_STATE_CONNECTED 3 | |||
#define LIBIRC_STATE_DISCONNECTED 4 | #define LIBIRC_STATE_DISCONNECTED 4 | |||
#define LIBIRC_STATE_CONFIRM_SIZE 5 // Used only by DCC send to confirm the amount of sent data | #define LIBIRC_STATE_CONFIRM_SIZE 5 // Used only by DCC send to confirm the amount of sent data | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||