summaryrefslogtreecommitdiffstats
path: root/src/aclk/schema-wrappers/proto_2_json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aclk/schema-wrappers/proto_2_json.h')
-rw-r--r--src/aclk/schema-wrappers/proto_2_json.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/aclk/schema-wrappers/proto_2_json.h b/src/aclk/schema-wrappers/proto_2_json.h
new file mode 100644
index 000000000..3bd98478c
--- /dev/null
+++ b/src/aclk/schema-wrappers/proto_2_json.h
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef PROTO_2_JSON_H
+#define PROTO_2_JSON_H
+
+#include <sys/types.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+char *protomsg_to_json(const void *protobin, size_t len, const char *msgname);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* PROTO_2_JSON_H */