Removed other datastore options than cached
Marked `CLICON_DATASTORE_CACHE` as obsolete
This commit is contained in:
parent
bca315ef9d
commit
9989ee4d52
13 changed files with 75 additions and 530 deletions
|
|
@ -53,8 +53,6 @@ int xmldb_get(clixon_handle h, const char *db, cvec *nsc, char *xpath, cxobj **x
|
|||
int xmldb_get0(clixon_handle h, const char *db, yang_bind yb,
|
||||
cvec *nsc, const char *xpath, int copy, withdefaults_type wdef,
|
||||
cxobj **xtop, modstate_diff_t *msd, cxobj **xerr);
|
||||
int xmldb_get0_clear(clixon_handle h, cxobj *x);
|
||||
int xmldb_get0_free(clixon_handle h, cxobj **xp);
|
||||
int xmldb_put(clixon_handle h, const char *db, enum operation_type op, cxobj *xt, char *username, cbuf *cbret); /* in clixon_datastore_write.[ch] */
|
||||
int xmldb_copy(clixon_handle h, const char *from, const char *to);
|
||||
int xmldb_lock(clixon_handle h, const char *db, uint32_t id);
|
||||
|
|
|
|||
|
|
@ -85,16 +85,6 @@ enum nacm_credentials_t{
|
|||
NC_EXCEPT /* Exact match except for root and www user */
|
||||
};
|
||||
|
||||
/*! 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
|
||||
};
|
||||
|
||||
/*! yang clixon regexp engine
|
||||
*
|
||||
* @see regexp_mode in clixon-config.yang
|
||||
|
|
@ -204,7 +194,6 @@ enum priv_mode_t clicon_backend_privileges_mode(clixon_handle h);
|
|||
enum priv_mode_t clicon_restconf_privileges_mode(clixon_handle h);
|
||||
enum nacm_credentials_t clicon_nacm_credentials(clixon_handle h);
|
||||
|
||||
enum datastore_cache clicon_datastore_cache(clixon_handle h);
|
||||
enum regexp_mode clicon_yang_regexp(clixon_handle h);
|
||||
/*-- Specific option access functions for non-yang options --*/
|
||||
int clicon_quiet_mode(clixon_handle h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue