*** empty log message ***

This commit is contained in:
cvs
2000-03-15 11:29:27 +00:00
parent 3b3d926d30
commit 952b84dedb
4 changed files with 58 additions and 9 deletions

View File

@@ -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)