summaryrefslogtreecommitdiff
path: root/include/inspircd_io.h
blob: 748aa53ba3ffdea442c4c0cb89dab93d482cfe43 (plain)
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
/*       +------------------------------------+
 *       | Inspire Internet Relay Chat Daemon |
 *       +------------------------------------+
 *
 *  Inspire is copyright (C) 2002-2003 ChatSpike-Dev.
 *                       E-mail:
 *                <brain@chatspike.net>
 *           	  <Craig@chatspike.net>
 *     
 * Written by Craig Edwards, Craig McLure, and others.
 * This program is free but copyrighted software; see
 *            the file COPYING for details.
 *
 * ---------------------------------------------------
 */

void Exit (int); 
void Start (void); 
int DaemonSeed (void); 
int FileExists (char* file);
int OpenTCPSocket (void); 
int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr);

int ConfValue(char* tag, char* var, int index, char *result);
int ReadConf(const char* filename,const char* tag, const char* var, int index, char *result);
int ConfValueEnum(char* tag);
int EnumConf(const char* filename,const char* tag);