Amxb_Ubus
3.3.1
Ambiorix Ubus API
|
Go to the source code of this file.
Data Structures | |
struct | _amxb_ubus_fcall |
Typedefs | |
typedef struct _amxb_ubus_fcall | amxb_ubus_fcall_t |
Functions | |
static enum blobmsg_type | amxb_ubus_var_type_to_ubus_type (int type) |
static int | isdot (int c) |
static int | amxb_ubus_amxd_to_ubus_status (amxd_status_t rv) |
static void | amxb_ubus_func_return (amxb_ubus_t *amxb_ubus_ctx, amxc_var_t *ret) |
static void | amxb_ubus_build_messages (amxb_ubus_fcall_t *fcall, amxc_var_t *ret, amxc_var_t *args, amxc_var_t *status) |
static void | amxb_ubus_exec_done (const amxc_var_t *const data, void *const priv) |
static void | amxb_ubus_call_func (const amxc_var_t *const data, void *const priv) |
static int | amxb_ubus_func_handler (struct ubus_context *ctx, struct ubus_object *obj, struct ubus_request_data *req, const char *method, struct blob_attr *msg) |
static void | amxb_register_add_function (amxd_object_t *const object, const char *name, struct ubus_method *ubus_method) |
static bool | amxb_ubus_filter_object (amxd_object_t *const object, AMXB_UNUSED int32_t depth, AMXB_UNUSED void *priv) |
static void | amxb_ubus_send_notification (const char *const sig_name, const amxc_var_t *const data, void *const priv) |
static void | amxb_ubus_subcribe (AMXB_UNUSED struct ubus_context *ctx, struct ubus_object *obj) |
static void | amxb_ubus_build_obj (amxb_ubus_t *amxb_ubus_ctx, amxb_ubus_object_t *obj, amxd_object_t *const object) |
static void | amxb_ubus_register_object (amxd_object_t *const object, AMXB_UNUSED int32_t depth, void *priv) |
static void | amxb_ubus_register_add (const char *const sig_name, const amxc_var_t *const data, void *const priv) |
static void | amxb_ubus_register_tree (AMXB_UNUSED const char *const sig_name, const amxc_var_t *const data, void *const priv) |
static void | amxb_ubus_register_remove (const char *const sig_name, const amxc_var_t *const data, void *const priv) |
static void | amxb_ubus_register_dm (UNUSED const char *const sig_name, UNUSED const amxc_var_t *const data, void *const priv) |
void PRIVATE | amxb_ubus_cancel_requests (amxb_ubus_t *amxb_ubus_ctx) |
void PRIVATE | amxb_ubus_obj_it_free (amxc_llist_it_t *it) |
int PRIVATE | amxb_ubus_register (void *const ctx, amxd_dm_t *const dm) |
typedef struct _amxb_ubus_fcall amxb_ubus_fcall_t |
|
static |
Definition at line 305 of file amxb_ubus_register.c.
|
static |
|
static |
Definition at line 153 of file amxb_ubus_register.c.
|
static |
Definition at line 410 of file amxb_ubus_register.c.
|
static |
Definition at line 203 of file amxb_ubus_register.c.
void PRIVATE amxb_ubus_cancel_requests | ( | amxb_ubus_t * | amxb_ubus_ctx | ) |
Definition at line 592 of file amxb_ubus_register.c.
|
static |
Definition at line 187 of file amxb_ubus_register.c.
|
static |
|
static |
Definition at line 261 of file amxb_ubus_register.c.
|
static |
Definition at line 133 of file amxb_ubus_register.c.
void PRIVATE amxb_ubus_obj_it_free | ( | amxc_llist_it_t * | it | ) |
Definition at line 614 of file amxb_ubus_register.c.
int PRIVATE amxb_ubus_register | ( | void *const | ctx, |
amxd_dm_t *const | dm | ||
) |
Definition at line 639 of file amxb_ubus_register.c.
|
static |
Definition at line 476 of file amxb_ubus_register.c.
|
static |
Definition at line 543 of file amxb_ubus_register.c.
|
static |
Definition at line 448 of file amxb_ubus_register.c.
|
static |
Definition at line 510 of file amxb_ubus_register.c.
|
static |
Definition at line 493 of file amxb_ubus_register.c.
|
static |
Definition at line 361 of file amxb_ubus_register.c.
|
static |
Definition at line 376 of file amxb_ubus_register.c.
|
static |
|
static |