Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
fd42db71
Unverified
Commit
fd42db71
authored
May 31, 2017
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
confile: dump lxc_get_config_item()
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
30aec088
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
confile.c
src/lxc/confile.c
+0
-6
confile.h
src/lxc/confile.h
+0
-2
No files found.
src/lxc/confile.c
View file @
fd42db71
...
@@ -2673,12 +2673,6 @@ static inline int lxc_get_conf_int(struct lxc_conf *c, char *retv, int inlen,
...
@@ -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
);
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
lxc_clear_config_item
(
struct
lxc_conf
*
c
,
const
char
*
key
)
{
{
int
ret
=
0
;
int
ret
=
0
;
...
...
src/lxc/confile.h
View file @
fd42db71
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
struct
lxc_conf
;
struct
lxc_conf
;
struct
lxc_list
;
struct
lxc_list
;
struct
lxc_container
;
typedef
int
(
*
config_set_cb
)(
const
char
*
,
const
char
*
,
struct
lxc_conf
*
);
typedef
int
(
*
config_set_cb
)(
const
char
*
,
const
char
*
,
struct
lxc_conf
*
);
typedef
int
(
*
config_get_cb
)(
const
char
*
,
char
*
,
int
,
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,
...
@@ -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
signed
long
lxc_config_parse_arch
(
const
char
*
arch
);
extern
int
lxc_fill_elevated_privileges
(
char
*
flaglist
,
int
*
flags
);
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
int
lxc_clear_config_item
(
struct
lxc_conf
*
c
,
const
char
*
key
);
extern
void
write_config
(
FILE
*
fout
,
struct
lxc_conf
*
c
);
extern
void
write_config
(
FILE
*
fout
,
struct
lxc_conf
*
c
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment