00001 /* 00002 * $Id: qsm.h,v 1.4 2002/12/02 20:19:08 dwalters Exp $ 00003 * 00004 * Copyright (C) 2001 Doug Chapman 00005 * 00006 * This library is distributed under the terms of the GNU Lesser General 00007 * Public License (LGPL). You should have received a copy of the 00008 * license along with this library (LGPL.txt); if not, write to 00009 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, 00010 * Boston, MA 02111-1307 USA 00011 */ 00012 00035 #ifndef __QSM_H__ 00036 #define __QSM_H__ 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00047 void sciinit ( 00048 long baud 00049 ); 00050 00057 int havebyte(void); 00058 00064 char inbyte(void); 00065 00071 void outbyte ( 00072 char tx 00073 ); 00074 00080 int sendingbyte(void); 00081 00082 #ifdef __cplusplus 00083 } 00084 #endif 00085 00086 #endif