Main Page | Data Structures | File List | Data Fields | Globals

cctalk-channel.h

Go to the documentation of this file.
00001
00008 #ifndef CCTALK_CHANNEL_H
00009 #define CCTALK_CHANNEL_H
00010 
00015 typedef enum
00016 {
00017     eCCTALK_SUCESS,
00018     eCCTALK_CH_BUSY,
00019     eCCTALK_CANNOT_OPEN,
00020     eCCTALK_CH_NOT_OPEN,
00021     eCCTALK_CH_NO_RPLY,
00022     eCCTALK_CH_NO_DATA,
00024     eCCTALK_CH_FAILED,
00026     eCCTALK_END_OF_ERRORS
00027 } teCCTALK_ERRORS;
00028
00029
00030 teCCTALK_ERRORS cctalk_UseSocket( char *pacSocketName );
00031 teCCTALK_ERRORS cctalk_OpenChannel( teCCTALK_CHANNEL eCctCh, teCCTALK_SPEED eCctSpd );
00032 teCCTALK_ERRORS cctalk_QueueOperation( teCCTALK_CHANNEL eCctCh, tsCCTALK_OPERATION *psCctOp );
00033 teCCTALK_ERRORS cctalk_ReceiveOperation( teCCTALK_CHANNEL eCctCh, tsCCTALK_OPERATION *psCctOp );
00034 teCCTALK_ERRORS cctalk_CloseChannel( teCCTALK_CHANNEL eCctCh );
00035
00037 char *cctalk_StrError( teCCTALK_ERRORS eCctError );
00038 teCCTALK_ERRORS cctalk_ChannelStatus( teCCTALK_CHANNEL eCctCh );
00039 teCCTALK_ERRORS cctalk_ForceCloseChannel( teCCTALK_CHANNEL eCctCh );
00040 teCCTALK_ERRORS cctalk_CommandServerToExit( void );
00041
00042 /* defined in cctalk-pkt-utils.c */
00043 unsigned char cctalk_SimpleChecksum( unsigned char *pacData, unsigned char bLen );
00044
00045 #endif /* CCTALK_CHANNEL_H */

Generated on Thu Jan 20 16:10:44 2005 for Axis cctalk sub-system by doxygen 1.3.6