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

Diff for /OpenXM/src/ox_toolkit/ox_toolkit.h between version 1.16 and 1.20

version 1.16, 2003/05/24 23:10:40 version 1.20, 2003/06/02 10:25:57
Line 1 
Line 1 
 /* -*- mode: C -*- */  /* -*- mode: C -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.15 2003/03/30 08:05:22 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.19 2003/05/29 15:50:49 ohara Exp $ */
   
 #ifndef _OX_TOOLKIT_H_  #ifndef _OX_TOOLKIT_H_
   
Line 19  extern "C" {
Line 19  extern "C" {
 #include <ox/oxMessageTag.h>  #include <ox/oxMessageTag.h>
 #include <ox/smCommand.h>  #include <ox/smCommand.h>
   
   #define MALLOC(x) malloc((x))
   #define ALLOCA(x) alloca((x))
   #define FREE(x)   free((x))
   
 #if !defined(__GNUC__) && !defined(__inline__)  #if !defined(__GNUC__) && !defined(__inline__)
 #define __inline__  #define __inline__
 #endif  #endif
Line 44  typedef struct OXFILE{
Line 48  typedef struct OXFILE{
     struct OXFILE *control;  /* pointer to his control server. */      struct OXFILE *control;  /* pointer to his control server. */
     struct mathcap *mathcap;      struct mathcap *mathcap;
     int error;      int error;
       char *wbuf;
       int wbuf_size;
       int wbuf_count;
 } OXFILE;  } OXFILE;
   
 typedef struct {  typedef struct cmo {
     int tag;      int tag;
 } cmo;  } cmo;
   
Line 81  typedef cmo_mathcap cmo_indeterminate;
Line 88  typedef cmo_mathcap cmo_indeterminate;
   
 /* a double linked list */  /* a double linked list */
 typedef struct cell {  typedef struct cell {
     cmo *cmo;      struct cmo *cmo;
     struct cell *next;      struct cell *next;
     struct cell *prev;      struct cell *prev;
 } cell;  } cell;
Line 135  typedef struct {
Line 142  typedef struct {
   
 typedef struct {  typedef struct {
     int tag;      int tag;
     cmo *cmo;      struct cmo *cmo;
 } ox_data;  } ox_data;
   
 cmo_null*          new_cmo_null();  cmo_null*          new_cmo_null();
Line 169  cmo_error2*        make_error_object(int err_code, cmo
Line 176  cmo_error2*        make_error_object(int err_code, cmo
   
 /* Low level API */  /* Low level API */
 cmo*               receive_cmo(OXFILE *fp);  cmo*               receive_cmo(OXFILE *fp);
   cmo*               receive_cmo_tag(OXFILE *fp, int tag);
 int                receive_int32(OXFILE *fp);  int                receive_int32(OXFILE *fp);
 int                receive_ox_tag(OXFILE *fp);  int                receive_ox_tag(OXFILE *fp);
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.20

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