libirc_doc_faq.h | libirc_doc_faq.h | |||
---|---|---|---|---|
skipping to change at line 116 | skipping to change at line 116 | |||
between the IRC clients to query the remote client for some data, or to sen d | between the IRC clients to query the remote client for some data, or to sen d | |||
some information - for example, /me messages are sent via CTCP. There is no | some information - for example, /me messages are sent via CTCP. There is no | |||
standard list of possible CTCP requests, and different IRC clients often ad d | standard list of possible CTCP requests, and different IRC clients often ad d | |||
their own CTCP codes. The built-in handler reacts on TIME, VERSION, PING an d | their own CTCP codes. The built-in handler reacts on TIME, VERSION, PING an d | |||
FINGER CTCP queries. If you need to react on other queries, you'll have to | FINGER CTCP queries. If you need to react on other queries, you'll have to | |||
write your own CTCP handler. See the source code of libirc_event_ctcp_inter nal | write your own CTCP handler. See the source code of libirc_event_ctcp_inter nal | |||
to get an idea how to write it. | to get an idea how to write it. | |||
\subsection faq5 Why don't I receive event_umode when I am made +o (a chann el operator)? | \subsection faq5 Why don't I receive event_umode when I am made +o (a chann el operator)? | |||
Because this IS channel mode, not user mode. User mode \c +o is an IRC netw | Because this is a channel mode, not a user mode. The user mode \c +o means | |||
ork | that | |||
operator, not just a channel operator. | this user is an IRC network operator, not just a channel operator. | |||
\subsection faq6 Why I get a LIBIRC_ERR_SOCKET error using static library u | ||||
nder Win32? | ||||
Because if you use static library, you have to initialize winsock manually: | ||||
\code | ||||
WORD wVersionRequested = MAKEWORD (1, 1); | ||||
WSADATA wsaData; | ||||
if ( WSAStartup (wVersionRequested, &wsaData) != 0 ) | ||||
// report an error | ||||
// And now we can use libircclient | ||||
\endcode | ||||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 17 lines changed or added | |||
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.5 2004/10/10 16:29:52 gyunaev Exp $ | * $Id: libirc_params.h,v 1.6 2004/10/10 16:36:36 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 0x0006 | #define LIBIRC_VERSION_LOW 0x0007 | |||
#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 | |||