diff options
author | David Walter Seikel | 2012-02-12 00:08:53 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-12 00:08:53 +1000 |
commit | f43dc63f9820ba0d3ff30efd2c45bf6dc5d2af51 (patch) | |
tree | b971c5d251b27136bd95022a6e4a493b8b9448e5 /LuaSL/src/LuaSL_main.c | |
parent | SID is now full path to the LSL file. Still need to change it to the UUID of... (diff) | |
download | SledjHamr-f43dc63f9820ba0d3ff30efd2c45bf6dc5d2af51.zip SledjHamr-f43dc63f9820ba0d3ff30efd2c45bf6dc5d2af51.tar.gz SledjHamr-f43dc63f9820ba0d3ff30efd2c45bf6dc5d2af51.tar.bz2 SledjHamr-f43dc63f9820ba0d3ff30efd2c45bf6dc5d2af51.tar.xz |
New sendBack and sendForth global functions.
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL_main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c index e209023..41fa45a 100644 --- a/LuaSL/src/LuaSL_main.c +++ b/LuaSL/src/LuaSL_main.c | |||
@@ -5,14 +5,6 @@ | |||
5 | static int CPUs = 4; | 5 | static int CPUs = 4; |
6 | static Eina_Strbuf *clientStream; | 6 | static Eina_Strbuf *clientStream; |
7 | 7 | ||
8 | static void sendBack(gameGlobals *game, Ecore_Con_Client *client, const char *SID, const char *message) | ||
9 | { | ||
10 | char buf[PATH_MAX]; | ||
11 | |||
12 | sprintf(buf, "%s.%s\n", SID, message); | ||
13 | ecore_con_client_send(client, buf, strlen(buf)); | ||
14 | ecore_con_client_flush(client); | ||
15 | } | ||
16 | 8 | ||
17 | static Eina_Bool _add(void *data, int type __UNUSED__, Ecore_Con_Event_Client_Add *ev) | 9 | static Eina_Bool _add(void *data, int type __UNUSED__, Ecore_Con_Event_Client_Add *ev) |
18 | { | 10 | { |