*** empty log message ***
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
#ifndef _CLIENT_H_
|
||||
#define _CLIENT_H_
|
||||
|
||||
#include "coc.h"
|
||||
|
||||
typedef struct {
|
||||
int fd, port;
|
||||
CocVar *varList;
|
||||
buf_type *cmdbuf; /* for sending command */
|
||||
buf_type *resbuf; /* for response */
|
||||
Str_Buf *cmdbuf; /* for sending command */
|
||||
Str_Buf *resbuf; /* for response */
|
||||
char host[64];
|
||||
char magic[32];
|
||||
char startcmd[512];
|
||||
@@ -14,3 +17,5 @@ int CocInitClient(CocConn *conn, char *host, int port, char *magic, int bufsize,
|
||||
int CocSendMagic(CocConn *conn, char *magic);
|
||||
int CocCmd(CocConn *conn, const char *rwList);
|
||||
void CocCloseClient(CocConn *conn);
|
||||
|
||||
#endif /* _CLIENT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user