[Ccom-develop] ccom/include ccom.h,1.7,1.8
Brought to you by:
chrisan,
rasmusmyklebust
From: Rasmus M. <ras...@us...> - 2004-11-08 21:17:59
|
Update of /cvsroot/ccomx/ccom/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1726 Modified Files: ccom.h Log Message: Line endings Index: ccom.h =================================================================== RCS file: /cvsroot/ccomx/ccom/include/ccom.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ccom.h 21 Jun 2004 19:17:54 -0000 1.7 --- ccom.h 8 Nov 2004 21:17:48 -0000 1.8 *************** *** 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 --- 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 |