mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 04:56:31 +00:00
confile: dump lxc_get_config_item()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
30aec0886f
commit
fd42db71fd
@ -2673,12 +2673,6 @@ static inline int lxc_get_conf_int(struct lxc_conf *c, char *retv, int inlen,
|
||||
return snprintf(retv, inlen, "%d", v);
|
||||
}
|
||||
|
||||
int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv,
|
||||
int inlen)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int lxc_clear_config_item(struct lxc_conf *c, const char *key)
|
||||
{
|
||||
int ret = 0;
|
||||
|
@ -30,7 +30,6 @@
|
||||
|
||||
struct lxc_conf;
|
||||
struct lxc_list;
|
||||
struct lxc_container;
|
||||
|
||||
typedef int (*config_set_cb)(const char *, const char *, struct lxc_conf *);
|
||||
typedef int (*config_get_cb)(const char *, char *, int, struct lxc_conf *);
|
||||
@ -56,7 +55,6 @@ extern int lxc_config_define_load(struct lxc_list *defines,
|
||||
extern signed long lxc_config_parse_arch(const char *arch);
|
||||
extern int lxc_fill_elevated_privileges(char *flaglist, int *flags);
|
||||
|
||||
extern int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv, int inlen);
|
||||
extern int lxc_clear_config_item(struct lxc_conf *c, const char *key);
|
||||
extern void write_config(FILE *fout, struct lxc_conf *c);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user