summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h4
-rw-r--r--include/inspircd_io.h12
2 files changed, 6 insertions, 10 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 89764f1c4..822be147e 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -48,11 +48,7 @@
#include "command_parse.h"
// some misc defines
-
#define ERROR -1
-#define TRUE 1
-#define FALSE 0
-#define MAXSOCKS 64
#define MAXCOMMAND 32
// crucial defines
diff --git a/include/inspircd_io.h b/include/inspircd_io.h
index e4b5f98a3..a71638915 100644
--- a/include/inspircd_io.h
+++ b/include/inspircd_io.h
@@ -365,13 +365,13 @@ class ServerConfig : public classbase
};
-void Exit (int);
-void Start (void);
+void Exit(int status);
+void Start();
void SetSignals();
-int DaemonSeed (void);
-bool FileExists (const char* file);
-int OpenTCPSocket (void);
-int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr);
+bool DaemonSeed();
+bool FileExists(const char* file);
+int OpenTCPSocket();
+bool BindSocket(int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr);
void WritePID(const std::string &filename);
int BindPorts();
char* CleanFilename(char* name);