summaryrefslogtreecommitdiffstats
path: root/core/xmp_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/xmp_parser.h')
-rw-r--r--core/xmp_parser.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/xmp_parser.h b/core/xmp_parser.h
new file mode 100644
index 000000000..8bdcb6de4
--- /dev/null
+++ b/core/xmp_parser.h
@@ -0,0 +1,11 @@
+// Parse XMP blocks using libxml2
+
+#ifndef XMP_PARSER_H
+#define XMP_PARSER_H
+
+#include "units.h" // for timestamp_t
+#include <stddef.h> // for size_t
+
+timestamp_t parse_xmp(const char *data, size_t size); // On failure returns 0.
+
+#endif // XMP_PARSER_H