*** empty log message ***
This commit is contained in:
16
tecs/client.h
Normal file
16
tecs/client.h
Normal 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);
|
||||
Reference in New Issue
Block a user