1 /* 2 * RNtrack - FTN message tracker/router 3 * 4 * tpkt.hpp - PKT format definition 5 * 6 * Copyright (c) 2003-2005 Alex Soukhotine, 2:5030/1157 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * $Id: tpkt.hpp 257 2020-01-30 18:19:33Z dukelsky $ 14 */ 15 16 #ifndef _TPKT_HPP_ 17 #define _TPKT_HPP_ 18 19 #include "mytypes.hpp" 20 21 // -------------------------------------------------------------------- 22 // -------------------------------------------------------------------- 23 24 typedef struct 25 { 26 word FromNode; // 0 00 27 word ToNode; // 2 02 28 word Year; // 4 04 29 word Month; // 6 06 30 word Day; // 8 08 31 word Hour; // 10 0A 32 word Minute; // 12 0C 33 word Second; // 14 0F 34 word Baud; // 16 10 35 word c0002; // 18 12 36 word FromNet; // 20 14 37 word ToNet; // 22 16 38 byte ProductCodeL; // 24 18 39 byte RevisionH; // 25 19 40 char Passwd[8]; // 26 1A 41 word FromZone; // 34 22 42 word ToZone; // 36 24 43 word AuxNet; // 38 26 44 word c0100; // 40 28 45 byte ProductCodeH; // 42 2A 46 byte RevisionL; // 43 2B 47 word c0001; // 44 2C 48 word FromZone2; // 46 2E 49 word ToZone2; // 48 30 50 word FromPoint; // 50 32 51 word ToPoint; // 52 34 52 byte Reserved[4]; 53 } tPKTH; 54 55 #endif 56