source: trunk/athena/bin/discuss/client/trn_spec.h @ 529

Revision 529, 1.1 KB checked in by wesommer, 37 years ago (diff)
Initial revision
Line 
1/* Transaction Generator */
2#define TRSPEC_REVERSE  0x0002
3#define TRSPEC_DEL      0x0004
4#define TRSPEC_UNSEEN   0x0010
5
6/* Transaction entry flags */
7#define TRSPEC_REM      0x0001  /* Remove this entry from the chain */
8#define TRSPEC_UNTIL    0x0008
9
10/* Types */
11
12#define TRSPEC_NUM      0x0000  /* Specified trn. number */
13#define TRSPEC_CUR      0x0100
14#define TRSPEC_NEXT     0x0200
15#define TRSPEC_PREV     0x0300
16#define TRSPEC_NREF     0x0400
17#define TRSPEC_PREF     0x0500
18#define TRSPEC_FIRST    0x0600
19#define TRSPEC_LAST     0x0700
20#define TRSPEC_FREF     0x0800
21#define TRSPEC_LREF     0x0900
22#define TRSPEC_NCHAIN   0x0a00
23#define TRSPEC_PCHAIN   0x0b00
24#define TRSPEC_FUNS     0x0c00
25#define TRSPEC_KINDS    0xff00
26#define TRSPEC_REVBIT   0x0100      /* Toggle this bit to reverse */
27                                    /* direction */
28
29typedef struct _te {
30        struct _te *te_prev;
31        struct _te *te_next;
32        unsigned int flags;
33        int num;
34} trnspec_entry;
35
36typedef struct {
37        trnspec_entry   *te;    /* First */
38        trnspec_entry   *te_last;
39        trn_info        tinfo;
40        mtg_info        *minfo; /* Owned by caller. */
41        name_blk        *nbp;
42        unsigned int    flags;
43        int             current;
44        int             highest_seen;
45} trans_gen;
Note: See TracBrowser for help on using the repository browser.