summaryrefslogtreecommitdiffstats
path: root/aclk/schema-wrappers/proto_2_json.h
diff options
context:
space:
mode:
Diffstat (limited to 'aclk/schema-wrappers/proto_2_json.h')
-rw-r--r--aclk/schema-wrappers/proto_2_json.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/aclk/schema-wrappers/proto_2_json.h b/aclk/schema-wrappers/proto_2_json.h
new file mode 100644
index 00000000..3bd98478
--- /dev/null
+++ b/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 */