summaryrefslogtreecommitdiff
path: root/include/apr_mmap.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-01-18 20:07:38 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-01-18 20:07:38 +0000
commit3c2bc464caefadbf493820130dd797c51cdd8bea (patch)
treea21755e522129a30298b67dc1e39a2e239cbf263 /include/apr_mmap.h
parent298e2f33de5191cf40e0bb7c1c455e587d798385 (diff)
downloadapr-3c2bc464caefadbf493820130dd797c51cdd8bea.tar.gz
Add remaining APR_DECLARE()s to all headers. Conditionally added
APR_DECLARES() to the sources, based on compilation emits (there are many that should be changed eventually, but the compiler will emit errors if those sources are added for win32). This change also splits libapr from apr, so the two projects are compiled seperately. Both .dsp files must be kept up-to-date with source file revisions. Finally, libapr.def is no longer needed - so it is gone. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_mmap.h')
-rw-r--r--include/apr_mmap.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/apr_mmap.h b/include/apr_mmap.h
index a95cedaef..67ea0cac0 100644
--- a/include/apr_mmap.h
+++ b/include/apr_mmap.h
@@ -122,24 +122,29 @@ struct apr_mmap_t {
* APR_MMAP_WRITE MMap opened for writing
* </PRE>
* @param cntxt The pool to use when creating the mmap.
+ * @deffunc apr_status_t apr_mmap_create(apr_mmap_t **newmmap, apr_file_t *file, apr_off_t offset, apr_size_t size, apr_int32_t flag, apr_pool_t *cntxt)
*/
-apr_status_t apr_mmap_create(apr_mmap_t ** newmmap, apr_file_t *file,
- apr_off_t offset, apr_size_t size,
- apr_int32_t flag, apr_pool_t *cntxt);
+APR_DECLARE(apr_status_t) apr_mmap_create(apr_mmap_t **newmmap,
+ apr_file_t *file, apr_off_t offset,
+ apr_size_t size, apr_int32_t flag,
+ apr_pool_t *cntxt);
/**
* Remove a mmap'ed.
* @param mmap The mmap'ed file.
+ * @deffunc apr_status_t apr_mmap_delete(apr_mmap_t *mmap)
*/
-apr_status_t apr_mmap_delete(apr_mmap_t *mmap);
+APR_DECLARE(apr_status_t) apr_mmap_delete(apr_mmap_t *mmap);
/**
* Move the pointer into the mmap'ed file to the specified offset.
* @param addr The pointer to the offset specified.
* @param mmap The mmap'ed file.
* @param offset The offset to move to.
+ * @deffunc apr_status_t apr_mmap_offset(void **addr, apr_mmap_t *mmap, apr_off_t offset)
*/
-apr_status_t apr_mmap_offset(void **addr, apr_mmap_t *mmap, apr_off_t offset);
+APR_DECLARE(apr_status_t) apr_mmap_offset(void **addr, apr_mmap_t *mmap,
+ apr_off_t offset);
#endif /* APR_HAS_MMAP */