Request missing SWID tags in a directed PA-TNC message
[strongswan.git] / src / libimcv / 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 #include <library.h>
25
26 typedef enum pts_file_type_t pts_file_type_t;
27
28 /**
29 * PTS File Type
30 * see section 3.17.3 of PTS Protocol: Binding to TNC IF-M Specification
31 */
32 enum pts_file_type_t {
33 /** Either unknown or different from standardized types */
34 PTS_FILE_OTHER = 0x0000,
35 /** Pipe communication file */
36 PTS_FILE_FIFO = 0x0001,
37 /** Character special file */
38 PTS_FILE_CHAR_SPEC = 0x0002,
39 /** Reserved */
40 PTS_FILE_RESERVED_3 = 0x0003,
41 /** Directory */
42 PTS_FILE_DIRECTORY = 0x0004,
43 /** Reserved */
44 PTS_FILE_RESERVED_5 = 0x0005,
45 /** Block special file */
46 PTS_FILE_BLOCK_SPEC = 0x0006,
47 /** Reserved */
48 PTS_FILE_RESERVED_7 = 0x0007,
49 /** Regular file */
50 PTS_FILE_REGULAR = 0x0008,
51 /** Reserved */
52 PTS_FILE_RESERVED_9 = 0x0009,
53 /** Symbolic link */
54 PTS_FILE_SYM_LINK = 0x000A,
55 /** Reserved */
56 PTS_FILE_RESERVED_11 = 0x000B,
57 /** Socket communication special file */
58 PTS_FILE_SOCKET = 0x000C,
59 };
60
61 extern enum_name_t *pts_file_type_names;
62
63 #endif /** PTS_FILE_TYPE_H_ @}*/