1 /* 2 * ser2net - A program for allowing telnet connection to serial ports 3 * Copyright (C) 2001 Corey Minyard <minyard@acm.org> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 20 #ifndef SER2NET_H 21 #define SER2NET_H 22 23 #include "selector.h" 24 25 /* The default rfc2217 signature if none is provided. */ 26 extern char *rfc2217_signature; 27 28 extern struct selector_s *ser2net_sel; 29 30 extern int ser2net_debug; 31 extern int ser2net_debug_level; 32 33 extern int ser2net_wake_sig; 34 35 void start_maint_op(void); 36 void end_maint_op(void); 37 38 #endif /* SER2NET_H */ 39