Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-25 18:30:10 +0000
committerStijn Buys <ingar@osirion.org>2008-07-25 18:30:10 +0000
commit812bb37b7e73104d97da35eb3e66046495aaa305 (patch)
tree63ee32e2c53d35aeb3dc219c8caa211de5fbf0cd /src/core/netserver.h
parentabe6c3dc6e6f9df40345d6aaf19f12fdfa3f3024 (diff)
minor cleanups
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r--src/core/netserver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h
index 25bca5f..d76676f 100644
--- a/src/core/netserver.h
+++ b/src/core/netserver.h
@@ -58,6 +58,9 @@ public:
/// send a message to a single client
void send_message(NetClient *client, const char *channel, std::string const & message);
+ /// disconnect a single client
+ void send_disconnect(NetClient *client);
+
/// broadcast a server frame message
void broadcast_frame(float timestamp, float previoustimestamp);