lxc_config_readline() will be used to parse configuration variable
assigned from the command line with --define
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
return config->cb(key, value, data);
}
+int lxc_config_readline(char *buffer, struct lxc_conf *conf)
+{
+ return parse_line(buffer, conf);
+}
+
int lxc_config_read(const char *file, struct lxc_conf *conf)
{
char buffer[MAXPATHLEN];
struct lxc_conf;
extern int lxc_config_read(const char *file, struct lxc_conf *conf);
-
+extern int lxc_config_readline(char *buffer, struct lxc_conf *conf);