summaryrefslogtreecommitdiff
path: root/include/yaml/yaml_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/yaml/yaml_version.h')
-rw-r--r--include/yaml/yaml_version.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/yaml/yaml_version.h b/include/yaml/yaml_version.h
new file mode 100644
index 0000000..bcea9b8
--- /dev/null
+++ b/include/yaml/yaml_version.h
@@ -0,0 +1,21 @@
+#ifndef YAML_VERSION_H
+#define YAML_VERSION_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+const char *
+yaml_get_version_string(void);
+
+void
+yaml_get_version(int *major, int *minor, int *patch);
+
+int
+yaml_check_version(int major, int minor, int patch);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* #ifndef YAML_VERSION_H */