Skip to content
Snippets Groups Projects
Commit 814d9699 authored by rswindell's avatar rswindell
Browse files

Moved PKT_TWO* definitions from fidodefs.h to sbbsecho.h where they belong

(these are not fidonet standard values).
parent 3481b487
No related branches found
No related tags found
No related merge requests found
......@@ -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) */
......
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment