Netconf monitoring RFC 6022: datastores
This commit is contained in:
parent
1eefadfc74
commit
62b40a9397
7 changed files with 185 additions and 30 deletions
|
|
@ -52,7 +52,8 @@
|
|||
* modified, and these changes have not been committed or rolled back.
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t de_id; /* If set, lockaed by this client/session id */
|
||||
uint32_t de_id; /* If set, locked by this client/session id */
|
||||
struct timeval de_tv; /* Timevalue */
|
||||
cxobj *de_xml; /* cache */
|
||||
int de_modified; /* Dirty since loaded/copied/committed/etc XXX:nocache? */
|
||||
int de_empty; /* Empty on read from file, xmldb_readfile and xmldb_put sets it */
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ int xmldb_lock(clicon_handle h, const char *db, uint32_t id);
|
|||
int xmldb_unlock(clicon_handle h, const char *db);
|
||||
int xmldb_unlock_all(clicon_handle h, uint32_t id);
|
||||
uint32_t xmldb_islocked(clicon_handle h, const char *db);
|
||||
int xmldb_lock_timestamp(clicon_handle h, const char *db, struct timeval *tv);
|
||||
int xmldb_exists(clicon_handle h, const char *db);
|
||||
int xmldb_clear(clicon_handle h, const char *db);
|
||||
int xmldb_delete(clicon_handle h, const char *db);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue