Optimization of xldb_put
Added flags parameter to default functions removed call to bind
This commit is contained in:
parent
23dcb58758
commit
d660c01a58
16 changed files with 50 additions and 60 deletions
|
|
@ -66,9 +66,7 @@ int xmldb_delete(clixon_handle h, const char *db);
|
|||
int xmldb_create(clixon_handle h, const char *db);
|
||||
/* utility functions */
|
||||
int xmldb_db_reset(clixon_handle h, const char *db);
|
||||
|
||||
cxobj *xmldb_cache_get(clixon_handle h, const char *db);
|
||||
|
||||
int xmldb_modified_get(clixon_handle h, const char *db);
|
||||
int xmldb_modified_set(clixon_handle h, const char *db, int value);
|
||||
int xmldb_empty_get(clixon_handle h, const char *db);
|
||||
|
|
|
|||
|
|
@ -49,10 +49,9 @@ typedef enum yang_class yang_class;
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
int xml_default_recurse(cxobj *xn, int state);
|
||||
int xml_default_recurse_flag(cxobj *xn, int state, int flag);
|
||||
int xml_default_recurse(cxobj *xn, int state, int flag);
|
||||
int xml_global_defaults(clixon_handle h, cxobj *xn, cvec *nsc, const char *xpath, yang_stmt *yspec, int state);
|
||||
int xml_defaults_nopresence(cxobj *xn, int purge);
|
||||
int xml_default_nopresence(cxobj *xn, int mode, int flag);
|
||||
int xml_add_default_tag(cxobj *x, uint16_t flags);
|
||||
int xml_flag_state_default_value(cxobj *x, uint16_t flag);
|
||||
int xml_flag_default_value(cxobj *x, uint16_t flag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue