path: root/enums
diff options
authorPeter Seebach <peter.seebach@windriver.com>2010-11-30 15:36:42 -0600
committerPeter Seebach <peter.seebach@windriver.com>2010-11-30 16:29:48 -0600
commit00d0ce665b4b25ba60f67317c4840b357f84ed15 (patch)
tree06ecf64b51fb5e8eb3423b14bf8236555b89b73f /enums
parentca54fdb785b17fb251c28b28f51d0e666b1f2e22 (diff)
Major shift: All the id_t types have been reworked so that they
are generated from text files and templates, making it now (we hope) impossible for the list of strings to get out of sync with the enum.
Diffstat (limited to 'enums')
6 files changed, 76 insertions, 0 deletions
diff --git a/enums/msg_type.in b/enums/msg_type.in
new file mode 100644
index 0000000..0313073
--- /dev/null
+++ b/enums/msg_type.in
@@ -0,0 +1,6 @@
+msg_type: PSEUDO_MSG
diff --git a/enums/op.in b/enums/op.in
new file mode 100644
index 0000000..65eb73c
--- /dev/null
+++ b/enums/op.in
@@ -0,0 +1,23 @@
+op: OP
diff --git a/enums/query_field.in b/enums/query_field.in
new file mode 100644
index 0000000..5124c5d
--- /dev/null
+++ b/enums/query_field.in
@@ -0,0 +1,28 @@
+query_field: PSQF
+# Note: These are later used as bitwise masks into a value,
+# currently an unsigned long; if the number of these gets up
+# near 32, that may take rethinking. The first thing to
+# go would probably be something special to do for FTYPE and
+# PERM because they aren't "real" database fields -- both
+# of them actually imply MODE.
diff --git a/enums/query_type.in b/enums/query_type.in
new file mode 100644
index 0000000..5bfc741
--- /dev/null
+++ b/enums/query_type.in
@@ -0,0 +1,9 @@
+query_type: PSQT; sql = LITTLE BOBBY TABLES
+exact, =
+less, <
+greater, >
+bitand, &
+notequal, !=
+like, LIKE
+notlike, NOT LIKE
+sqlpat, LIKE
diff --git a/enums/res.in b/enums/res.in
new file mode 100644
index 0000000..435338f
--- /dev/null
+++ b/enums/res.in
@@ -0,0 +1,4 @@
+res: RESULT
diff --git a/enums/sev.in b/enums/sev.in
new file mode 100644
index 0000000..24c2c6e
--- /dev/null
+++ b/enums/sev.in
@@ -0,0 +1,6 @@