]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
committed missing pts_file_type.c
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 27 Oct 2011 12:26:52 +0000 (14:26 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 13:39:52 +0000 (14:39 +0100)
src/libpts/pts/pts_file_type.c [new file with mode: 0644]

diff --git a/src/libpts/pts/pts_file_type.c b/src/libpts/pts/pts_file_type.c
new file mode 100644 (file)
index 0000000..fe849de
--- /dev/null
@@ -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"
+);
+