summaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-28 00:16:08 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-28 00:16:08 +0800
commit208a92b58f863efa2c7f6301d44d3a2de3fa7745 (patch)
treed723b6ca3b73cdf0db004ebfb5b5e8887d75654e /handler.c
parent2f2d49ab5e55343f4dd457ff4b897f5436edf446 (diff)
Merge handler.c to pikul.c
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/handler.c b/handler.c
deleted file mode 100644
index 581001e..0000000
--- a/handler.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "handler.h"
-
-extern inline void handle(const char *, size_t, struct container *);
-
-void recurse(struct json_object *outer, const char *keys[], struct json_object **services)
-{
- struct json_object *inner = NULL;
- json_object_object_get_ex(outer, *keys, &inner);
- if (*++keys)
- recurse(inner, keys, services);
- else
- *services = inner;
-}