summaryrefslogtreecommitdiff
path: root/src/libimcv/pa_tnc/pa_tnc_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/pa_tnc/pa_tnc_msg.h')
-rw-r--r--src/libimcv/pa_tnc/pa_tnc_msg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libimcv/pa_tnc/pa_tnc_msg.h b/src/libimcv/pa_tnc/pa_tnc_msg.h
index 57ff1a04c..3be302032 100644
--- a/src/libimcv/pa_tnc/pa_tnc_msg.h
+++ b/src/libimcv/pa_tnc/pa_tnc_msg.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2014 Andreas Steffen
+ * Copyright (C) 2011-2015 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -44,6 +44,13 @@ struct pa_tnc_msg_t {
chunk_t (*get_encoding)(pa_tnc_msg_t *this);
/**
+ * Get the remaining space in octets left in the PA-TNC message
+ *
+ * @return remaining space or 0 if max_msg_len is not set
+ */
+ size_t (*get_space)(pa_tnc_msg_t *this);
+
+ /**
* Add a PA-TNC attribute
*
* @param attr PA-TNC attribute to be addedd