#ifndef _SERUTIL_H_ #define _SERUTIL_H_ #define SER_BUF_LEN 320 typedef struct { /* private */ int type; } SerChannel; SerChannel *SerOpen(const char *host, int msecTmo, int (*idleHdl)(int,int)); char *SerCmd(SerChannel *ser, char *cmnd); SerChannel *SerCheck(SerChannel *ser); void SerClose(SerChannel *ser); /* char *SerCmdC(SerChannel *ser, const char *cmnd); */ #endif /* _SERUTIL_H_ */