version 1.3, 2000/12/03 07:29:39 |
version 1.7, 2003/11/19 01:02:39 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxKan0.h,v 1.2 2000/01/16 07:55:47 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxKan0.h,v 1.6 2003/11/18 11:08:27 takayama Exp $ */ |
/* ox_kan0.h */ |
/* ox_kan0.h */ |
|
|
#define mymalloc(n) malloc(n) |
#define mymalloc(n) malloc(n) |
Line 66 typedef struct oxclient { |
|
Line 66 typedef struct oxclient { |
|
NULL means no restriction.*/ |
NULL means no restriction.*/ |
int engineByteOrder; |
int engineByteOrder; |
int controlByteOrder; |
int controlByteOrder; |
|
int engineID; |
} oxclient; |
} oxclient; |
#define N_OF_CLIENT_FIELDS 13 /* If you add new field to struct oxclient |
#define N_OF_CLIENT_FIELDS 14 /* If you add new field to struct oxclient |
do not forget to increase the number.*/ |
do not forget to increase the number.*/ |
/* Change also, oxInitClient, oxCreateClient(2), oxCreateClientFile oxmisc.c |
/* Change also, oxInitClient, oxCreateClient(2), oxCreateClientFile oxmisc.c |
oxClientToObject, oxObjectToClient oxmisc2.c |
oxClientToObject, oxObjectToClient oxmisc2.c |
Line 91 oxclientp oxCreateClientFile(char *fileName,char *mode |
|
Line 92 oxclientp oxCreateClientFile(char *fileName,char *mode |
|
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 *pass); |
int oxSetByteOrder(int fd); |
int oxSetByteOrder(int fd); |
int oxTellMyByteOrder(int fd); |
int oxTellMyByteOrder(int fdOut,int fdIn); |
|
|
char *oxGenPass(void); |
char *oxGenPass(void); |
|
|
Line 150 int oxWritePortFile(int func,int port,char *fname); |
|
Line 151 int oxWritePortFile(int func,int port,char *fname); |
|
char *oxGenPortFile(void); |
char *oxGenPortFile(void); |
int oxRemovePortFile(void); |
int oxRemovePortFile(void); |
|
|
|
#define MAX_N_OF_CLIENT 1024 |
|
int oxGetClientID(); |
|
|
|
char *oxFIDtoStr(int id); |