/* * sympathy.h.head.in: * * Copyright (c) 2008 James McKenzie , * All rights reserved. * */ /* * $Id$ */ /* * $Log$ * Revision 1.5 2012/06/22 10:22:25 james * *** empty log message *** * * Revision 1.4 2010/07/16 11:06:39 james * add missing G2 * * Revision 1.3 2008/03/07 14:13:40 james * *** empty log message *** * * Revision 1.2 2008/02/13 18:05:06 james * *** empty log message *** * * Revision 1.1 2008/02/13 16:57:29 james * *** empty log message *** * * Revision 1.1 2008/02/03 16:20:24 james * *** empty log message *** * * */ /* MAKE ABSOLUTELY SURE THAT YOU ARE EDITING THE sympathy.h.in */ /* FILE FROM WHICH THIS IS GENERATED - OTHERWISE YOUR EDITS */ /* WILL BE LOST */ #ifndef __SYMPATHY_H__ #define __SYMPATHY_H__ #ifdef __cplusplus extern "C" { #endif #include #include #include /* the integer constants here are set by configure */ /* get uint32_t and friends defined */ #if @G2_HAVE_STDINT_H@ #include #elif @G2_HAVE_SYS_INT_TYPES_H@ #include #endif #if @G2_HAVE_UNISTD_H@ #include #endif /* If the following is <> then configure failed to find where */ /* struct tm was defined - report it as a bug */ /* get struct tm defined */ #include <@G2_TM_H@> #if @G2_TM_IN_SYS_TIME@ #include #if @G2_TIME_WITH_SYS_TIME@ #include #endif #else #if @G2_TIME_WITH_SYS_TIME@ #include #endif #include #endif #if @G2_HAVE_MALLOC_H@ #include #endif #if @G2_HAVE_UNISTD_H@ #include #endif #if @G2_HAVE_STDINT_H@ #include #elif @G2_HAVE_SYS_INT_TYPES_H@ #include #endif #if @G2_HAVE_TERMIO_H@ #include #endif #include #ifndef TIOCM_LE #define TIOCM_LE 0x001 /* line enable */ #endif #ifndef TIOCM_DTR #define TIOCM_DTR 0x002 /* data terminal ready */ #endif #ifndef TIOCM_RTS #define TIOCM_RTS 0x004 /* request to send */ #endif #ifndef TIOCM_ST #define TIOCM_ST 0x010 /* secondary transmit */ #endif #ifndef TIOCM_SR #define TIOCM_SR 0x020 /* secondary receive */ #endif #ifndef TIOCM_CTS #define TIOCM_CTS 0x040 /* clear to send */ #endif #ifndef TIOCM_CAR #define TIOCM_CAR 0x100 /* carrier detect */ #endif #ifndef TIOCM_CD #define TIOCM_CD TIOCM_CAR #endif #ifndef TIOCM_RNG #define TIOCM_RNG 0x200 /* ring */ #endif #ifndef TIOCM_RI #define TIOCM_RI TIOCM_RNG #endif #ifndef TIOCM_DSR #define TIOCM_DSR 0x400 /* data set ready */ #endif #ifndef TIOCM_OUT1 #define TIOCM_OUT1 0x2000 #endif #ifndef TIOCM_OUT2 #define TIOCM_OUT2 0x4000 #endif #ifndef TIOCM_LOOP #define TIOCM_LOOP 0x8000 #endif #include