-static void dbus_req_success(void *closure, struct json_object *obj, const char *info)
-{
- struct dbus_req *dreq = closure;
-
- dbus_req_reply(dreq, RETOK, json_object_to_json_string_ext(obj, JSON_C_TO_STRING_PLAIN), info);
-}
-
-static void dbus_req_fail(void *closure, const char *status, const char *info)
-{
- struct dbus_req *dreq = closure;
-
- dbus_req_reply(dreq, RETERR, status, info);
-}
-