summaryrefslogtreecommitdiff
path: root/src/worker.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-11-15 20:56:40 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2014-11-15 20:56:40 +0100
commit9594857ea2b95675fc8c393aa4da21baa3d0f7f8 (patch)
tree20322af94fb9d25119b84500601d423360853b84 /src/worker.c
parent8a008f55fa16b4388e49a21301bf84c7e4a2b2f7 (diff)
downloadbiruda-9594857ea2b95675fc8c393aa4da21baa3d0f7f8.tar.gz
biruda-9594857ea2b95675fc8c393aa4da21baa3d0f7f8.tar.bz2
..
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index 7560393..7c538d2 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -1 +1,23 @@
#include "worker.h"
+
+#include "nanomsg/nn.h"
+
+#include <glib.h>
+
+int worker_init( const char *control )
+{
+ //~ gboolean ret = g_spawn_async_with_pipes( NULL,
+//~ ret = g_spawn_async_with_pipes( NULL, argv, NULL,
+ //~ G_SPAWN_DO_NOT_REAP_CHILD, NULL,
+ //~ NULL, &pid, NULL, &out, &err, NULL );
+ return 0;
+}
+
+void worker_terminate( )
+{
+}
+
+int worker_free( )
+{
+ return 0;
+}