]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
confile: non-functional changes
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 10 Aug 2017 22:13:25 +0000 (00:13 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 15 Aug 2017 21:00:01 +0000 (17:00 -0400)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.h

index 5dab2d9f90b12e46a624ef052450af557ead792e..37718ed0555eeaf660f1710b2046ed6361b36b70 100644 (file)
 struct lxc_conf;
 struct lxc_list;
 
-typedef int (*config_set_cb)(const char *, const char *, struct lxc_conf *,
+typedef int (*config_set_cb)(const char *key, const char *value,
+                            struct lxc_conf *conf, void *data);
+typedef int (*config_get_cb)(const char *key, char *value, int inlen,
+                            struct lxc_conf *conf);
+typedef int (*config_clr_cb)(const char *key, struct lxc_conf *conf,
                             void *data);
-typedef int (*config_get_cb)(const char *, char *, int, struct lxc_conf *);
-typedef int (*config_clr_cb)(const char *, struct lxc_conf *c, void *data);
+
 struct lxc_config_t {
        char *name;
        config_set_cb set;