| version 1.16, 2003/05/24 23:10:40 | 
version 1.19, 2003/05/29 15:50:49 | 
 | 
 | 
|  /* -*- 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.18 2003/05/28 08:43:59 ohara Exp $ */ | 
|   | 
  | 
|  #ifndef _OX_TOOLKIT_H_ | 
 #ifndef _OX_TOOLKIT_H_ | 
|   | 
  | 
| Line 44  typedef struct OXFILE{ | 
 
  | 
| Line 44  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 84  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 138  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 172  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); | 
|   | 
  |