Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

gphoto2-port-portability-os2.h

00001 #ifndef GPIO_OS2_INCLUDED
00002 #define GPIO_OS2_INCLUDED
00003 #define IOLIBS getenv("IOLIBS")
00004 /*#define IOLIBS "./libgphoto2_port"*/
00005 #define RTLD_LAZY       0x001
00006 #ifndef HAVE_TERMIOS_H
00007 #define  INCL_DOSDEVIOCTL   /* DosDevIOCtl values */
00008 #define IOCTL_ASYNC                        0x0001
00009 #define ASYNC_SETBAUDRATE                  0x0041
00010 /* c_cflag bit meaning */
00011 #define CBAUD   0x0000100f
00012 #define  B0     0x00000000      /* hang up */
00013 #define  B50    0x00000001
00014 #define  B75    0x00000002
00015 #define  B110   0x00000003
00016 #define  B134   0x00000004
00017 #define  B150   0x00000005
00018 #define  B200   0x00000006
00019 #define  B300   0x00000007
00020 #define  B600   0x00000008
00021 #define  B1200  0x00000009
00022 #define  B1800  0x0000000a
00023 #define  B2400  0x0000000b
00024 #define  B4800  0x0000000c
00025 #define  B9600  0x0000000d
00026 #define  B19200 0x0000000e
00027 #define  B38400 0x0000000f
00028 #define EXTA    B19200
00029 #define EXTB    B38400
00030 #define  CSIZE  0x00000030
00031 #define   CS5   0x00000000
00032 #define   CS6   0x00000010
00033 #define   CS7   0x00000020
00034 #define   CS8   0x00000030
00035 #define CSTOPB  0x00000040
00036 #define CREAD   0x00000080
00037 #define PARENB  0x00000100
00038 #define PARODD  0x00000200
00039 #define HUPCL   0x00000400
00040 #define CLOCAL  0x00000800
00041 #define CBAUDEX 0x00001000
00042 #define  B57600  0x00001001
00043 #define  B115200 0x00001002
00044 #define  B230400 0x00001003
00045 #define  B460800 0x00001004
00046 #define  B76800  0x00001005
00047 #define  B153600 0x00001006
00048 #define  B307200 0x00001007
00049 #define  B614400 0x00001008
00050 #define  B921600 0x00001009
00051 #define  B500000 0x0000100a
00052 #define  B576000 0x0000100b
00053 #define B1000000 0x0000100c
00054 #define B1152000 0x0000100d
00055 #define B1500000 0x0000100e
00056 #define B2000000 0x0000100f
00057 
00058 #endif
00059 
00060 #define CIBAUD  0x100f0000      /* input baud rate (not used) */
00061 #define CMSPAR  0x40000000      /* mark or space (stick) parity */
00062 /* #define CRTSCTS 0x80000000  */    /* flow control */
00063 
00064 /* modem lines */
00065 #define TIOCM_LE        0x001
00066 #define TIOCM_DTR       0x002
00067 #define TIOCM_RTS       0x004
00068 #define TIOCM_ST        0x008
00069 #define TIOCM_SR        0x010
00070 #define TIOCM_CTS       0x020
00071 #define TIOCM_CAR       0x040
00072 #define TIOCM_RNG       0x080
00073 #define TIOCM_DSR       0x100
00074 #define TIOCM_CD        TIOCM_CAR
00075 #define TIOCM_RI        TIOCM_RNG
00076 
00077 #define TIOCMBIC        0x06C
00078 #define TIOCMBIS        0x06B
00079 #define TIOCMGET        0x06E
00080 
00081 #endif

Generated on Thu Jun 14 21:43:51 2007 for libgphoto2 (libgphoto2) by  doxygen 1.4.2