libircclient.h   libircclient.h 
skipping to change at line 1272 skipping to change at line 1272
* Note that libircclient just 'carries out' this pointer. If you allocate some * Note that libircclient just 'carries out' this pointer. If you allocate some
* memory, and store its address in ctx (most common usage), it is your * memory, and store its address in ctx (most common usage), it is your
* responsibility to free it before calling irc_destroy_session(). * responsibility to free it before calling irc_destroy_session().
* *
* \sa irc_get_ctx * \sa irc_get_ctx
* \ingroup contexts * \ingroup contexts
*/ */
void irc_set_ctx (irc_session_t * session, void * ctx); void irc_set_ctx (irc_session_t * session, void * ctx);
/*! /*!
* \fn void irc_set_ctcp_version (irc_session_t * session, const char *vers
ion)
* \brief Sets the internal CTCP VERSION
*
* \param session an Initiated session.
* \param version the version to reply
*
* This function sets an internal user-defined version to reply on CTCP
* VERSION request. If none is given, a default one is provided. The parame
ter
* version is copied and can be freed by the user.
*
* \ingroup contexts
*/
void irc_set_ctcp_version(irc_session_t * session, const char * version);
/*!
* \fn void * irc_get_ctx (irc_session_t * session) * \fn void * irc_get_ctx (irc_session_t * session)
* \brief Returns the IRC session context. * \brief Returns the IRC session context.
* *
* \param session An initiated session. * \param session An initiated session.
* *
* This function returns the IRC session context, which was set by * This function returns the IRC session context, which was set by
* irc_set_ctx(). If no context was set, this function returns NULL. * irc_set_ctx(). If no context was set, this function returns NULL.
* *
* \sa irc_set_ctx * \sa irc_set_ctx
* \ingroup contexts * \ingroup contexts
 End of changes. 1 change blocks. 
0 lines changed or deleted 17 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 7 #define LIBIRC_VERSION_LOW 8
#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 53 skipping to change at line 53
socket_t sock; socket_t sock;
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;
char * ctcp_version;
#if defined( ENABLE_IPV6 ) #if defined( ENABLE_IPV6 )
struct in6_addr local_addr6; struct in6_addr local_addr6;
#endif #endif
struct in_addr local_addr; 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;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 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/