Added total length parameter in PA-TNC attribute constructor

This commit is contained in:
Andreas Steffen
2014-10-05 12:55:38 +02:00
parent ebfd8278f9
commit e77df5a1f6
91 changed files with 957 additions and 319 deletions
+5 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2012 Andreas Steffen
* Copyright (C) 2012-2014 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -60,8 +60,10 @@ pa_tnc_attr_t* ietf_attr_string_version_create(chunk_t version, chunk_t build,
/**
* Creates an ietf_attr_string_version_t object from received data
*
* @param value unparsed attribute value
* @param length Total length of attribute value
* @param value Unparsed attribute value (might be a segment)
*/
pa_tnc_attr_t* ietf_attr_string_version_create_from_data(chunk_t value);
pa_tnc_attr_t* ietf_attr_string_version_create_from_data(size_t length,
chunk_t value);
#endif /** IETF_ATTR_STRING_VERSION_H_ @}*/