tnc_imc/tnc_imv cosmetics
This commit is contained in:
@@ -22,6 +22,9 @@
|
|||||||
|
|
||||||
typedef struct private_tnc_imc_t private_tnc_imc_t;
|
typedef struct private_tnc_imc_t private_tnc_imc_t;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Private data of an imv_t object.
|
||||||
|
*/
|
||||||
struct private_tnc_imc_t {
|
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,
|
private_tnc_imc_t *this, TNC_MessageTypeList supported_types,
|
||||||
TNC_UInt32 type_count)
|
TNC_UInt32 type_count)
|
||||||
{
|
{
|
||||||
|
/* Free an existing MessageType list */
|
||||||
free(this->supported_types);
|
free(this->supported_types);
|
||||||
this->supported_types = NULL;
|
this->supported_types = NULL;
|
||||||
|
|
||||||
|
/* Store the new MessageType list */
|
||||||
this->type_count = type_count;
|
this->type_count = type_count;
|
||||||
if (type_count && supported_types)
|
if (type_count && supported_types)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
|
|
||||||
typedef struct private_tnc_imc_manager_t private_tnc_imc_manager_t;
|
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 {
|
struct private_tnc_imc_manager_t {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
|
|
||||||
typedef struct private_tnc_imv_t private_tnc_imv_t;
|
typedef struct private_tnc_imv_t private_tnc_imv_t;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Private data of an imv_t object.
|
||||||
|
*/
|
||||||
struct private_tnc_imv_t {
|
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,
|
private_tnc_imv_t *this, TNC_MessageTypeList supported_types,
|
||||||
TNC_UInt32 type_count)
|
TNC_UInt32 type_count)
|
||||||
{
|
{
|
||||||
|
/* Free an existing MessageType list */
|
||||||
free(this->supported_types);
|
free(this->supported_types);
|
||||||
this->supported_types = NULL;
|
this->supported_types = NULL;
|
||||||
|
|
||||||
|
/* Store the new MessageType list */
|
||||||
this->type_count = type_count;
|
this->type_count = type_count;
|
||||||
if (type_count && supported_types)
|
if (type_count && supported_types)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
|
|
||||||
typedef struct private_tnc_imv_manager_t private_tnc_imv_manager_t;
|
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 {
|
struct private_tnc_imv_manager_t {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user