summaryrefslogtreecommitdiff
path: root/include/inspircd_io.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 17:26:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 17:26:30 +0000
commitb040f1c1a6b3140024a2eab0174415c0763ed6ae (patch)
tree38d09b749d99881279e2ceaf075631fdf3eb191f /include/inspircd_io.h
parentbd4c18aa1554e4fec0913b3c5f742080cbf0eab4 (diff)
Added preliminary support for ConfigReader::Verify at request of the slug :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@419 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd_io.h')
-rw-r--r--include/inspircd_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h
index 09d5e5674..df64228a4 100644
--- a/include/inspircd_io.h
+++ b/include/inspircd_io.h
@@ -19,11 +19,11 @@
void Exit (int);
void Start (void);
int DaemonSeed (void);
-int FileExists (char* file);
+bool FileExists (const char* file);
int OpenTCPSocket (void);
int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr);
-void LoadConf(const char* filename, std::stringstream *target);
+bool LoadConf(const char* filename, std::stringstream *target);
int ConfValue(char* tag, char* var, int index, char *result, std::stringstream *config);
int ReadConf(std::stringstream *config_f,const char* tag, const char* var, int index, char *result);
int ConfValueEnum(char* tag,std::stringstream *config);