X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus-internal.h;h=84ca770a8705305e797debc4fac1f9ecdcc995d7;hp=86ba6bd17347cf94a77ec6bd9a6044fe4ee9c63f;hb=29d7092252a10c11ac137e38c871e301e26a8c11;hpb=7cd33a8e3a64a2b181fe9722b599302b62c7147c diff --git a/libubus-internal.h b/libubus-internal.h index 86ba6bd..84ca770 100644 --- a/libubus-internal.h +++ b/libubus-internal.h @@ -17,6 +17,7 @@ #define __hidden __attribute__((visibility ("hidden"))) extern struct blob_buf b; +extern const struct ubus_method watch_method; struct blob_attr **ubus_parse_msg(struct blob_attr *msg); void ubus_handle_data(struct uloop_fd *u, unsigned int events); @@ -26,6 +27,7 @@ void ubus_process_msg(struct ubus_context *ctx, struct ubus_msghdr *hdr); int __hidden ubus_start_request(struct ubus_context *ctx, struct ubus_request *req, struct blob_attr *msg, int cmd, uint32_t peer); void ubus_process_obj_msg(struct ubus_context*ctx, struct ubus_msghdr *hdr); -extern const struct ubus_method watch_method; +void ubus_process_req_msg(struct ubus_context *ctx, struct ubus_msghdr *hdr); +void ubus_process_pending_msg(struct ubus_context *ctx); #endif