Added total length parameter in PA-TNC attribute constructor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2011 Andreas Steffen
|
||||
* Copyright (C) 2011-2014 Andreas Steffen
|
||||
* HSR Hochschule fuer Technik Rapperswil
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
@@ -54,8 +54,9 @@ pa_tnc_attr_t* ita_attr_command_create(char *command);
|
||||
/**
|
||||
* Creates an ita_attr_command_t object from received data
|
||||
*
|
||||
* @param value binary value blob
|
||||
* @param length Total length of attribute value
|
||||
* @param value Unparsed attribute value (might be a segment)
|
||||
*/
|
||||
pa_tnc_attr_t* ita_attr_command_create_from_data(chunk_t value);
|
||||
pa_tnc_attr_t* ita_attr_command_create_from_data(size_t length, chunk_t value);
|
||||
|
||||
#endif /** ITA_ATTR_COMMAND_H_ @}*/
|
||||
|
||||
Reference in New Issue
Block a user