libirc_rfcnumeric.h   libirc_rfcnumeric.h 
skipping to change at line 28 skipping to change at line 28
* \version 1.0 * \version 1.0
* \date 09.2004 * \date 09.2004
* \brief This file defines RFC numeric reply codes, which should be used i n * \brief This file defines RFC numeric reply codes, which should be used i n
* ::event_numeric callback. Every code also has a comment regarding its * ::event_numeric callback. Every code also has a comment regarding its
* arguments. * arguments.
*/ */
#ifndef INCLUDE_IRC_RFCNUMERIC_H #ifndef INCLUDE_IRC_RFCNUMERIC_H
#define INCLUDE_IRC_RFCNUMERIC_H #define INCLUDE_IRC_RFCNUMERIC_H
#ifndef IN_INCLUDE_LIBIRC_H
#error This file should not be included directly, include just libir
cclient.h
#endif
/*! \brief 001 Welcome to the Internet Relay Network /*! \brief 001 Welcome to the Internet Relay Network
\<nick\>!\<user\>\@\<host\> \<nick\>!\<user\>\@\<host\>
* *
* The server sends replies 001 to 004 to a user upon successful registrati on. * The server sends replies 001 to 004 to a user upon successful registrati on.
* *
* \ingroup rfcnumbers * \ingroup rfcnumbers
*/ */
#define LIBIRC_RFC_RPL_WELCOME 001 #define LIBIRC_RFC_RPL_WELCOME 001
/*! \brief 002 Your host is \<servername\>, running version \<ver\> /*! \brief 002 Your host is \<servername\>, running version \<ver\>
 End of changes. 1 change blocks. 
5 lines changed or deleted 0 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 5 #define LIBIRC_VERSION_LOW 6
#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


 session.h   session.h 
skipping to change at line 27 skipping to change at line 27
#include "params.h" #include "params.h"
#include "dcc.h" #include "dcc.h"
#include "libirc_events.h" #include "libirc_events.h"
// Session flags // Session flags
#define SESSIONFL_MOTD_RECEIVED (0x00000001) #define SESSIONFL_MOTD_RECEIVED (0x00000001)
#define SESSIONFL_SSL_CONNECTION (0x00000002) #define SESSIONFL_SSL_CONNECTION (0x00000002)
#define SESSIONFL_SSL_WRITE_WANTS_READ (0x00000004) #define SESSIONFL_SSL_WRITE_WANTS_READ (0x00000004)
#define SESSIONFL_SSL_READ_WANTS_WRITE (0x00000008) #define SESSIONFL_SSL_READ_WANTS_WRITE (0x00000008)
#define SESSIONFL_DEBUG (0x00000010) #define SESSIONFL_USES_IPV6 (0x00000010)
struct irc_session_s struct irc_session_s
{ {
void * ctx; void * ctx;
int dcc_timeout; int dcc_timeout;
int options; int options;
int lasterror; int lasterror;
char incoming_buf[LIBIRC_BUFFER_SIZE]; char incoming_buf[LIBIRC_BUFFER_SIZE];
skipping to change at line 55 skipping to change at line 55
int state; int state;
int flags; int flags;
char * server; char * server;
char * server_password; char * server_password;
char * realname; char * realname;
char * username; char * username;
char * nick; char * nick;
#if defined( ENABLE_IPV6 ) #if defined( ENABLE_IPV6 )
struct in6_addr local_addr; struct in6_addr local_addr6;
#else
struct in_addr local_addr;
#endif #endif
struct in_addr local_addr;
irc_dcc_t dcc_last_id; irc_dcc_t dcc_last_id;
irc_dcc_session_t * dcc_sessions; irc_dcc_session_t * dcc_sessions;
port_mutex_t mutex_dcc; port_mutex_t mutex_dcc;
irc_callbacks_t callbacks; irc_callbacks_t callbacks;
#if defined (ENABLE_SSL) #if defined (ENABLE_SSL)
SSL * ssl; SSL * ssl;
#endif #endif
 End of changes. 3 change blocks. 
4 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/