version 1.6, 2003/11/18 11:08:27 |
version 1.12, 2020/10/06 11:33:47 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxKan0.h,v 1.5 2002/11/08 02:54:11 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxKan0.h,v 1.11 2004/09/17 08:46:10 takayama Exp $ */ |
/* ox_kan0.h */ |
/* ox_kan0.h */ |
|
|
#define mymalloc(n) malloc(n) |
#define mymalloc(n) sGC_malloc(n) |
#define myfree(p) free(p) |
#define myfree(p) sGC_free(p) |
typedef FILE2 * ox_stream; |
typedef FILE2 * ox_stream; |
|
|
int socketOpen(char *serverName,int portNumber); |
int socketOpen(char *serverName,int portNumber); |
Line 13 int oxSocketSelect0(int fd,int t); |
|
Line 13 int oxSocketSelect0(int fd,int t); |
|
int oxSocketMultiSelect(int sid[],int size,int t,int result[]); |
int oxSocketMultiSelect(int sid[],int size,int t,int result[]); |
int socketConnect(char *serverName,int portNumber); |
int socketConnect(char *serverName,int portNumber); |
int socketConnectWithPass(char *serverName,int portNumber,char *pass); |
int socketConnectWithPass(char *serverName,int portNumber,char *pass); |
|
int errorOxmisc2(char *s); // defined in oxmisc2.c |
|
|
|
|
/* ------------------------------------- */ |
/* ------------------------------------- */ |
Line 87 int oxclientMultiSelect(oxclientp clients[],int datare |
|
Line 88 int oxclientMultiSelect(oxclientp clients[],int datare |
|
int oxInitClient(oxclientp c); |
int oxInitClient(oxclientp c); |
int oxGetControl(oxclientp client); |
int oxGetControl(oxclientp client); |
int oxIsThereErrorClient(oxclientp client); /* 1 : error, 0 : OK. */ |
int oxIsThereErrorClient(oxclientp client); /* 1 : error, 0 : OK. */ |
oxclientp oxCreateClient(char *ipname,int portStream,int portControl); |
oxclientp oxCreateClient(char *ipname,int portStream,int portControl, |
|
char *passControl,char *passData); |
oxclientp oxCreateClientFile(char *fileName,char *mode,char *controlFileName,char *cmode); |
oxclientp oxCreateClientFile(char *fileName,char *mode,char *controlFileName,char *cmode); |
oxclientp oxCreateClient2(int fdstream,int portStream, |
oxclientp oxCreateClient2(int fdstream,int portStream, |
int fdcontrol,int portControl,int ipmask,char *pass); |
int fdcontrol,int portControl,int ipmask,char *cpass,char *dpass); |
int oxSetByteOrder(int fd); |
int oxSetByteOrder(int fd); |
int oxTellMyByteOrder(int fdOut,int fdIn); |
int oxTellMyByteOrder(int fdOut,int fdIn); |
|
|
Line 138 void oxReqSetName(ox_stream os,char *name); |
|
Line 140 void oxReqSetName(ox_stream os,char *name); |
|
void oxReqEvalName(ox_stream os,char *name); |
void oxReqEvalName(ox_stream os,char *name); |
void oxReqExecuteStringByLocalParser(ox_stream os,char *s); |
void oxReqExecuteStringByLocalParser(ox_stream os,char *s); |
void oxReqExecuteFunction(ox_stream os,char *s); |
void oxReqExecuteFunction(ox_stream os,char *s); |
|
void oxReqExecuteFunctionWithOptionalArgument(ox_stream os,char *s); |
void oxReqPopString(ox_stream os); |
void oxReqPopString(ox_stream os); |
void oxReqPushString(ox_stream os,char *s); |
void oxReqPushString(ox_stream os,char *s); |
void oxReqPopCMO(ox_stream os); |
void oxReqPopCMO(ox_stream os); |
Line 153 int oxRemovePortFile(void); |
|
Line 156 int oxRemovePortFile(void); |
|
|
|
#define MAX_N_OF_CLIENT 1024 |
#define MAX_N_OF_CLIENT 1024 |
int oxGetClientID(); |
int oxGetClientID(); |
|
|
|
char *oxFIDtoStr(int id); |