File: libirc_params.h

package info (click to toggle)
libircclient 1.3%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,492 kB
  • ctags: 691
  • sloc: ansic: 2,706; cpp: 313; makefile: 132; sh: 120
file content (38 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* 
 * Copyright (C) 2004-2009 Georgy Yunaev gyunaev@ulduzsoft.com
 *
 * 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 
 * the Free Software Foundation; either version 2 of the License, or (at your 
 * option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT 
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
 * License for more details.
 */

#ifndef INCLUDE_IRC_PARAMS_H
#define INCLUDE_IRC_PARAMS_H


#ifndef IN_INCLUDE_LIBIRC_H
	#error This file should not be included directly, include just libircclient.h
#endif

#define LIBIRC_VERSION_HIGH			0x0001
#define LIBIRC_VERSION_LOW			0x0002

#define LIBIRC_BUFFER_SIZE			1024
#define LIBIRC_DCC_BUFFER_SIZE		1024

#define LIBIRC_STATE_INIT			0
#define LIBIRC_STATE_LISTENING		1
#define LIBIRC_STATE_CONNECTING		2
#define LIBIRC_STATE_CONNECTED		3
#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_REMOVED		10	// this state is used only in DCC


#endif /* INCLUDE_IRC_PARAMS_H */