summaryrefslogtreecommitdiff
path: root/menuselect/menuselect.c
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2016-08-01 15:13:17 -0600
committerGeorge Joseph <gjoseph@digium.com>2016-08-01 15:13:17 -0600
commit1f95c011c7762c430760b3afe7170b71b2b29b16 (patch)
treeb92a37fe0a0429a7edaff844984bb7b585f3ac1c /menuselect/menuselect.c
parent104b17eea90d00c8412a32611fdd8d25030589f2 (diff)
menuselect: Add an opaque "member_data" string to the acceptable xml
Change-Id: Id5ac43b95c8d7395f3be37f983632169db3d1afe
Diffstat (limited to 'menuselect/menuselect.c')
-rw-r--r--menuselect/menuselect.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/menuselect/menuselect.c b/menuselect/menuselect.c
index f6a7fb39b..da972d8b1 100644
--- a/menuselect/menuselect.c
+++ b/menuselect/menuselect.c
@@ -386,6 +386,11 @@ static int process_xml_use_node(xmlNode *node, struct member *mem)
return process_xml_ref_node(node, mem, &mem->uses);
}
+static int process_xml_member_data_node(xmlNode *node, struct member *mem)
+{
+ return 0;
+}
+
static int process_xml_unknown_node(xmlNode *node, struct member *mem)
{
fprintf(stderr, "Encountered unknown node: %s\n", node->name);
@@ -404,6 +409,7 @@ static const struct {
{ "depend", process_xml_depend_node },
{ "conflict", process_xml_conflict_node },
{ "use", process_xml_use_node },
+ { "member_data", process_xml_member_data_node },
};
static node_handler lookup_node_handler(xmlNode *node)