diff options
author | David Walter Seikel | 2014-05-17 10:51:51 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-17 10:51:51 +1000 |
commit | bf2487ed5290366bf14cd399f4c25a4564f511d0 (patch) | |
tree | e9e62d3639737347d869cf48b38cb31d3697b74e /src/libraries/SledjHamr.h | |
parent | Rearrange things in the libraries. (diff) | |
download | SledjHamr-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.h | 2 |
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 | ||
19 | Ecore_Con_Server *reachOut(char *address, int port, void *data, Ecore_Event_Handler_Cb _add, Ecore_Event_Handler_Cb _data, Ecore_Event_Handler_Cb _del); | ||
18 | void sendBack(Ecore_Con_Client *client, const char *SID, const char *message, ...); | 20 | void sendBack(Ecore_Con_Client *client, const char *SID, const char *message, ...); |
19 | void sendForth(Ecore_Con_Server *server, const char *SID, const char *message, ...); | 21 | void sendForth(Ecore_Con_Server *server, const char *SID, const char *message, ...); |
20 | 22 | ||