17 #ifndef SYSREPO_NETCONF_ACM_H_
18 #define SYSREPO_NETCONF_ACM_H_
20 #include "../sysrepo.h"
int sr_nacm_glob_stats_subscribe(sr_session_ctx_t *session, sr_subscr_options_t opts, sr_subscription_ctx_t **sub)
Subscribe for providing global NACM stats. These include triggering subscriptions made by sr_nacm_ini...
const char * sr_nacm_get_user(sr_session_ctx_t *session)
Get the NACM user of the session.
struct sr_subscription_ctx_s sr_subscription_ctx_t
Sysrepo subscription context returned from sr_*_subscribe calls, it is supposed to be released by the...
const char * sr_nacm_get_recovery_user(void)
Get username of the NACM recovery user with unrestricted access.
int sr_nacm_init(sr_session_ctx_t *session, sr_subscr_options_t opts, sr_subscription_ctx_t **sub)
Initialize NACM and its callbacks.
struct sr_session_ctx_s sr_session_ctx_t
Sysrepo session on a connection.
void sr_nacm_destroy(void)
Destroy NACM.
int sr_nacm_set_user(sr_session_ctx_t *session, const char *user)
Set the NACM user for this session, which enables NACM for all operations on this session...
uint32_t sr_subscr_options_t
Options overriding default behavior of subscriptions, it is supposed to be a bitwise OR-ed value of a...