libnetconf
0.10.0-146_trunk
NETCONF Library
|
libnetconf's API to use a server-specific datastore implementation. More...
Data Structures | |
struct | ncds_custom_funcs |
Public callbacks for the data store. More... | |
Functions | |
void | ncds_custom_set_data (struct ncds_ds *datastore, void *custom_data, const struct ncds_custom_funcs *callbacks) |
Set custom data stored in custom datastore. More... | |
libnetconf's API to use a server-specific datastore implementation.
void ncds_custom_set_data | ( | struct ncds_ds * | datastore, |
void * | custom_data, | ||
const struct ncds_custom_funcs * | callbacks | ||
) |
Set custom data stored in custom datastore.
Call after allocating the custom data store, but before initializing it.
datastore | Custom datastore to store the data |
custom_data | Any user provided data, passed to all the callbacks, but left intact by the library. |
callbacks | Definition of what callbacks to use to perform various operations. |