From 814d96997acf952cd924f53c230d743c28172fee Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 15 Jan 2009 08:02:29 +0000 Subject: [PATCH] Moved PKT_TWO* definitions from fidodefs.h to sbbsecho.h where they belong (these are not fidonet standard values). --- src/sbbs3/fidodefs.h | 5 +---- src/sbbs3/sbbsecho.h | 7 ++++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/sbbs3/fidodefs.h b/src/sbbs3/fidodefs.h index 9421a2c7b2..2c61656f7c 100644 --- a/src/sbbs3/fidodefs.h +++ b/src/sbbs3/fidodefs.h @@ -8,7 +8,7 @@ * @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 * @@ -87,9 +87,6 @@ typedef struct _PACK { /* Fidonet Packet Header */ sec, /* Second of Packet Creation 0-59 */ baud, /* Max Baud Rate of Orig & Dest */ pkttype, /* Packet Type (-1 is obsolete) */ -#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 */ orignet, /* Origination Net of Packet */ destnet; /* Destination Net of Packet */ uchar prodcode, /* Product Code (00h is Fido) */ diff --git a/src/sbbs3/sbbsecho.h b/src/sbbs3/sbbsecho.h index 0f99483153..b2640ef312 100644 --- a/src/sbbs3/sbbsecho.h +++ b/src/sbbs3/sbbsecho.h @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2006 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 * @@ -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 */ -- GitLab