--- sbbs/src/sbbs3/sbbsecho.h 2018/04/24 16:41:23 1.1.1.1 +++ sbbs/src/sbbs3/sbbsecho.h 2018/04/24 16:43:04 1.1.1.2 @@ -2,13 +2,13 @@ /* Synchronet FidoNet Echomail tosser/scanner/areafix program */ -/* $Id: sbbsecho.h,v 1.1.1.1 2018/04/24 16:41:23 root Exp $ */ +/* $Id: sbbsecho.h,v 1.1.1.2 2018/04/24 16:43:04 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2005 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2009 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -37,7 +37,7 @@ /* Portions written by Allen Christiansen 1994-1996 */ -#define SBBSECHO_VER "2.11" +#define SBBSECHO_VER "2.12" #define IMPORT_NETMAIL (1L<<0) #define IMPORT_PACKETS (1L<<1) @@ -191,6 +191,11 @@ typedef struct { ushort arctype /* De/archiver to use for this node */ ,numflags /* Number of flags defined for this node */ ,pkt_type; /* Packet type to use for outgoing PKTs */ + /* Packet types for nodecfg_t.pkt_type value ONLY: */ +#define PKT_TWO_PLUS 0 /* Type 2+ Packet Header */ +#define PKT_TWO_TWO 1 /* Type 2.2 Packet Header */ +#define PKT_TWO 2 /* Old Type Packet Header */ + ushort attr; /* Message bits to set for this node */ char password[26]; /* Areafix password for this node */ char pktpwd[9]; /* Packet password for this node */ @@ -219,7 +224,8 @@ typedef struct { ,cfgfile[128]; /* Configuration path/filename */ ulong maxpktsize /* Maximum size for packets */ ,maxbdlsize /* Maximum size for bundles */ - ,log; /* What do we log? */ + ,log /* What do we log? */ + ,log_level; /* Highest level (lowest severity) */ int badecho; /* Area to store bad echomail msgs */ uint arcdefs /* Number of archive definitions */ ,nodecfgs /* Number of nodes with configs */