summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/Makefile.am2
-rw-r--r--hcid/service-record.dtd12
2 files changed, 13 insertions, 1 deletions
diff --git a/hcid/Makefile.am b/hcid/Makefile.am
index 98f9e8ad..522be2f5 100644
--- a/hcid/Makefile.am
+++ b/hcid/Makefile.am
@@ -49,6 +49,6 @@ AM_YFLAGS = -d
CLEANFILES = lexer.c parser.c parser.h
-EXTRA_DIST = $(man_MANS) hcid.conf bluez-hcid.conf dbus-api.txt
+EXTRA_DIST = $(man_MANS) hcid.conf bluez-hcid.conf service-record.dtd dbus-api.txt
MAINTAINERCLEANFILES = Makefile.in
diff --git a/hcid/service-record.dtd b/hcid/service-record.dtd
new file mode 100644
index 00000000..8f86ca32
--- /dev/null
+++ b/hcid/service-record.dtd
@@ -0,0 +1,12 @@
+<!ELEMENT record (attribute)*>
+
+<!ELEMENT attribute (data|sequence|alternate)+>
+<!ATTLIST attribute id CDATA #REQUIRED>
+
+<!ELEMENT sequence (data|sequence|alternate)+>
+
+<!ELEMENT alternate (data|sequence|alternate)+>
+
+<!ELEMENT data EMPTY>
+<!ATTLIST data type CDATA #REQUIRED>
+<!ATTLIST data value CDATA #REQUIRED>