[BACK]Return to cmo-gmp.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / plugin

Diff for /OpenXM/src/kan96xx/plugin/cmo-gmp.c between version 1.1.1.1 and 1.3

version 1.1.1.1, 1999/10/08 02:12:05 version 1.3, 1999/11/18 00:54:17
Line 1 
Line 1 
   /*$OpenXM$ */
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
 #include <netinet/in.h>  /* #include <netinet/in.h> */
 #include "datatype.h"  #include "datatype.h"
 #include "stackm.h"  #include "stackm.h"
 #include "extern.h"  #include "extern.h"
Line 161  static int myfgetc(struct cmoBuffer *cb)
Line 162  static int myfgetc(struct cmoBuffer *cb)
       cb->rpos--;        cb->rpos--;
       errorCmo(" cmo-gmp.c : myfgetc(): no data in the buffer.");        errorCmo(" cmo-gmp.c : myfgetc(): no data in the buffer.");
     }      }
     return(k);  
   }    }
     return(k);
 }  }
 static int getRawInt32(struct cmoBuffer *cb)  static int getRawInt32(struct cmoBuffer *cb)
 {  {
   char d[4];    char d[4];
   int i;    int i;
     int r;
   for (i=0; i<4; i++) {    for (i=0; i<4; i++) {
     d[i] = myfgetc(cb);      d[i] = myfgetc(cb);
   }    }
   return(ntohl(* ( (int *)d)));    return( ntohl(* ( (int *)d)));
 }  }
   
 cmoGetGMPCoeff_old(MP_INT *x, struct cmoBuffer *cb)  cmoGetGMPCoeff_old(MP_INT *x, struct cmoBuffer *cb)

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

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