view KKFX80E.h @ 215:e925664b4b1b

Add streq() and strneq() definitions to utils.h
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 14 Apr 2014 12:46:14 +0200
parents 3427013e4f70
children eaac96094640
line wrap: on
line source

#ifndef __KKFX80E_H__
#define __KKFX80E_H__

#ifdef __cplusplus
    extern "C" {
#endif

int FX_Init(void);
void FX_Free(void);
int FX_OpenPort(char **port);
void FX_ClosePort(void);
int FX_SendCommand(char **cmd);
int FX_GetReport(char **sep);
void FX_Debug(BOOL value);

int FX_Open(char *port);
void FX_Close(void);
int FX_Send(char cmd);
int FX_Recv(char **data, int timeout);
char * FX_Error(void);

#ifdef __cplusplus
    }
#endif

#endif  /* ndef __KKFX80E_H__ */