Skip to content

Commit

Permalink
server CHANGE sysrepo state data callback prototype changed
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Nov 21, 2018
1 parent 0474a0e commit e84838a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ enum LOOPCTRL {
volatile enum LOOPCTRL control = LOOP_CONTINUE;

static void *worker_thread(void *arg);
static int np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t request_id, void *private_ctx);
static int np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t request_id,
const char *original_xpath, void *private_ctx);
static void np2srv_feature_change_clb(const char *module_name, const char *feature_name, bool enabled, void *private_ctx);
static void np2srv_module_install_clb(const char *module_name, const char *revision, sr_module_state_t state, void *private_ctx);

Expand Down Expand Up @@ -595,7 +596,8 @@ np2srv_feature_change_clb(const char *module_name, const char *feature_name, boo
}

static int
np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t UNUSED(request_id), void *UNUSED(private_ctx))
np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t UNUSED(request_id),
const char *UNUSED(original_xpath), void *UNUSED(private_ctx))
{
struct lyd_node *data = NULL, *node, *iter;
struct ly_set *set = NULL;
Expand Down

0 comments on commit e84838a

Please sign in to comment.