]> git.deb.at Git - pkg/abook.git/blobdiff - options.h
Imported Debian patch 0.5.6+cvs1-1
[pkg/abook.git] / options.h
index 73b300cdf59cbcaffeb48e8f2ecf44de9f67d05e..c1e02ec8cb6a690975178fcd58583b0efb638463 100644 (file)
--- a/options.h
+++ b/options.h
@@ -8,9 +8,16 @@ typedef int bool;
 #endif
 
 /*
- * bool options
+ * token parsing options
  */
 
+#define TOKEN_ALLOC (1<<1) /* allocate memory for the token */
+#define TOKEN_EQUAL (1<<2) /* left hand value of assignment */
+#define TOKEN_COMMA (1<<3) /* comma is a separator */
+
+/*
+ * bool options
+ */
 
 enum bool_opts {
        BOOL_AUTOSAVE,
@@ -43,6 +50,7 @@ enum str_opts {
        STR_PRINT_COMMAND,
        STR_WWW_COMMAND,
        STR_ADDRESS_STYLE,
+       STR_PRESERVE_FIELDS,
        STR_SORT_FIELD,
        STR_MAX
 };