mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdaemon: Export chain_node from config-utils.c.
This commit is contained in:
parent
e3c831030d
commit
2ebb4f4ca3
@ -132,9 +132,9 @@ int set_flag(struct dm_config_tree *cft, struct dm_config_node *parent,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void chain_node(struct dm_config_node *cn,
|
void chain_node(struct dm_config_node *cn,
|
||||||
struct dm_config_node *parent,
|
struct dm_config_node *parent,
|
||||||
struct dm_config_node *pre_sib)
|
struct dm_config_node *pre_sib)
|
||||||
{
|
{
|
||||||
cn->parent = parent;
|
cn->parent = parent;
|
||||||
cn->sib = NULL;
|
cn->sib = NULL;
|
||||||
|
@ -37,6 +37,10 @@ int buffer_line(const char *line, void *baton);
|
|||||||
int set_flag(struct dm_config_tree *cft, struct dm_config_node *parent,
|
int set_flag(struct dm_config_tree *cft, struct dm_config_node *parent,
|
||||||
const char *field, const char *flag, int want);
|
const char *field, const char *flag, int want);
|
||||||
|
|
||||||
|
void chain_node(struct dm_config_node *cn,
|
||||||
|
struct dm_config_node *parent,
|
||||||
|
struct dm_config_node *pre_sib);
|
||||||
|
|
||||||
struct dm_config_node *make_config_node(struct dm_config_tree *cft,
|
struct dm_config_node *make_config_node(struct dm_config_tree *cft,
|
||||||
const char *key,
|
const char *key,
|
||||||
struct dm_config_node *parent,
|
struct dm_config_node *parent,
|
||||||
|
Loading…
Reference in New Issue
Block a user