diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-23 19:45:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-23 19:45:57 +0000 |
commit | 73b9d0c5cb02f0ea8350de28bc3687e0af70ea0f (patch) | |
tree | a5845579b1363762650f0e45c62a13890e1efa43 /include/inspircd_io.h |
Initial revision
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@132 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd_io.h')
-rw-r--r-- | include/inspircd_io.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h new file mode 100644 index 000000000..bdf9d3e18 --- /dev/null +++ b/include/inspircd_io.h @@ -0,0 +1,43 @@ +/* +------------------------------------+ + * | 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. + * + * --------------------------------------------------- + + $Log$ + Revision 1.1 2003/01/23 19:45:58 brain + Initial revision + + Revision 1.5 2003/01/21 20:31:24 brain + Modified to add documentation + Added ConfigReader class for modules + + Revision 1.4 2003/01/06 23:38:29 brain + + just playing with header tags + + + * --------------------------------------------------- + */ + +void Exit (int); +void Start (void); +int DaemonSeed (void); +int CheckConfig (void); +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); + |