tnc_imc/tnc_imv cosmetics

This commit is contained in:
Andreas Steffen
2010-11-09 20:43:50 +01:00
parent 3e5664ede8
commit eefcf33c4c
4 changed files with 18 additions and 0 deletions
+6
View File
@@ -22,6 +22,9 @@
typedef struct private_tnc_imc_t private_tnc_imc_t;
/**
* Private data of an imv_t object.
*/
struct private_tnc_imc_t {
/**
@@ -72,8 +75,11 @@ METHOD(imc_t, set_message_types, void,
private_tnc_imc_t *this, TNC_MessageTypeList supported_types,
TNC_UInt32 type_count)
{
/* Free an existing MessageType list */
free(this->supported_types);
this->supported_types = NULL;
/* Store the new MessageType list */
this->type_count = type_count;
if (type_count && supported_types)
{
@@ -24,6 +24,9 @@
typedef struct private_tnc_imc_manager_t private_tnc_imc_manager_t;
/**
* Private data of an imc_manager_t object.
*/
struct private_tnc_imc_manager_t {
/**
+6
View File
@@ -22,6 +22,9 @@
typedef struct private_tnc_imv_t private_tnc_imv_t;
/**
* Private data of an imv_t object.
*/
struct private_tnc_imv_t {
/**
@@ -72,8 +75,11 @@ METHOD(imv_t, set_message_types, void,
private_tnc_imv_t *this, TNC_MessageTypeList supported_types,
TNC_UInt32 type_count)
{
/* Free an existing MessageType list */
free(this->supported_types);
this->supported_types = NULL;
/* Store the new MessageType list */
this->type_count = type_count;
if (type_count && supported_types)
{
@@ -24,6 +24,9 @@
typedef struct private_tnc_imv_manager_t private_tnc_imv_manager_t;
/**
* Private data of an imv_manager_t object.
*/
struct private_tnc_imv_manager_t {
/**