Displaying 1 result from an estimated 1 matches for "type_undef".
2012 Oct 12
9
[PATCH] Fits: tool to parse stream
...",
+ "RMDIR",
+ "SET_XATTR",
+ "REMOVE_XATTR",
+ "WRITE",
+ "CLONE",
+ "TRUNCATE",
+ "CHMOD",
+ "CHOWN",
+ "UTIMES",
+ "END"
+};
+#define MAX_CMDS (sizeof(cmd_names) / sizeof(char *))
+
+#define TYPE_UNDEF 0
+#define TYPE_INT 1
+#define TYPE_STRING 2
+#define TYPE_BINARY 3
+#define TYPE_TIME 4
+#define TYPE_HEX 5
+#define TYPE_OCTAL 6
+#define TYPE_LEN_ONLY 7
+
+struct attr_types {
+ const char *name;
+ int type;
+} attrs[] = {
+ { "UNSPEC", TYPE_UNDEF },
+ { "UUID", TYPE_BINARY...