summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/message.h2
-rw-r--r--include/socket.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/message.h b/include/message.h
index edcda3da9..7d7f4b007 100644
--- a/include/message.h
+++ b/include/message.h
@@ -28,8 +28,6 @@
#include "users.h"
#include "channels.h"
-void Blocking(int s);
-void NonBlocking(int s);
int c_count(userrec* u);
void ChangeName(userrec* user, const char* gecos);
void ChangeDisplayedHost(userrec* user, const char* host);
diff --git a/include/socket.h b/include/socket.h
index 38656e238..ed6373ce8 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -56,6 +56,9 @@ bool MatchCIDR(const char* address, const char* cidr_mask, bool match_with_usern
const char* insp_ntoa(insp_inaddr n);
int insp_aton(const char* a, insp_inaddr* n);
+void Blocking(int s);
+void NonBlocking(int s);
+
int OpenTCPSocket();
bool BindSocket(int sockfd, insp_sockaddr client, insp_sockaddr server, int port, char* addr);
int BindPorts(bool bail);