summaryrefslogtreecommitdiff
path: root/mblock/src/lib/mb_protocol_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'mblock/src/lib/mb_protocol_class.h')
-rw-r--r--mblock/src/lib/mb_protocol_class.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mblock/src/lib/mb_protocol_class.h b/mblock/src/lib/mb_protocol_class.h
index f4382ada1..60b87709d 100644
--- a/mblock/src/lib/mb_protocol_class.h
+++ b/mblock/src/lib/mb_protocol_class.h
@@ -39,4 +39,14 @@ pmt_t mb_protocol_class_outgoing(pmt_t pc); //< return outgoing message set
pmt_t mb_protocol_class_lookup(pmt_t name); //< lookup an existing protocol class by name
+
+/*!
+ * \brief Initialize one or more protocol class from a serialized description.
+ * Used by machine generated code.
+ */
+class mb_protocol_class_init {
+public:
+ mb_protocol_class_init(const char *data, size_t len);
+};
+
#endif /* INCLUDED_MB_PROTOCOL_CLASS_H */