Clixon config option CLICON_XMLDB_CACHE renamed to CLICON_DATASTORE_CACHE and changed type from boolean to datastore_cache
This commit is contained in:
parent
70221742f7
commit
99b7a1fe5b
13 changed files with 207 additions and 150 deletions
|
|
@ -73,6 +73,15 @@ enum startup_mode_t{
|
|||
SM_INIT
|
||||
};
|
||||
|
||||
/*! Datastore cache behaviour, see clixon_datastore.[ch]
|
||||
* See config option type datastore_cache in clixon-config.yang
|
||||
*/
|
||||
enum datastore_cache{
|
||||
DATASTORE_NOCACHE,
|
||||
DATASTORE_CACHE,
|
||||
DATASTORE_CACHE_ZEROCOPY
|
||||
};
|
||||
|
||||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
|
|
@ -163,6 +172,7 @@ int clicon_sock_family(clicon_handle h);
|
|||
int clicon_sock_port(clicon_handle h);
|
||||
int clicon_autocommit(clicon_handle h);
|
||||
int clicon_startup_mode(clicon_handle h);
|
||||
enum datastore_cache clicon_datastore_cache(clicon_handle h);
|
||||
|
||||
/*-- Specific option access functions for non-yang options --*/
|
||||
int clicon_quiet_mode(clicon_handle h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue