*** empty log message ***
This commit is contained in:
39
tecs/tecc.h
Normal file
39
tecs/tecc.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
tecc.h: tecs client interface routines
|
||||
|
||||
M. Zolliker March 2000
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
typedef struct { int tecc_private; } *pTecsClient;
|
||||
/* hidden structure for a tecs client
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
pTecsClient TeccInit(char *server);
|
||||
/* init tecs client (connect to server)
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
int TeccSetDev(pTecsClient conn, char *dev);
|
||||
/* set device type
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
char *TeccGetDev(pTecsClient conn);
|
||||
/* get device type
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
int TeccGet(pTecsClient conn, float *temp);
|
||||
/* set temperature
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
int TeccSet(pTecsClient conn, float temp);
|
||||
/* get temperature
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
int TeccSend(pTecsClient conn, char *cmd, char *reply, int replyLen);
|
||||
/* send a command transparently to the controller
|
||||
replyLen is the maximal length of reply
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
void TeccClose(pTecsClient conn);
|
||||
/* close connection and free ressources
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user