libirc_params.h   libirc_params.h 
skipping to change at line 14 skipping to change at line 14
* This library is free software; you can redistribute it and/or modify it * This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by * under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at yo ur * the Free Software Foundation; either version 2 of the License, or (at yo ur
* option) any later version. * option) any later version.
* *
* 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.
* *
* $Id: libirc_params.h,v 1.3 2004/09/14 19:50:09 gyunaev Exp $ * $Id: libirc_params.h,v 1.4 2004/09/29 22:15:49 gyunaev Exp $
*/ */
#ifndef INCLUDE_IRC_PARAMS_H #ifndef INCLUDE_IRC_PARAMS_H
#define INCLUDE_IRC_PARAMS_H #define INCLUDE_IRC_PARAMS_H
#ifndef IN_INCLUDE_LIBIRC_H #ifndef IN_INCLUDE_LIBIRC_H
#error This file should not be included directly, include just libir cclient.h #error This file should not be included directly, include just libir cclient.h
#endif #endif
#define LIBIRC_VERSION_HIGH 0x0000 #define LIBIRC_VERSION_HIGH 0x0000
#define LIBIRC_VERSION_LOW 0x0003 #define LIBIRC_VERSION_LOW 0x0004
#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. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 libircclient.h   libircclient.h 
skipping to change at line 14 skipping to change at line 14
* This library is free software; you can redistribute it and/or modify it * This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by * under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at yo ur * the Free Software Foundation; either version 2 of the License, or (at yo ur
* option) any later version. * option) any later version.
* *
* 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.
* *
* $Id: libircclient.h,v 1.2 2004/09/14 19:50:09 gyunaev Exp $ * $Id: libircclient.h,v 1.3 2004/09/29 20:53:48 gyunaev Exp $
*/ */
/*! /*!
* \file libircclient.h * \file libircclient.h
* \author Georgy Yunaev * \author Georgy Yunaev
* \version 1.0 * \version 1.0
* \date 09.2004 * \date 09.2004
* \brief This file defines all prototypes and functions to use libirc. * \brief This file defines all prototypes and functions to use libirc.
* *
* libirc is a small but powerful library, which implements client-server I RC * libirc is a small but powerful library, which implements client-server I RC
skipping to change at line 240 skipping to change at line 240
* *
* This function closes the IRC connection. After that connection is closed , * This function closes the IRC connection. After that connection is closed ,
* libirc automatically leaves irc_run loop. * libirc automatically leaves irc_run loop.
* *
* \sa irc_connect irc_run * \sa irc_connect irc_run
* \ingroup conndisc * \ingroup conndisc
*/ */
void irc_disconnect (irc_session_t * session); void irc_disconnect (irc_session_t * session);
/*! /*!
* \fn int irc_is_connected (irc_session_t * session)
* \brief Checks whether the session is connecting/connected to the IRC ser
ver.
*
* \param session An IRC session.
*
* \return Return code 1 means that session is connecting or connected to t
he
* IRC server, zero value means that the session has been disconnected.
*
* \sa irc_connect irc_run
* \ingroup conndisc
*/
int irc_is_connected (irc_session_t * session);
/*!
* \fn int irc_run (irc_session_t * session) * \fn int irc_run (irc_session_t * session)
* \brief Goes into forever-loop, processing IRC events and generating * \brief Goes into forever-loop, processing IRC events and generating
* callbacks. * callbacks.
* *
* \param session An initiated and connected session. * \param session An initiated and connected session.
* *
* \return Return code 0 means success. Other value means error, the error * \return Return code 0 means success. Other value means error, the error
* code may be obtained through irc_errno(). * code may be obtained through irc_errno().
* *
* This function goes into forever loop, processing the IRC events, and * This function goes into forever loop, processing the IRC events, and
 End of changes. 2 change blocks. 
1 lines changed or deleted 17 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/