aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-10-27 14:26:52 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-11-28 14:39:52 +0100
commitd4171c6ea9ef61463d55b4987bf3935b9db020e3 (patch)
tree7f1e6eeb8c00cc53cd791941249ba9e0dd76faf3 /src
parent7b81a60c51c61614cc62a2b819eb04e68bb353c9 (diff)
downloadstrongswan-d4171c6ea9ef61463d55b4987bf3935b9db020e3.tar.bz2
strongswan-d4171c6ea9ef61463d55b4987bf3935b9db020e3.tar.xz
committed missing pts_file_type.c
Diffstat (limited to 'src')
-rw-r--r--src/libpts/pts/pts_file_type.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/libpts/pts/pts_file_type.c b/src/libpts/pts/pts_file_type.c
new file mode 100644
index 000000000..fe849dea4
--- /dev/null
+++ b/src/libpts/pts/pts_file_type.c
@@ -0,0 +1,33 @@
+/*
+ * 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 "pts_file_type.h"
+
+ENUM(pts_file_type_names, PTS_FILE_OTHER, PTS_FILE_SOCKET,
+ "Other",
+ "FIFO",
+ "Character-Special",
+ "Reserved-3",
+ "Directory",
+ "Reserved-5",
+ "Block-Special",
+ "Reserved-7",
+ "Regular",
+ "Reserved-9",
+ "Symbolic-Link",
+ "Reserved-11",
+ "Socket"
+);
+