[BACK]Return to oxKan0.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / plugin

Diff for /OpenXM/src/kan96xx/plugin/oxKan0.h between version 1.3 and 1.11

version 1.3, 2000/12/03 07:29:39 version 1.11, 2004/09/17 08:46:10
Line 1 
Line 1 
 /* $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.10 2004/09/17 07:27:28 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 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 86  int oxclientMultiSelect(oxclientp clients[],int datare
Line 87  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 fd);  int oxTellMyByteOrder(int fdOut,int fdIn);
   
 char *oxGenPass(void);  char *oxGenPass(void);
   
Line 137  void oxReqSetName(ox_stream os,char *name);
Line 139  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 150  int oxWritePortFile(int func,int port,char *fname);
Line 153  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);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.11

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>