added TNC_Connection_State_names
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* 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 "tncif.h"
|
||||||
|
|
||||||
|
ENUM(TNC_Connection_State_names,
|
||||||
|
TNC_CONNECTION_STATE_CREATE, TNC_CONNECTION_STATE_DELETE,
|
||||||
|
"Create",
|
||||||
|
"Handshake",
|
||||||
|
"Allowed",
|
||||||
|
"Isolated",
|
||||||
|
"None",
|
||||||
|
"Delete",
|
||||||
|
);
|
||||||
|
|
||||||
@@ -59,6 +59,8 @@
|
|||||||
#ifndef TNCIF_H_
|
#ifndef TNCIF_H_
|
||||||
#define TNCIF_H_
|
#define TNCIF_H_
|
||||||
|
|
||||||
|
#include <library.h>
|
||||||
|
|
||||||
/* Basic Types */
|
/* Basic Types */
|
||||||
typedef unsigned long TNC_UInt32;
|
typedef unsigned long TNC_UInt32;
|
||||||
typedef unsigned char *TNC_BufferReference;
|
typedef unsigned char *TNC_BufferReference;
|
||||||
@@ -89,6 +91,7 @@ typedef TNC_UInt32 TNC_Result;
|
|||||||
|
|
||||||
/* Network Connection ID Values */
|
/* Network Connection ID Values */
|
||||||
#define TNC_CONNECTIONID_ANY 0xFFFFFFFF
|
#define TNC_CONNECTIONID_ANY 0xFFFFFFFF
|
||||||
|
|
||||||
/* Network Connection State Values */
|
/* Network Connection State Values */
|
||||||
#define TNC_CONNECTION_STATE_CREATE 0
|
#define TNC_CONNECTION_STATE_CREATE 0
|
||||||
#define TNC_CONNECTION_STATE_HANDSHAKE 1
|
#define TNC_CONNECTION_STATE_HANDSHAKE 1
|
||||||
@@ -97,6 +100,8 @@ typedef TNC_UInt32 TNC_Result;
|
|||||||
#define TNC_CONNECTION_STATE_ACCESS_NONE 4
|
#define TNC_CONNECTION_STATE_ACCESS_NONE 4
|
||||||
#define TNC_CONNECTION_STATE_DELETE 5
|
#define TNC_CONNECTION_STATE_DELETE 5
|
||||||
|
|
||||||
|
extern enum_name_t *TNC_Connection_State_names;
|
||||||
|
|
||||||
/* Vendor ID Values */
|
/* Vendor ID Values */
|
||||||
#define TNC_VENDORID_TCG 0
|
#define TNC_VENDORID_TCG 0
|
||||||
#define TNC_VENDORID_ANY ((TNC_VendorID) 0xffffff)
|
#define TNC_VENDORID_ANY ((TNC_VendorID) 0xffffff)
|
||||||
|
|||||||
Reference in New Issue
Block a user