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

Diff for /OpenXM/src/ox_toolkit/ox.c between version 1.13 and 1.14

version 1.13, 2000/10/10 05:23:20 version 1.14, 2000/10/11 06:56:02
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/ox.c,v 1.12 2000/03/10 12:24:38 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/ox.c,v 1.13 2000/10/10 05:23:20 ohara Exp $ */
   
 /*  /*
    This module includes functions for sending/receiveng CMO's.     This module includes functions for sending/receiveng CMO's.
Line 11 
Line 11 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
 #include <errno.h>  
 #include <fcntl.h>  #include <fcntl.h>
 #include <sys/file.h>  #include <sys/file.h>
 #include <time.h>  #include <time.h>
Line 85  static cmo *call_hook_after_send_cmo(OXFILE *oxfp, cmo
Line 84  static cmo *call_hook_after_send_cmo(OXFILE *oxfp, cmo
         return hook_after_send_cmo(oxfp, c);          return hook_after_send_cmo(oxfp, c);
     }      }
     return c;      return c;
 }  
   
 int oxf_read(void *buffer, size_t size, size_t num, OXFILE *oxfp)  
 {  
     return read(oxfp->fd, buffer, size*num);  
 /*  return fread(buffer, size, num, oxfp->fp); */  
 }  
   
 int oxf_write(void *buffer, size_t size, size_t num, OXFILE *oxfp)  
 {  
     return write(oxfp->fd, buffer, size*num);  
 /*  return fwrite(buffer, size, num, oxfp->fp); */  
 }  }
   
 /* Handling an error. */  /* Handling an error. */

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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