Go to the source code of this file.
Declare driver's domain handler exported interface
Definition in file ocs_domain.h.
Functions | |
| int | ocs_ddump_domain (ocs_textbuf_t *textbuf, ocs_domain_t *domain) |
| Generate domain ddump. More... | |
| 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... | |
| 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.