aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-12 00:08:53 +1000
committerDavid Walter Seikel2012-02-12 00:08:53 +1000
commitf43dc63f9820ba0d3ff30efd2c45bf6dc5d2af51 (patch)
treeb971c5d251b27136bd95022a6e4a493b8b9448e5 /LuaSL/src/LuaSL_main.c
parentSID is now full path to the LSL file. Still need to change it to the UUID of... (diff)
downloadSledjHamr-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.c8
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 @@
5static int CPUs = 4; 5static int CPUs = 4;
6static Eina_Strbuf *clientStream; 6static Eina_Strbuf *clientStream;
7 7
8static 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
17static Eina_Bool _add(void *data, int type __UNUSED__, Ecore_Con_Event_Client_Add *ev) 9static Eina_Bool _add(void *data, int type __UNUSED__, Ecore_Con_Event_Client_Add *ev)
18{ 10{