version 1.2, 2000/01/16 07:55:47 |
version 1.4, 2002/11/07 23:52:20 |
|
|
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxKan0.h,v 1.3 2000/12/03 07:29:39 takayama Exp $ */ |
/* ox_kan0.h */ |
/* ox_kan0.h */ |
|
|
#define mymalloc(n) malloc(n) |
#define mymalloc(n) malloc(n) |
Line 69 typedef struct oxclient { |
|
Line 69 typedef struct oxclient { |
|
} oxclient; |
} oxclient; |
#define N_OF_CLIENT_FIELDS 13 /* If you add new field to struct oxclient |
#define N_OF_CLIENT_FIELDS 13 /* 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, oxCreateClientFile oxmisc.c |
/* Change also, oxInitClient, oxCreateClient(2), oxCreateClientFile oxmisc.c |
oxClientToObject, oxObjectToClient oxmisc2.c |
oxClientToObject, oxObjectToClient oxmisc2.c |
*/ |
*/ |
typedef oxclient * oxclientp; |
typedef oxclient * oxclientp; |
|
|
|
#define AbortIfRFC_101(oxclient) if (oxclient->controlport < 0) {\ |
|
errorOxmisc2("The OpenXM RFC 101 client is used for RFC 100\n"); } |
|
|
#define CLIENT_SOCKET 0 |
#define CLIENT_SOCKET 0 |
#define CLIENT_FILE 1 |
#define CLIENT_FILE 1 |
|
|
Line 147 int oxWritePortFile(int func,int port,char *fname); |
|
Line 150 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(); |