/* cat > ./ax_mbx.h << '\Rogue\Monster\' */ /* Defines for the ax.25 mailbox facility */ #define MBXLINE 128 /* max length of line */ struct mbx { int state ; /* mailbox state */ #define MBX_CMD 1 /* in command mode */ #define MBX_SUBJ 2 /* waiting for a subject line */ #define MBX_DATA 3 /* collecting the message */ char name[10] ; /* Name of remote station */ struct ax25_cb *ax25_cb ; /* link control block */ char *to ; /* Addressee */ FILE *tfile ; /* Temporary file for message */ char line[MBXLINE+1] ; /* Room for null at end */ char *lp ; /* line pointer */ } ; #define NULLMBX (struct mbx *)0