aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libraries/SledjHamr.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-17 10:51:51 +1000
committerDavid Walter Seikel2014-05-17 10:51:51 +1000
commitbf2487ed5290366bf14cd399f4c25a4564f511d0 (patch)
treee9e62d3639737347d869cf48b38cb31d3697b74e /src/libraries/SledjHamr.h
parentRearrange things in the libraries. (diff)
downloadSledjHamr-bf2487ed5290366bf14cd399f4c25a4564f511d0.zip
SledjHamr-bf2487ed5290366bf14cd399f4c25a4564f511d0.tar.gz
SledjHamr-bf2487ed5290366bf14cd399f4c25a4564f511d0.tar.bz2
SledjHamr-bf2487ed5290366bf14cd399f4c25a4564f511d0.tar.xz
Add a smarter server connect function.
Diffstat (limited to 'src/libraries/SledjHamr.h')
-rw-r--r--src/libraries/SledjHamr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libraries/SledjHamr.h b/src/libraries/SledjHamr.h
index 548c5e0..6c63bcc 100644
--- a/src/libraries/SledjHamr.h
+++ b/src/libraries/SledjHamr.h
@@ -10,11 +10,13 @@
10 10
11#include <stdlib.h> 11#include <stdlib.h>
12 12
13#include <Ecore.h>
13#include <Ecore_Con.h> 14#include <Ecore_Con.h>
14 15
15 16
16#define ARRAY_LENGTH(array) (sizeof(array) / sizeof(*array)) 17#define ARRAY_LENGTH(array) (sizeof(array) / sizeof(*array))
17 18
19Ecore_Con_Server *reachOut(char *address, int port, void *data, Ecore_Event_Handler_Cb _add, Ecore_Event_Handler_Cb _data, Ecore_Event_Handler_Cb _del);
18void sendBack(Ecore_Con_Client *client, const char *SID, const char *message, ...); 20void sendBack(Ecore_Con_Client *client, const char *SID, const char *message, ...);
19void sendForth(Ecore_Con_Server *server, const char *SID, const char *message, ...); 21void sendForth(Ecore_Con_Server *server, const char *SID, const char *message, ...);
20 22