summaryrefslogtreecommitdiff
path: root/core.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--core.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/core.h b/core.h
index e259d7a..ef1ef0d 100644
--- a/core.h
+++ b/core.h
@@ -136,6 +136,12 @@ struct NetCore {
Client *findClientWithSessionKey(uint8_t *key) const;
private:
virtual Client *constructClient() = 0;
+
+public:
+ int registerServer(Server *server); // THIS FUNCTION WILL BE PROTECTED LATER
+protected:
+ void deregisterServer(int id);
+ int findServerID(Server *server) const;
};
struct Bouncer : NetCore {