libnetconf  0.10.0-146_trunk
NETCONF Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Custom Datastore

libnetconf's API to use a server-specific datastore implementation. More...

Collaboration diagram for Custom Datastore:

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...
 

Detailed Description

libnetconf's API to use a server-specific datastore implementation.

Function Documentation

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.

Parameters
datastoreCustom datastore to store the data
custom_dataAny user provided data, passed to all the callbacks, but left intact by the library.
callbacksDefinition of what callbacks to use to perform various operations.