+netifd_init_script_handler(const char *script, json_object *obj, script_dump_cb cb)
+{
+ json_object *tmp;
+ const char *name;
+
+ if (!json_check_type(obj, json_type_object))
+ return;
+
+ tmp = json_get_field(obj, "name", json_type_string);
+ if (!tmp)
+ return;
+
+ name = json_object_get_string(tmp);
+ cb(script, name, obj);
+}
+
+static void
+netifd_parse_script_handler(const char *name, script_dump_cb cb)