master - libdm: add dm_config_parse_without_dup_node_check
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7563e69cf13126af5889de147c092b9d2e490648 Commit: 7563e69cf13126af5889de147c092b9d2e490648 Parent: 094488ffab4837fa14069b81a15e0a6bdaca8a73 Author: Peter Rajnoha <[email protected]> AuthorDate: Wed Sep 21 14:25:24 2016 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Sep 21 18:15:18 2016 +0200
libdm: add dm_config_parse_without_dup_node_check
Introduce function for config parsing tree without checking for duplicate nodes.
--- WHATS_NEW_DM | 1 + libdm/.exported_symbols.DM_1_02_135 | 1 + libdm/libdevmapper.h | 1 + libdm/libdm-config.c | 47 +++++++++++++++++++++++------------ 4 files changed, 34 insertions(+), 16 deletions(-)
WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@ Version 1.02.135 - ===================================== + Introduce new dm_config_parse_without_dup_node_check(). Version 1.02.134 - 7th September 2016 =====================================
libdm/.exported_symbols.DM_1_02_135 new file +1 -0
@@ -0,0 +1 @@ +dm_config_parse_without_dup_node_check
libdm/libdevmapper.h +1 -0
@@ -3333,6 +3333,7 @@ struct dm_config_tree {struct dm_config_tree *dm_config_create (void );struct dm_config_tree *dm_config_from_string (const char *config_settings);int dm_config_parse (struct dm_config_tree *cft,const char *start,const char *end); +int dm_config_parse_without_dup_node_check (struct dm_config_tree *cft,const char *start,const char *end);void *dm_config_get_custom (struct dm_config_tree *cft);void dm_config_set_custom (struct dm_config_tree *cft,void *custom);
libdm/libdm-config.c +31 -16
102 lines not on this page · raw message