1 /* $Id$ */ 2 3 /***************************************************************************** 4 * HPT --- FTN NetMail/EchoMail Tosser 5 ***************************************************************************** 6 * Copyright (C) 1997-1999 7 * 8 * Matthias Tichy 9 * 10 * Fido: 2:2433/1245 2:2433/1247 2:2432/605.14 11 * Internet: mtt@tichy.de 12 * 13 * Grimmestr. 12 Buchholzer Weg 4 14 * 33098 Paderborn 40472 Duesseldorf 15 * Germany Germany 16 * 17 * This file is part of HPT. 18 * 19 * HPT is free software; you can redistribute it and/or modify it 20 * under the terms of the GNU General Public License as published by the 21 * Free Software Foundation; either version 2, or (at your option) any 22 * later version. 23 * 24 * HPT is distributed in the hope that it will be useful, but 25 * WITHOUT ANY WARRANTY; without even the implied warranty of 26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 27 * General Public License for more details. 28 * 29 * You should have received a copy of the GNU General Public License 30 * along with HPT; see the file COPYING. If not, write to the Free 31 * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 32 *****************************************************************************/ 33 #ifndef SCAN_H 34 #define SCAN_H 35 #include <fidoconf/fidoconf.h> 36 37 struct statScan { 38 int areas, msgs; 39 int exported; 40 }; 41 typedef struct statScan s_statScan; 42 43 extern s_statScan statScan; 44 45 #define SCN_FILE 0x0001 46 #define SCN_ALL 0x0002 47 #define SCN_NAME 0x0004 48 #define SCN_ECHOMAIL 0x0008 49 #define SCN_NETMAIL 0x0010 50 51 void scanExport(int type, char *str); 52 void scanEMArea(s_area *echo); 53 void makePktHeader(s_link *link, s_pktHeader *header); 54 55 #endif 56