*** 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

16
tecs/client.h Normal file
View File

@@ -0,0 +1,16 @@
#include "coc.h"
typedef struct {
int fd, dummy;
CocVar *varList;
buf_type *cmdbuf; /* for sending command */
buf_type *resbuf; /* for response */
char host[64];
char magic[32];
char startcmd[64];
} CocConn;
void CocInitClient(CocConn *conn, char *host, char *magic, int bufsize, char *startcmd);
int CocSendMagic(CocConn *conn, char *magic);
int CocCmd(CocConn *conn, const char *rwList);
void CocCloseClient(CocConn *conn);