Factor trim format function out
[mmh] / h / fmt_compile.h
index f3b2b9b..21e21e2 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * fmt_compile.h -- format types
- */
+** fmt_compile.h -- format types
+*/
 
 /* types that output text */
 #define FT_COMP           1    /* the text of a component                 */
@@ -22,7 +22,7 @@
 #define FT_LS_CFIND      15    /* set "str" to context_find(text)      */
 #define FT_LS_DECODECOMP 16    /* set "str" to decoded component text  */
 #define FT_LS_DECODE     17    /* decode "str" as RFC-2047 header      */
-#define FT_LS_TRIM       18    /* trim trailing white space from "str" */
+#define FT_LS_TRIM       18    /* trim white space from "str"          */
 #define FT_LV_COMP       19    /* set "value" to comp (as dec. num)    */
 #define FT_LV_COMPFLAG   20    /* set "value" to comp flag word        */
 #define FT_LV_LIT        21    /* set "value" to literal num           */
 #define FT_FORMATADDR    67    /* let external routine format addr    */
 #define FT_MYMBOX        68    /* do "mymbox" test on comp            */
 
-/* misc. */
-/* ADDTOSEQ only works if you include "options LBL" */
-#define FT_ADDTOSEQ      69    /* add current msg to a sequence       */
-
 /* conditionals & control flow (must be last) */
 #define FT_SAVESTR       70    /* save current str reg               */
 #define FT_DONE          71    /* stop formatting                    */
 #define FT_V_MATCH       87    /* V = 1 if "str" contains literal    */
 #define FT_V_AMATCH      88    /* V = 1 if "str" starts with literal */
 
+#define FT_LS_UNMAILTO   89    /* remove "mailto:"                   */
+
 #define IF_FUNCS FT_S_NULL    /* start of "if" functions */