confile: adapt layout of getter callback

parent fce687aa
......@@ -33,7 +33,7 @@ struct lxc_list;
struct lxc_container;
typedef int (*config_set_cb)(const char *, const char *, struct lxc_conf *);
typedef int (*config_get_cb)(struct lxc_container *, const char *, char *, int);
typedef int (*config_get_cb)(const char *, char *, int, struct lxc_conf *);
typedef int (*config_clear_cb)(void);
struct lxc_config_t {
char *name;
......
......@@ -1999,7 +1999,7 @@ static int do_lxcapi_get_config_item(struct lxc_container *c, const char *key, c
* implemented.
*/
if (config && config->get)
ret = config->get(c, key, retv, inlen);
ret = config->get(key, retv, inlen, c->lxc_conf);
container_mem_unlock(c);
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment