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
6bede808
Unverified
Commit
6bede808
authored
May 31, 2017
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
confile: adapt layout of getter callback
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
fce687aa
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
confile.c
src/lxc/confile.c
+0
-0
confile.h
src/lxc/confile.h
+1
-1
lxccontainer.c
src/lxc/lxccontainer.c
+1
-1
No files found.
src/lxc/confile.c
View file @
6bede808
This diff is collapsed.
Click to expand it.
src/lxc/confile.h
View file @
6bede808
...
@@ -33,7 +33,7 @@ struct lxc_list;
...
@@ -33,7 +33,7 @@ struct lxc_list;
struct
lxc_container
;
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
)(
struct
lxc_container
*
,
const
char
*
,
char
*
,
int
);
typedef
int
(
*
config_get_cb
)(
const
char
*
,
char
*
,
int
,
struct
lxc_conf
*
);
typedef
int
(
*
config_clear_cb
)(
void
);
typedef
int
(
*
config_clear_cb
)(
void
);
struct
lxc_config_t
{
struct
lxc_config_t
{
char
*
name
;
char
*
name
;
...
...
src/lxc/lxccontainer.c
View file @
6bede808
...
@@ -1999,7 +1999,7 @@ static int do_lxcapi_get_config_item(struct lxc_container *c, const char *key, c
...
@@ -1999,7 +1999,7 @@ static int do_lxcapi_get_config_item(struct lxc_container *c, const char *key, c
* implemented.
* implemented.
*/
*/
if
(
config
&&
config
->
get
)
if
(
config
&&
config
->
get
)
ret
=
config
->
get
(
c
,
key
,
retv
,
inlen
);
ret
=
config
->
get
(
key
,
retv
,
inlen
,
c
->
lxc_conf
);
container_mem_unlock
(
c
);
container_mem_unlock
(
c
);
return
ret
;
return
ret
;
...
...
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