![]() |
yumapro
25.10-1
YumaPro SDK
|
Make sure to include "ncx_nmda.h" and "ncx_owner.h" to use the ncx_owner APIs. More...

Functions | |
| ncx_origin_filter_t * | ncx_nmda_new_origin_filter (ncx_nmda_origin_t origin) |
| Malloc a new ncx_origin_filter_t. More... | |
| void | ncx_nmda_free_origin_filter (ncx_origin_filter_t *filter) |
| Free a ncx_origin_filter_t struct. More... | |
| void | ncx_nmda_clean_origin_filterQ (dlq_hdr_t *filterQ) |
| Clean a Queue of ncx_origin_filter_t structs. More... | |
| ncx_nmda_params_t * | ncx_nmda_new_params (void) |
| Malloc a new ncx_nmda_params_t. More... | |
| void | ncx_nmda_free_params (ncx_nmda_params_t *params) |
| Free a ncx_nmda_params_t struct. More... | |
| ncx_nmda_ds_t | ncx_nmda_get_ds_enum (const xmlChar *ds_name) |
| Get the standard datastore enum for the string. More... | |
| const xmlChar * | ncx_nmda_get_ds_str (ncx_nmda_ds_t ds_enum) |
| Get the standard datastore string for the enum. More... | |
| const xmlChar * | ncx_nmda_get_full_ds_str (ncx_nmda_ds_t ds_enum) |
| Get the standard datastore string for the enum using the ds: prefix. More... | |
| ncx_nmda_ds_t | ncx_nmda_get_dsref_parm (val_value_t *parmval) |
| Handle the ds:datastore-ref data type parameter Extract the internal enum for the datastore. More... | |
| ncx_cfg_t | ncx_nmda_get_cfg_id (ncx_nmda_ds_t ds_enum) |
| Get the cfg datastore ID for the NMDA datastore ID. More... | |
| ncx_nmda_origin_t | ncx_nmda_get_originref_parm (val_value_t *parmval) |
| Handle the or:origin-ref data type parameter Extract the internal enum for the origin. More... | |
| ncx_nmda_origin_t | ncx_nmda_get_origin_enum (const xmlChar *or_name) |
| Get the standard origin enum for the string. More... | |
| const xmlChar * | ncx_nmda_get_origin_str (ncx_nmda_origin_t or_enum) |
| Get the standard origin string for the enum. More... | |
| boolean | ncx_nmda_ds_writable (ncx_nmda_ds_t ds_enum) |
| Return TRUE if the datastore is writable by a client. More... | |
| boolean | ncx_nmda_ds_conventional (ncx_nmda_ds_t ds_enum) |
| Return TRUE if the datastore is a conventional datastore which has config=true objects only. More... | |
| status_t | ncx_nmda_load_modules (dlq_hdr_t *devQ) |
| Load the ietf-datastore and ietf-origin modules. More... | |
| void | ncx_owner_init (void) |
| Initialize the Owner registry. More... | |
| void | ncx_owner_cleanup (void) |
| Cleanup the Owner registry. More... | |
| status_t | ncx_owner_store_name (const xmlChar *name, ncx_owner_id_t *id) |
| Add an owner name to the registry; return the ID,. More... | |
| const xmlChar * | ncx_owner_get_name (ncx_owner_id_t id) |
| Find an owner name to the registry. More... | |
Make sure to include "ncx_nmda.h" and "ncx_owner.h" to use the ncx_owner APIs.
| void ncx_nmda_clean_origin_filterQ | ( | dlq_hdr_t * | filterQ | ) |
Clean a Queue of ncx_origin_filter_t structs.
| filterQ | Q of ncx_origin_filter_t structs to free |


| boolean ncx_nmda_ds_conventional | ( | ncx_nmda_ds_t | ds_enum | ) |
Return TRUE if the datastore is a conventional datastore which has config=true objects only.
| ds_enum | datastore name enum |
| boolean ncx_nmda_ds_writable | ( | ncx_nmda_ds_t | ds_enum | ) |
Return TRUE if the datastore is writable by a client.
| ds_enum | datastore name enum |
| void ncx_nmda_free_origin_filter | ( | ncx_origin_filter_t * | filter | ) |
Free a ncx_origin_filter_t struct.
| filter | struct to free |

| void ncx_nmda_free_params | ( | ncx_nmda_params_t * | params | ) |
Free a ncx_nmda_params_t struct.
| params | struct to free |


| ncx_cfg_t ncx_nmda_get_cfg_id | ( | ncx_nmda_ds_t | ds_enum | ) |
Get the cfg datastore ID for the NMDA datastore ID.
| ds_enum | enum value for the datastore |
| ncx_nmda_ds_t ncx_nmda_get_ds_enum | ( | const xmlChar * | ds_name | ) |
Get the standard datastore enum for the string.
| ds_name | datastore name with no prefix |


| const xmlChar * ncx_nmda_get_ds_str | ( | ncx_nmda_ds_t | ds_enum | ) |
Get the standard datastore string for the enum.
| ds_enum | datastore name enum |
| ncx_nmda_ds_t ncx_nmda_get_dsref_parm | ( | val_value_t * | parmval | ) |
Handle the ds:datastore-ref data type parameter Extract the internal enum for the datastore.
| parmval | parameter with type ds:datastore-ref |

| const xmlChar * ncx_nmda_get_full_ds_str | ( | ncx_nmda_ds_t | ds_enum | ) |
Get the standard datastore string for the enum using the ds: prefix.
| ds_enum | datastore name enum |
| ncx_nmda_origin_t ncx_nmda_get_origin_enum | ( | const xmlChar * | or_name | ) |
Get the standard origin enum for the string.
| or_name | origin name with no prefix |


| const xmlChar * ncx_nmda_get_origin_str | ( | ncx_nmda_origin_t | or_enum | ) |
Get the standard origin string for the enum.
| or_enum | origin name enum |

| ncx_nmda_origin_t ncx_nmda_get_originref_parm | ( | val_value_t * | parmval | ) |
Handle the or:origin-ref data type parameter Extract the internal enum for the origin.
| parmval | parameter with type or:origin-ref |

| status_t ncx_nmda_load_modules | ( | dlq_hdr_t * | devQ | ) |
Load the ietf-datastore and ietf-origin modules.
| devQ | Q of ncx_save_deviations_t to use (may be NULL) |

| ncx_origin_filter_t * ncx_nmda_new_origin_filter | ( | ncx_nmda_origin_t | origin | ) |
| ncx_nmda_params_t * ncx_nmda_new_params | ( | void | ) |
Malloc a new ncx_nmda_params_t.


| void ncx_owner_cleanup | ( | void | ) |
Cleanup the Owner registry.

| const xmlChar * ncx_owner_get_name | ( | ncx_owner_id_t | id | ) |
Find an owner name to the registry.
| id | owner ID to find |

| void ncx_owner_init | ( | void | ) |
Initialize the Owner registry.

| status_t ncx_owner_store_name | ( | const xmlChar * | name, |
| ncx_owner_id_t * | id | ||
| ) |
Add an owner name to the registry; return the ID,.
| name | owner name to save | |
| [out] | id | return address of ID assigned
|
