Implemented PTS attributes Request File Metadata, Unix-Style File Metadata
[strongswan.git] / src / libpts / pts / pts_file_type.h
1 /*
2 * Copyright (C) 2011 Sansar Choinyambuu
3 * HSR Hochschule fuer Technik Rapperswil
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 /**
17 * @defgroup pts_file_type pts_file_type
18 * @{ @ingroup pts
19 */
20
21 #ifndef PTS_FILE_TYPE_H_
22 #define PTS_FILE_TYPE_H_
23
24 typedef enum pts_file_type_t pts_file_type_t;
25
26 /**
27 * PTS File Type
28 * see section 3.17.3 of PTS Protocol: Binding to TNC IF-M Specification
29 */
30 enum pts_file_type_t {
31 /** Ignore */
32 PTS_FILE_OTHER = 0x0000,
33 /** CRTM */
34 PTS_FILE_FIFO = 0x0001,
35 /** BIOS */
36 PTS_FILE_CHAR_SPEC = 0x0002,
37 /** Platform Extensions */
38 PTS_FILE_DIRECTORY = 0x0004,
39 /** Motherboard firmware */
40 PTS_FILE_BLOCK_SPEC = 0x0006,
41 /** Initial Program Loader */
42 PTS_FILE_REGULAR = 0x0008,
43 /** Option ROMs */
44 PTS_FILE_SYM_LINK = 0x000A,
45 /** Option ROMs */
46 PTS_FILE_SOCKET = 0x000C,
47 };
48
49 #endif /** PTS_FILE_TYPE_H_ @}*/