X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus-internal.h;h=84ca770a8705305e797debc4fac1f9ecdcc995d7;hp=f3e2a7393558fdc0002bd2930c7088f601ea2f23;hb=29a2ed2f17350f29680fd7cdcae9d3a1e3e5886b;hpb=d366a6de839087d8a17e5855c14ae55e95b13c65 diff --git a/libubus-internal.h b/libubus-internal.h index f3e2a73..84ca770 100644 --- a/libubus-internal.h +++ b/libubus-internal.h @@ -17,15 +17,17 @@ #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); int ubus_send_msg(struct ubus_context *ctx, uint32_t seq, struct blob_attr *msg, int cmd, uint32_t peer); void ubus_process_msg(struct ubus_context *ctx, struct ubus_msghdr *hdr); -void ubus_process_invoke(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_unsubscribe(struct ubus_context *ctx, struct ubus_msghdr *hdr); +void ubus_process_obj_msg(struct ubus_context*ctx, struct ubus_msghdr *hdr); +void ubus_process_req_msg(struct ubus_context *ctx, struct ubus_msghdr *hdr); +void ubus_process_pending_msg(struct ubus_context *ctx); #endif