summaryrefslogtreecommitdiffstats
path: root/include/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h
index 9d5b518..ac83154 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -32,6 +32,13 @@ enum packet_type {
DISCOVERY
};
+/**
+ * Message sequence number since beggining of sesssion.
+ *
+ * Mainly used for identifying lost messages.
+ */
+typedef unsigned int msg_idx_t;
+
enum tlv_type {
/** NULL-terminated string. */
TEXT,