#include "ocs.h"Go to the source code of this file.
Macros | |
| #define | domain_printf(domain, fmt,...) |
Functions | |
| void | ocs_mgmt_domain_list (ocs_textbuf_t *textbuf, void *domain) |
| void | ocs_mgmt_domain_get_all (ocs_textbuf_t *textbuf, void *domain) |
| int | ocs_mgmt_domain_get (ocs_textbuf_t *textbuf, char *parent, char *name, void *domain) |
| int | ocs_mgmt_domain_set (char *parent, char *name, char *value, void *domain) |
| int | ocs_mgmt_domain_exec (char *parent, char *action, void *arg_in, uint32_t arg_in_length, void *arg_out, uint32_t arg_out_length, void *domain) |
| ocs_domain_t * | ocs_domain_alloc (ocs_t *ocs) |
| Allocate a domain object. More... | |
| void | ocs_domain_free (ocs_domain_t *domain) |
| free a domain object More... | |
| void | ocs_domain_force_free (ocs_domain_t *domain) |
| Free memory resources of a domain object. More... | |
| ocs_domain_t * | ocs_domain_get_instance (ocs_t *ocs, uint32_t index) |
| Return a pointer to the domain, given the instance index. More... | |
| int | ocs_ddump_domain (ocs_textbuf_t *textbuf, ocs_domain_t *domain) |
| Generate domain ddump. More... | |
Variables | |
| static ocs_mgmt_functions_t | domain_mgmt_functions |
| #define domain_printf | ( | domain, | |
| fmt, | |||
| ... | |||
| ) |
Definition at line 39 of file ocs_domain.c.
| void ocs_domain_force_free | ( | ocs_domain_t * | domain | ) |
Free memory resources of a domain object.
After the domain object is freed, its child objects are also freed.
| domain | Pointer to a domain object. |
Definition at line 147 of file ocs_domain.c.
| ocs_domain_t* ocs_domain_get_instance | ( | ocs_t * | ocs, |
| uint32_t | index | ||
| ) |
Return a pointer to the domain, given the instance index.
A pointer to the domain context, given by the index, is returned.
| ocs | Pointer to the driver instance context. |
| index | Instance index. |
Definition at line 173 of file ocs_domain.c.
| int ocs_mgmt_domain_exec | ( | char * | parent, |
| char * | action, | ||
| void * | arg_in, | ||
| uint32_t | arg_in_length, | ||
| void * | arg_out, | ||
| uint32_t | arg_out_length, | ||
| void * | domain | ||
| ) |
Definition at line 346 of file ocs_domain.c.
| int ocs_mgmt_domain_get | ( | ocs_textbuf_t * | textbuf, |
| char * | parent, | ||
| char * | name, | ||
| void * | domain | ||
| ) |
Definition at line 256 of file ocs_domain.c.
| void ocs_mgmt_domain_get_all | ( | ocs_textbuf_t * | textbuf, |
| void * | domain | ||
| ) |
Definition at line 296 of file ocs_domain.c.
| void ocs_mgmt_domain_list | ( | ocs_textbuf_t * | textbuf, |
| void * | domain | ||
| ) |
Definition at line 234 of file ocs_domain.c.
| int ocs_mgmt_domain_set | ( | char * | parent, |
| char * | name, | ||
| char * | value, | ||
| void * | domain | ||
| ) |
Definition at line 316 of file ocs_domain.c.
|
static |
Definition at line 51 of file ocs_domain.c.