*** empty log message ***

This commit is contained in:
cvs
2000-03-08 13:41:57 +00:00
parent d50d83f2e7
commit 749772c6ae
13 changed files with 1197 additions and 0 deletions

39
tecs/tecc.h Normal file
View 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
------------------------------------------------------------------------*/