Ubus
OpenWrt system message/RPC bus.
|
Go to the source code of this file.
Functions | |
struct blob_attr ** | ubus_parse_msg (struct blob_attr *msg, size_t len) |
bool | ubus_validate_hdr (struct ubus_msghdr *hdr) |
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) |
void | ubus_process_msg (struct ubus_context *ctx, struct ubus_msghdr_buf *buf, int fd) |
int __hidden | ubus_start_request (struct ubus_context *ctx, struct ubus_request *req, struct blob_attr *msg, int cmd, uint32_t peer) |
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_buf *buf, int fd) |
void | ubus_process_req_msg (struct ubus_context *ctx, struct ubus_msghdr_buf *buf, int fd) |
void __hidden | ubus_poll_data (struct ubus_context *ctx, int timeout) |
Variables | |
struct blob_buf | b |
const struct ubus_method | watch_method |
int __hidden __ubus_start_request | ( | struct ubus_context * | ctx, |
struct ubus_request * | req, | ||
struct blob_attr * | msg, | ||
int | cmd, | ||
uint32_t | peer | ||
) |
Definition at line 53 of file libubus-req.c.
void ubus_handle_data | ( | struct uloop_fd * | u, |
unsigned int | events | ||
) |
Definition at line 312 of file libubus-io.c.
struct blob_attr** ubus_parse_msg | ( | struct blob_attr * | msg, |
size_t | len | ||
) |
void __hidden ubus_poll_data | ( | struct ubus_context * | ctx, |
int | timeout | ||
) |
Definition at line 335 of file libubus-io.c.
void ubus_process_msg | ( | struct ubus_context * | ctx, |
struct ubus_msghdr_buf * | buf, | ||
int | fd | ||
) |
Definition at line 93 of file libubus.c.
void ubus_process_obj_msg | ( | struct ubus_context * | ctx, |
struct ubus_msghdr_buf * | buf, | ||
int | fd | ||
) |
Definition at line 115 of file libubus-obj.c.
void ubus_process_req_msg | ( | struct ubus_context * | ctx, |
struct ubus_msghdr_buf * | buf, | ||
int | fd | ||
) |
Definition at line 462 of file libubus-req.c.
int ubus_send_msg | ( | struct ubus_context * | ctx, |
uint32_t | seq, | ||
struct blob_attr * | msg, | ||
int | cmd, | ||
uint32_t | peer, | ||
int | fd | ||
) |
Definition at line 126 of file libubus-io.c.
int __hidden ubus_start_request | ( | struct ubus_context * | ctx, |
struct ubus_request * | req, | ||
struct blob_attr * | msg, | ||
int | cmd, | ||
uint32_t | peer | ||
) |
Definition at line 69 of file libubus-req.c.
bool ubus_validate_hdr | ( | struct ubus_msghdr * | hdr | ) |
|
extern |
Definition at line 1 of file ubusd_proto.c.
|
extern |