summaryrefslogtreecommitdiff
path: root/shared/hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/hook.h')
-rw-r--r--shared/hook.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/shared/hook.h b/shared/hook.h
index 8f20565..15d39c2 100644
--- a/shared/hook.h
+++ b/shared/hook.h
@@ -27,6 +27,13 @@
#define PORT 50501
#define SA struct sockaddr
- int start_chat(int is_client);
+
+ int start_chat();
+
+ void set_client();
+ bool is_client();
+
+ void set_server();
+ bool is_server();
#endif // SHARED_HOOK_H