Added cache for modules-state RFC7895 to avoid building new XML every get call
This commit is contained in:
parent
a20865846e
commit
3c332b689f
8 changed files with 193 additions and 76 deletions
|
|
@ -202,4 +202,8 @@ int clicon_username_set(clicon_handle h, void *username);
|
|||
int clicon_socket_get(clicon_handle h);
|
||||
int clicon_socket_set(clicon_handle h, int s);
|
||||
|
||||
/*! Set and set module state cache */
|
||||
cxobj *clicon_module_state_get(clicon_handle h);
|
||||
int clicon_module_state_set(clicon_handle h, cxobj *xms);
|
||||
|
||||
#endif /* _CLIXON_OPTIONS_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue