[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.26 and 1.30

version 1.26, 2003/09/18 12:46:08 version 1.30, 2005/03/03 07:25:17
Line 1 
Line 1 
 /* -*- mode: C -*- */  /* -*- mode: C -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.25 2003/09/15 09:31:41 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.29 2005/03/03 06:21:23 ohara Exp $ */
   
 #ifndef _OX_TOOLKIT_H_  #ifndef _OX_TOOLKIT_H_
   
Line 10  extern "C" {
Line 10  extern "C" {
 #endif  #endif
   
 #include <stdio.h>  #include <stdio.h>
 #if defined(WITH_GMP)  
 #include <gmp.h>  #include <gmp.h>
 #else  
 #include "gmp_fake.h"  
 #endif /* WITH_GMP */  
 #include <ox/cmotag.h>  #include <ox/cmotag.h>
 #include <ox/oxMessageTag.h>  #include <ox/oxMessageTag.h>
 #include <ox/smCommand.h>  #include <ox/smCommand.h>
Line 54  typedef struct OXFILE{
Line 50  typedef struct OXFILE{
     char *wbuf;      char *wbuf;
     int wbuf_size;      int wbuf_size;
     int wbuf_count;      int wbuf_count;
       int (*send_double)(struct OXFILE *oxfp, double int64);
       double (*receive_double)(struct OXFILE *oxfp);
 } OXFILE;  } OXFILE;
   
 typedef struct cmo {  typedef struct cmo {
Line 190  cmo_zz*            new_cmo_zz_set_si(int integer);
Line 188  cmo_zz*            new_cmo_zz_set_si(int integer);
 cmo_zz*            new_cmo_zz_set_mpz(mpz_ptr z);  cmo_zz*            new_cmo_zz_set_mpz(mpz_ptr z);
 cmo_zz*            new_cmo_zz_noinit();  cmo_zz*            new_cmo_zz_noinit();
 cmo_zz*            new_cmo_zz_set_string(char* s);  cmo_zz*            new_cmo_zz_set_string(char* s);
   cmo_qq*            new_cmo_qq_noinit();
   cmo_qq*            new_cmo_qq_set_mpq(mpq_ptr q);
   cmo_qq*            new_cmo_qq_set_mpz(mpz_ptr num, mpz_ptr den);
 cmo_zero*          new_cmo_zero();  cmo_zero*          new_cmo_zero();
 cmo_double*        new_cmo_double(double d);  cmo_double*        new_cmo_double(double d);
 cmo_distributed_polynomial* new_cmo_distributed_polynomial();  cmo_distributed_polynomial* new_cmo_distributed_polynomial();

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.30

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