You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@hyperreal.org on 1999/02/25 20:57:11 UTC

cvs commit: apache-apr/include apr_file_io.h apr_general.h

rbb         99/02/25 11:57:11

  Modified:    include  apr_file_io.h apr_general.h
  Log:
  Added typedefs for all the integer types.  They most likely aren't correct,
  but until I get a chance to fix them, they will work.
  
  Revision  Changes    Path
  1.5       +5 -2      apache-apr/include/apr_file_io.h
  
  Index: apr_file_io.h
  ===================================================================
  RCS file: /home/cvs/apache-apr/include/apr_file_io.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apr_file_io.h	1999/02/23 21:23:45	1.4
  +++ apr_file_io.h	1999/02/25 19:57:10	1.5
  @@ -91,7 +91,10 @@
   typedef mode_t apr_fileperms_t;
   
   /*   Function definitions */
  -apr_file_t *apr_open(char *fname, apr_int32_t flag, apr_fileperms_t mode);
  -apr_status_t apr_close(apr_file_t file);
  +apr_file_t *apr_open(char *, apr_int32_t, apr_fileperms_t);
  +apr_status_t apr_close(apr_file_t *);
  +
  +apr_uint64_t apr_read(apr_file_t *, void *, apr_uint64_t);
  +apr_uint64_t apr_write(apr_file_t *, void *, apr_uint64_t);
   #endif  /* ! APR_FILE_IO_H */
   
  
  
  
  1.4       +8 -1      apache-apr/include/apr_general.h
  
  Index: apr_general.h
  ===================================================================
  RCS file: /home/cvs/apache-apr/include/apr_general.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apr_general.h	1999/02/23 21:23:45	1.3
  +++ apr_general.h	1999/02/25 19:57:10	1.4
  @@ -59,6 +59,13 @@
   #define TRUE 1
   #define FALSE 0
   
  -typedef int apr_int32_t;
  +typedef short             apr_int16_t;
  +typedef unsigned short    apr_uint16_t;
  +typedef int               apr_int32_t;
  +typedef unsigned int      apr_uint32_t;
  +typedef long              apr_int64_t;
  +typedef unsigned long     apr_uint64_t;
  +
  +
   
   #endif  /* ! APR_GENERAL_H */