enum names for ietf_attr_t
This commit is contained in:
@@ -9,7 +9,7 @@ libimcv_la_SOURCES = \
|
|||||||
imcv.h imcv.c \
|
imcv.h imcv.c \
|
||||||
imc/imc_agent.h imc/imc_agent.c imc/imc_state.h \
|
imc/imc_agent.h imc/imc_agent.c imc/imc_state.h \
|
||||||
imv/imv_agent.h imv/imv_agent.c imv/imv_state.h \
|
imv/imv_agent.h imv/imv_agent.c imv/imv_state.h \
|
||||||
ietf/ietf_attr.h \
|
ietf/ietf_attr.h ietf/ietf_attr.c \
|
||||||
ietf/ietf_attr_pa_tnc_error.h ietf/ietf_attr_pa_tnc_error.c \
|
ietf/ietf_attr_pa_tnc_error.h ietf/ietf_attr_pa_tnc_error.c \
|
||||||
ita/ita_attr_command.h ita/ita_attr_command.c \
|
ita/ita_attr_command.h ita/ita_attr_command.c \
|
||||||
pa_tnc/pa_tnc_msg.h pa_tnc/pa_tnc_msg.c \
|
pa_tnc/pa_tnc_msg.h pa_tnc/pa_tnc_msg.c \
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2011 Andreas Steffen, HSR Hochschule fuer Technik Rapperswil
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ietf_attr.h"
|
||||||
|
|
||||||
|
ENUM(ietf_attr_names, IETF_ATTR_TESTING, IETF_ATTR_FACTORY_DEFAULT_PWD_ENABLED,
|
||||||
|
"Testing",
|
||||||
|
"Attribute Request",
|
||||||
|
"Product Information",
|
||||||
|
"Numeric Version",
|
||||||
|
"String Version",
|
||||||
|
"Operational Status",
|
||||||
|
"Port Filter",
|
||||||
|
"Installed Packages",
|
||||||
|
"PA-TNC error",
|
||||||
|
"Assessment Result",
|
||||||
|
"Remediation Instructions",
|
||||||
|
"Forwarding Enabled",
|
||||||
|
"Factory Default Password Enabled",
|
||||||
|
);
|
||||||
|
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
#ifndef IETF_ATTR_H_
|
#ifndef IETF_ATTR_H_
|
||||||
#define IETF_ATTR_H_
|
#define IETF_ATTR_H_
|
||||||
|
|
||||||
|
#include <library.h>
|
||||||
|
|
||||||
typedef enum ietf_attr_t ietf_attr_t;
|
typedef enum ietf_attr_t ietf_attr_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -43,4 +45,9 @@ enum ietf_attr_t {
|
|||||||
IETF_ATTR_RESERVED = 0xffffffff,
|
IETF_ATTR_RESERVED = 0xffffffff,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum name for ietf_attr_t.
|
||||||
|
*/
|
||||||
|
extern enum_name_t *ietf_attr_names;
|
||||||
|
|
||||||
#endif /** IETF_ATTR_H_ @}*/
|
#endif /** IETF_ATTR_H_ @}*/
|
||||||
|
|||||||
Reference in New Issue
Block a user