]> 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)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 10 Aug 2017 22:13:25 +0000 (00:13 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.h

index a5c2e36bf06f0082c8f49549882aa42d8412b21d..191676ffb3b084f27d356afb2ce62a14a0d4f85c 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, void *data);
+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 *,
-                            void *);
-typedef int (*config_clr_cb)(const char *, struct lxc_conf *c, void *data);
 
 struct lxc_config_t {
        char *name;