+static int test_hello(struct ubus_object *obj, struct ubus_request_data *req,
+ const char *method, struct blob_attr *msg)
+{
+ fprintf(stderr, "Hello, world!\n");
+ return 0;
+}
+
+static const struct ubus_method test_methods[] = {
+ { .name = "hello", .handler = test_hello },
+};
+