DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T f

⟦f90d56d28⟧ TextFile

    Length: 4833 (0x12e1)
    Types: TextFile
    Names: »fmtcompile.h«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/h/fmtcompile.h« 

TextFile

/* @(#)$Id: fmtcompile.h,v 1.4 90/04/05 15:06:42 sources Exp $ */

/* Format Types */
/* -------------*/

/* types that output text */
#define FT_COMP		1	/* the text of a component */
#define FT_COMPF	2	/* comp text, filled */
#define FT_LIT		3	/* literal text */
#define FT_LITF		4	/* literal text, filled */
#define FT_CHAR		5	/* a single ascii character */
#define FT_NUM		6	/* "value" as decimal number */
#define FT_NUMF		7	/* "value" as filled dec number */
#define FT_STR		8	/* "str" as text */
#define FT_STRF		9	/* "str" as text, filled */
#define FT_STRFW	10	/* "str" as text, filled, width in "value" */
#define FT_PUTADDR	11	/* split and print address line */

/* types that modify the "str" or "value" registers */
#define FT_LS_COMP	12	/* set "str" to component text */
#define FT_LS_LIT	13	/* set "str" to literal text */
#define FT_LS_TRIM	14	/* trim trailing white space from "str" */
#define FT_LV_COMP	15	/* set "value" to comp (as dec. num) */
#define FT_LV_COMPFLAG	16	/* set "value" to comp flag word */
#define FT_LV_LIT	17	/* set "value" to literal num */
#define FT_LV_DAT	18	/* set "value" to dat[n] */
#define FT_LV_STRLEN	19	/* set "value" to length of "str" */
#define FT_LV_PLUS_L	20	/* set "value" += literal */
#define FT_LV_MINUS_L	21	/* set "value" -= literal */
#define FT_LV_DIVIDE_L	22	/* set "value" to value / literal */
#define FT_LV_CHAR_LEFT	23	/* set "value" to char left in output */

#define FT_LS_MONTH	24	/* set "str" to tws month */
#define FT_LS_LMONTH	25	/* set "str" to long tws month */
#define FT_LS_ZONE	26	/* set "str" to tws timezone */
#define FT_LS_DAY	27	/* set "str" to tws weekday */
#define FT_LS_WEEKDAY	28	/* set "str" to long tws weekday */
#define FT_LS_822DATE	29	/* set "str" to 822 date str */
#define FT_LS_PRETTY	30	/* set "str" to pretty (?) date str */
#define FT_LV_SEC	31	/* set "value" to tws second */
#define FT_LV_MIN	32	/* set "value" to tws minute */
#define FT_LV_HOUR	33	/* set "value" to tws hour */
#define FT_LV_MDAY	34	/* set "value" to tws day of month */
#define FT_LV_MON	35	/* set "value" to tws month */
#define FT_LV_YEAR	36	/* set "value" to tws year */
#define FT_LV_YDAY	37	/* set "value" to tws day of year */
#define FT_LV_WDAY	38	/* set "value" to tws weekday */
#define FT_LV_ZONE	39	/* set "value" to tws timezone */
#define FT_LV_CLOCK	40	/* set "value" to tws clock */
#define FT_LV_RCLOCK	41	/* set "value" to now - tws clock */
#define FT_LV_DAYF	42	/* set "value" to tws day flag */
#define FT_LV_DST	43	/* set "value" to tws daylight savings flag */
#define FT_LV_ZONEF	44	/* set "value" to tws timezone flag */

#define FT_LS_PERS	45	/* set "str" to person part of addr */
#define FT_LS_MBOX	46	/* set "str" to mbox part of addr */
#define FT_LS_HOST	47	/* set "str" to host part of addr */
#define FT_LS_PATH	48	/* set "str" to route part of addr */
#define FT_LS_GNAME	49	/* set "str" to group part of addr */
#define FT_LS_NOTE	50	/* set "str" to comment part of addr */
#define FT_LS_822ADDR	51	/* set "str" to 822 format addr */
#define FT_LS_FRIENDLY	52	/* set "str" to "friendly" format addr */
#define FT_LV_HOSTTYPE	53	/* set "value" to addr host type */
#define FT_LV_INGRPF	54	/* set "value" to addr in-group flag */
#define FT_LV_NOHOSTF	55	/* set "value" to addr no-host flag */

/* Date Coercion */
#define FT_LOCALDATE	56	/* Coerce date to local timezone */
#define FT_GMTDATE	57	/* Coerce date to gmt */

/* pre-format processing */
#define FT_PARSEDATE	58	/* parse comp into a date (tws) struct */
#define FT_PARSEADDR	59	/* parse comp into a mailaddr struct */
#define FT_FORMATADDR	60	/* let external routine format addr */
#define FT_MYMBOX	61	/* do "mymbox" test on comp */

/* misc. */
#ifdef	VAN
#define FT_ADDTOSEQ	62	/* add current msg to a sequence */
#endif

/* conditionals & control flow (must be last) */
#define FT_SAVESTR	63	/* save current str reg */
#define FT_DONE		64	/* stop formatting */
#define FT_NOP		65	/* nop */
#define FT_GOTO		66	/* (relative) goto */
#define FT_IF_S_NULL	67	/* test if "str" null */
#define FT_IF_S		68	/* test if "str" non-null */
#define FT_IF_V_EQ	69	/* test if "value" = literal */
#define FT_IF_V_NE	70	/* test if "value" != literal */
#define FT_IF_V_GT	71	/* test if "value" > literal */
#define FT_IF_MATCH	72	/* test if "str" contains literal */
#define FT_IF_AMATCH	73	/* test if "str" starts with literal */
#define FT_S_NULL	74	/* V = 1 if "str" null */
#define FT_S_NONNULL	75	/* V = 1 if "str" non-null */
#define FT_V_EQ		76	/* V = 1 if "value" = literal */
#define FT_V_NE		77	/* V = 1 if "value" != literal */
#define FT_V_GT		78	/* V = 1 if "value" > literal */
#define FT_V_MATCH	79	/* V = 1 if "str" contains literal */
#define FT_V_AMATCH	80	/* V = 1 if "str" starts with literal */

#define IF_FUNCS FT_S_NULL	/* start of "if" functions */