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 16:14:29 -0500
commitf6276441b1f93f15cdf4a3586447db2a4f721417 (patch)
tree33669c85359aa0b60b6b8bb3aff91bbeeeb2a0e9 /menuselect/menuselect.c
parentde7e9fe95b7052b8c8ee8a669c087901eab867a9 (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)