summaryrefslogtreecommitdiffstats
path: root/sources/rest.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-24 14:37:19 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-24 14:43:10 +0200
commit48de51537ec18606f8adc52e9c43d222a330cf58 (patch)
tree36d833f0c004d52ba4145a2f6947d6a83deca6a9 /sources/rest.c
parentc46fa3c9e560ccf4adc35319559d778482b8aac6 (diff)
#971 split socket core logic and main files
Extract socket core and main from ogAdmServer file.
Diffstat (limited to 'sources/rest.c')
-rw-r--r--sources/rest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/rest.c b/sources/rest.c
index e9ee00f..35f3e03 100644
--- a/sources/rest.c
+++ b/sources/rest.c
@@ -22,6 +22,8 @@
#include <jansson.h>
#include <time.h>
+struct ev_loop *og_loop;
+
static TRAMA *og_msg_alloc(char *data, unsigned int len)
{
TRAMA *ptrTrama;