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
2d55502f
Unverified
Commit
2d55502f
authored
May 31, 2017
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
confile: implement config item clear callback
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
504a2217
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
confile.h
src/lxc/confile.h
+2
-2
No files found.
src/lxc/confile.h
View file @
2d55502f
...
@@ -33,12 +33,12 @@ struct lxc_list;
...
@@ -33,12 +33,12 @@ struct lxc_list;
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
*
);
typedef
int
(
*
config_cl
ear_cb
)(
void
);
typedef
int
(
*
config_cl
r_cb
)(
const
char
*
key
,
struct
lxc_conf
*
c
);
struct
lxc_config_t
{
struct
lxc_config_t
{
char
*
name
;
char
*
name
;
config_set_cb
set
;
config_set_cb
set
;
config_get_cb
get
;
config_get_cb
get
;
config_cl
ea
r_cb
clear
;
config_clr_cb
clear
;
};
};
extern
struct
lxc_config_t
*
lxc_getconfig
(
const
char
*
key
);
extern
struct
lxc_config_t
*
lxc_getconfig
(
const
char
*
key
);
...
...
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