*** empty log message ***
This commit is contained in:
@@ -14,9 +14,6 @@
|
||||
#include "buf.h"
|
||||
#include "util.h"
|
||||
|
||||
#define CocPORT 9751
|
||||
#define CocPORTS 3
|
||||
|
||||
int CocCreateSockAdr(
|
||||
struct sockaddr_in *sockaddrPtr, /* Socket address */
|
||||
const char *host, /* Host. NULL implies INADDR_ANY */
|
||||
@@ -35,9 +32,9 @@ void CocFreeVarList(CocVar **varList);
|
||||
CocVar *CocFindVar(CocVar *varList, const char *name);
|
||||
int CocPutVar(CocVar *varList, buf_type *buf, const char *name);
|
||||
int CocGetVar(CocVar *varList, buf_type *buf, const char *name);
|
||||
void CocDefFlag(int *flag);
|
||||
|
||||
#define CocDefInt(V,F) CocDefVar(#V,&V,-1,&F)
|
||||
#define CocDefFlt(V,F) CocDefVar(#V,&V,-2,&F)
|
||||
#define CocDefStr(V,F) CocDefVar(#V,V,sizeof(V),&F)
|
||||
#define CocDefCmd(V) CocDefVar("$",V,sizeof(V),&CocWR)
|
||||
#define CocDefStrPtr(V,S,F) CocDefVar(#V,V,S,&F)
|
||||
|
||||
Reference in New Issue
Block a user