[Ccom-develop] ccom/include ccom.h,1.6,1.7
Brought to you by:
chrisan,
rasmusmyklebust
From: Christer S. <ch...@us...> - 2004-06-21 19:18:04
|
Update of /cvsroot/ccomx/ccom/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15985/include Modified Files: ccom.h Log Message: fixed some build issues Index: ccom.h =================================================================== RCS file: /cvsroot/ccomx/ccom/include/ccom.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ccom.h 8 Feb 2004 20:47:21 -0000 1.6 --- ccom.h 21 Jun 2004 19:17:54 -0000 1.7 *************** *** 1,37 **** ! #ifndef CCOM_H ! #define CCOM_H ! ! #define CCOM_VERSION_MAJOR 1 ! #define CCOM_VERSION_MINOR 0 ! #define CCOM_VERSION_PATCH 0 ! #define CCOM_VERSION_STRING "1.0.0" ! #define CCOM_DATE 20040208 /* yyyymmdd */ ! #define CCOM_DATE_STRING "Feb 08, 2004" ! ! #include "ccom/ccomcfg.h" ! ! #define CCOM_COM1 0 ! #define CCOM_COM2 1 ! #define CCOM_COM3 2 ! #define CCOM_COM4 3 ! ! #define CCOM_ERR_ORUN (1 << 0) ! #define CCOM_ERR_PAR (1 << 1) ! #define CCOM_ERR_FRAME (1 << 2) ! ! CCOM_FUNC(int, CcomSettingsDialogue, (int portno)); ! CCOM_FUNC(int, CcomSendBuffer, (int portnr, const char *buffer, int n, CCOM_METHOD(void, Notify, (int portnr, void *data)), void *data)); ! CCOM_FUNC(int, CcomStartScanning, (int portnr, int options, CCOM_METHOD(void, CallBack, (int portnr, int readdata, int error, void *data)), void *data)); ! CCOM_FUNC(void, CcomSetPath, (const char *path)); ! ! CCOM_FUNC(int, CcomStopSending, (int portno)); ! CCOM_FUNC(int, CcomStopScanning, (int portno)); ! ! CCOM_FUNC(int, CcomSetBaud, (int portno, long baud_rate)); ! CCOM_FUNC(int, CcomSetBits, (int portno, int nobits)); ! CCOM_FUNC(int, CcomSetStopBits, (int portno, int stopbits)); ! CCOM_FUNC(int, CcomSetParity, (int portno, int parity)); ! CCOM_FUNC(int, CcomSetParityEnable, (int portno, int parityenable)); ! CCOM_FUNC(void, CcomLoopBackMode, (int portno, int mode)); ! ! #endif --- 1,37 ---- ! #ifndef CCOM_H ! #define CCOM_H ! ! #define CCOM_VERSION_MAJOR 0 ! #define CCOM_VERSION_MINOR 9 ! #define CCOM_VERSION_PATCH 2 ! #define CCOM_VERSION_STRING "0.9.2" ! #define CCOM_DATE 20040611 /* yyyymmdd */ ! #define CCOM_DATE_STRING "Jun 11, 2004" ! ! #include "ccom/ccomcfg.h" ! ! #define CCOM_COM1 0 ! #define CCOM_COM2 1 ! #define CCOM_COM3 2 ! #define CCOM_COM4 3 ! ! #define CCOM_ERR_ORUN (1 << 0) ! #define CCOM_ERR_PAR (1 << 1) ! #define CCOM_ERR_FRAME (1 << 2) ! ! CCOM_FUNC(int, CcomSettingsDialogue, (int portno)); ! CCOM_FUNC(int, CcomSendBuffer, (int portnr, const char *buffer, int n, CCOM_METHOD(void, Notify, (int portnr, void *data)), void *data)); ! CCOM_FUNC(int, CcomStartScanning, (int portnr, int options, CCOM_METHOD(void, CallBack, (int portnr, int readdata, int error, void *data)), void *data)); ! CCOM_FUNC(void, CcomSetPath, (const char *path)); ! ! CCOM_FUNC(int, CcomStopSending, (int portno)); ! CCOM_FUNC(int, CcomStopScanning, (int portno)); ! ! CCOM_FUNC(int, CcomSetBaud, (int portno, long baud_rate)); ! CCOM_FUNC(int, CcomSetBits, (int portno, int nobits)); ! CCOM_FUNC(int, CcomSetStopBits, (int portno, int stopbits)); ! CCOM_FUNC(int, CcomSetParity, (int portno, int parity)); ! CCOM_FUNC(int, CcomSetParityEnable, (int portno, int parityenable)); ! CCOM_FUNC(void, CcomLoopBackMode, (int portno, int mode)); ! ! #endif |