httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/include apr_mmap.h
Date Wed, 03 Nov 1999 12:33:34 GMT
dreid       99/11/03 04:33:34

  Modified:    src/lib/apr/include apr_mmap.h
  Log:
  Add the new functions and also argument names :-)
  
  Revision  Changes    Path
  1.2       +11 -9     apache-2.0/src/lib/apr/include/apr_mmap.h
  
  Index: apr_mmap.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_mmap.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- apr_mmap.h	1999/10/21 20:36:45	1.1
  +++ apr_mmap.h	1999/11/03 12:33:32	1.2
  @@ -69,17 +69,19 @@
   typedef struct mmap_t            ap_mmap_t;
   
   /*   Function definitions */
  -ap_status_t ap_mmap_create(ap_mmap_t **, const char *, ap_context_t *);
  -ap_status_t ap_mmap_open_create(ap_mmap_t **, ap_file_t *, ap_context_t *);
  -ap_status_t ap_mmap_delete(ap_mmap_t *);
   
  -ap_status_t ap_read_mmap(char *, ap_ssize_t *, ap_ssize_t *, 
  -                    ap_ssize_t *, ap_mmap_t *, ap_context_t *);
  -ap_status_t ap_send_mmap(ap_socket_t *, ap_ssize_t *, ap_ssize_t *, 
  -                    ap_mmap_t *, ap_context_t *);
  +/* creation */
  +ap_status_t ap_mmap_create(ap_mmap_t ** newmmap, const char *fname, ap_context_t *cntxt);
  +ap_status_t ap_mmap_open_create(ap_mmap_t **newmmap, ap_file_t *file, ap_context_t *cntxt);
   
  -ap_status_t ap_first_mmap(struct mmap_t *, ap_context_t *);
  -ap_status_t ap_next_mmap(struct mmap_t *, struct mmap_t *, ap_context_t *);
  +/* destruction */
  +ap_status_t ap_mmap_delete(ap_mmap_t *mmap);
  +
  +/* These are designed to be used in qsort, bsearch etc */
  +ap_int32_t ap_mmap_inode_compare(const void *m1, const void *m2);
  +ap_int32_t ap_mmap_filename_compare(const void *m1, const void *m2);
  +
  +ap_status_t ap_mmap_offset(void **addr, ap_mmap_t *mmap, ap_size_t offset);
   
   #ifdef __cplusplus
   }
  
  
  

Mime
View raw message