aboutsummaryrefslogtreecommitdiffstats
path: root/src/libimcv/imv/imv_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/imv/imv_msg.h')
-rw-r--r--src/libimcv/imv/imv_msg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libimcv/imv/imv_msg.h b/src/libimcv/imv/imv_msg.h
index b639712e8..2a2810170 100644
--- a/src/libimcv/imv/imv_msg.h
+++ b/src/libimcv/imv/imv_msg.h
@@ -55,6 +55,13 @@ struct imv_msg_t {
void (*set_msg_type)(imv_msg_t *this, pen_type_t msg_type);
/**
+ * Get the type of a PA-TNC message.
+ *
+ * @return message type
+ */
+ pen_type_t (*get_msg_type)(imv_msg_t *this);
+
+ /**
* Sends one or multiple PA-TNC messages
*
* @param excl set the excl message flag if supported