added pts_file_type_names

This commit is contained in:
Andreas Steffen
2011-11-28 14:39:52 +01:00
parent 96d611f585
commit 7b81a60c51
3 changed files with 19 additions and 4 deletions
+14
View File
@@ -21,6 +21,8 @@
#ifndef PTS_FILE_TYPE_H_
#define PTS_FILE_TYPE_H_
#include <library.h>
typedef enum pts_file_type_t pts_file_type_t;
/**
@@ -34,16 +36,28 @@ enum pts_file_type_t {
PTS_FILE_FIFO = 0x0001,
/** Character special file */
PTS_FILE_CHAR_SPEC = 0x0002,
/** Reserved */
PTS_FILE_RESERVED_3 = 0x0003,
/** Directory */
PTS_FILE_DIRECTORY = 0x0004,
/** Reserved */
PTS_FILE_RESERVED_5 = 0x0005,
/** Block special file */
PTS_FILE_BLOCK_SPEC = 0x0006,
/** Reserved */
PTS_FILE_RESERVED_7 = 0x0007,
/** Regular file */
PTS_FILE_REGULAR = 0x0008,
/** Reserved */
PTS_FILE_RESERVED_9 = 0x0009,
/** Symbolic link */
PTS_FILE_SYM_LINK = 0x000A,
/** Reserved */
PTS_FILE_RESERVED_11 = 0x000B,
/** Socket communication special file */
PTS_FILE_SOCKET = 0x000C,
};
extern enum_name_t *pts_file_type_names;
#endif /** PTS_FILE_TYPE_H_ @}*/