X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=libubus-internal.h;h=e4a58256121f0987d7dc8fbd066b04e9a0b70376;hb=bbd3fbc9cc914abfca9030253c0f2a68e1144c85;hp=3da057ee74ee05a64490e2b679c04109a0cfec1c;hpb=47a9ab0c645d4d49def8080ae68c7c477e733530;p=project%2Fubus.git diff --git a/libubus-internal.h b/libubus-internal.h index 3da057e..e4a5825 100644 --- a/libubus-internal.h +++ b/libubus-internal.h @@ -14,8 +14,6 @@ #ifndef __LIBUBUS_IO_H #define __LIBUBUS_IO_H -#define __hidden __attribute__((visibility ("hidden"))) - extern struct blob_buf b; extern const struct ubus_method watch_method; @@ -28,6 +26,7 @@ int __hidden ubus_start_request(struct ubus_context *ctx, struct ubus_request *r struct blob_attr *msg, int cmd, uint32_t peer); 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, int fd); -void ubus_process_pending_msg(struct ubus_context *ctx); +void __hidden ubus_poll_data(struct ubus_context *ctx, int timeout); + #endif