14 #ifndef __LIBUBUS_IO_H
15 #define __LIBUBUS_IO_H
17 extern struct blob_buf
b;
20 struct blob_attr **
ubus_parse_msg(
struct blob_attr *msg,
size_t len);
24 struct blob_attr *msg,
int cmd, uint32_t
peer,
int fd);
27 struct blob_attr *msg,
int cmd, uint32_t
peer);
29 struct blob_attr *msg,
int cmd, uint32_t
peer);
static struct ubus_context * ctx
void ubus_process_obj_msg(struct ubus_context *ctx, struct ubus_msghdr_buf *buf, int fd)
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, int fd)
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_msg(struct ubus_context *ctx, struct ubus_msghdr_buf *buf, int fd)
void __hidden ubus_poll_data(struct ubus_context *ctx, int timeout)
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_req_msg(struct ubus_context *ctx, struct ubus_msghdr_buf *buf, int fd)
const struct ubus_method watch_method
struct blob_attr ** ubus_parse_msg(struct blob_attr *msg, size_t len)
bool ubus_validate_hdr(struct ubus_msghdr *hdr)
const struct ubus_method watch_method __hidden