亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? apr_mmap.h

?? Apache_2.0.59-Openssl_0.9 配置tomcat. Apache_2.0.59-Openssl_0.9 配置tomcat.
?? H
字號:
/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
 * applicable.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef APR_MMAP_H
#define APR_MMAP_H

/**
 * @file apr_mmap.h
 * @brief APR MMAP routines
 */

#include "apr.h"
#include "apr_pools.h"
#include "apr_errno.h"
#include "apr_ring.h"
#include "apr_file_io.h"        /* for apr_file_t */

#ifdef BEOS
#include <kernel/OS.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/**
 * @defgroup apr_mmap MMAP (Memory Map) Routines
 * @ingroup APR 
 * @{
 */

/** MMap opened for reading */
#define APR_MMAP_READ    1
/** MMap opened for writing */
#define APR_MMAP_WRITE   2

/** @see apr_mmap_t */
typedef struct apr_mmap_t            apr_mmap_t;

/**
 * @remark
 * As far as I can tell the only really sane way to store an MMAP is as a
 * void * and a length.  BeOS requires this area_id, but that's just a little
 * something extra.  I am exposing this type, because it doesn't make much
 * sense to keep it private, and opening it up makes some stuff easier in
 * Apache.
 */
/** The MMAP structure */
struct apr_mmap_t {
    /** The pool the mmap structure was allocated out of. */
    apr_pool_t *cntxt;
#ifdef BEOS
    /** An area ID.  Only valid on BeOS */
    area_id area;
#endif
#ifdef WIN32
    /** The handle of the file mapping */
    HANDLE mhandle;
    /** The start of the real memory page area (mapped view) */
    void *mv;
    /** The physical start, size and offset */
    apr_off_t  pstart;
    apr_size_t psize;
    apr_off_t  poffset;
#endif
    /** The start of the memory mapped area */
    void *mm;
    /** The amount of data in the mmap */
    apr_size_t size;
    /** @deprecated this field is no longer used and will be removed
     * in APR 1.0 */
    int unused;
    /** ring of apr_mmap_t's that reference the same
     * mmap'ed region; acts in place of a reference count */
    APR_RING_ENTRY(apr_mmap_t) link;
};

#if APR_HAS_MMAP || defined(DOXYGEN)

/** @def APR_MMAP_THRESHOLD 
 * Files have to be at least this big before they're mmap()d.  This is to deal
 * with systems where the expense of doing an mmap() and an munmap() outweighs
 * the benefit for small files.  It shouldn't be set lower than 1.
 */
#ifdef MMAP_THRESHOLD
#  define APR_MMAP_THRESHOLD              MMAP_THRESHOLD
#else
#  ifdef SUNOS4
#    define APR_MMAP_THRESHOLD            (8*1024)
#  else
#    define APR_MMAP_THRESHOLD            1
#  endif /* SUNOS4 */
#endif /* MMAP_THRESHOLD */

/** @def APR_MMAP_LIMIT
 * Maximum size of MMap region
 */
#ifdef MMAP_LIMIT
#  define APR_MMAP_LIMIT                  MMAP_LIMIT
#else
#  define APR_MMAP_LIMIT                  (4*1024*1024)
#endif /* MMAP_LIMIT */

/** Can this file be MMaped */
#define APR_MMAP_CANDIDATE(filelength) \
    ((filelength >= APR_MMAP_THRESHOLD) && (filelength < APR_MMAP_LIMIT))

/*   Function definitions */

/** 
 * Create a new mmap'ed file out of an existing APR file.
 * @param newmmap The newly created mmap'ed file.
 * @param file The file turn into an mmap.
 * @param offset The offset into the file to start the data pointer at.
 * @param size The size of the file
 * @param flag bit-wise or of:
 * <PRE>
 *          APR_MMAP_READ       MMap opened for reading
 *          APR_MMAP_WRITE      MMap opened for writing
 * </PRE>
 * @param cntxt The pool to use when creating the mmap.
 */
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);

/**
 * Duplicate the specified MMAP.
 * @param new_mmap The structure to duplicate into. 
 * @param old_mmap The mmap to duplicate.
 * @param p The pool to use for new_mmap.
 * @param transfer_ownership DEPRECATED: this param is now ignored
 *  and should be removed prior to APR 1.0
 */         
APR_DECLARE(apr_status_t) apr_mmap_dup(apr_mmap_t **new_mmap,
                                       apr_mmap_t *old_mmap,
                                       apr_pool_t *p,
                                       int transfer_ownership);

#if defined(DOXYGEN)
/**
 * Transfer the specified MMAP to a different pool
 * @param new_mmap The structure to duplicate into.
 * @param old_mmap The file to transfer.
 * @param p The pool to use for new_mmap.
 * @deprecated Just use apr_mmap_dup().  The transfer_ownership flag will
 *  go away soon anyway.
 */
APR_DECLARE(apr_status_t) apr_mmap_setaside(apr_mmap_t **new_mmap,
                                            apr_mmap_t *old_mmap,
                                            apr_pool_t *p);
#else
#define apr_mmap_setaside(new_mmap, old_mmap, p) apr_mmap_dup(new_mmap, old_mmap, p, 1)
#endif /* DOXYGEN */

/**
 * Remove a mmap'ed.
 * @param mm The mmap'ed file.
 */
APR_DECLARE(apr_status_t) apr_mmap_delete(apr_mmap_t *mm);

/** 
 * Move the pointer into the mmap'ed file to the specified offset.
 * @param addr The pointer to the offset specified.
 * @param mm The mmap'ed file.
 * @param offset The offset to move to.
 */
APR_DECLARE(apr_status_t) apr_mmap_offset(void **addr, apr_mmap_t *mm, 
                                          apr_off_t offset);

#endif /* APR_HAS_MMAP */

/** @} */

#ifdef __cplusplus
}
#endif

#endif  /* ! APR_MMAP_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线播放一区| 偷拍一区二区三区| 91精品国产一区二区三区| 成人精品一区二区三区四区| 中文字幕乱码日本亚洲一区二区| 欧美一级二级在线观看| 欧美午夜精品一区二区蜜桃 | 蜜桃免费网站一区二区三区| 日韩国产精品久久久| 蜜桃av一区二区三区电影| 另类小说综合欧美亚洲| 韩国三级在线一区| 国产伦精一区二区三区| 99麻豆久久久国产精品免费| 91老师片黄在线观看| 欧洲一区二区三区在线| 欧美日韩成人在线一区| 精品国精品国产| 国产精品久久久久久久久久久免费看 | 国v精品久久久网| av亚洲产国偷v产偷v自拍| 91性感美女视频| 欧美久久久影院| 久久亚区不卡日本| 国产精品久久精品日日| 亚洲欧美日韩国产综合| 天天综合天天综合色| 国产精品自拍一区| 在线视频一区二区免费| 日韩欧美亚洲另类制服综合在线| 国产欧美一区二区精品性色超碰| 一区二区三区四区五区视频在线观看 | 高清国产一区二区| 欧美日韩中文字幕一区二区| 精品国产免费一区二区三区四区 | 一区二区三区高清不卡| 美国三级日本三级久久99| 国产成人av网站| 91精品国产一区二区三区| 国产精品久久久久久久久久免费看 | 国模少妇一区二区三区| 91在线小视频| 久久久久久97三级| 亚洲狼人国产精品| 国产裸体歌舞团一区二区| 欧美群妇大交群中文字幕| 久久精品亚洲精品国产欧美| 婷婷久久综合九色综合绿巨人| 国产激情一区二区三区桃花岛亚洲| 欧美日韩在线观看一区二区| 亚洲国产成人一区二区三区| 免费久久精品视频| 欧美三级中文字| 亚洲色图视频网| 国产精品自拍av| 日韩欧美你懂的| 天天av天天翘天天综合网色鬼国产| 成人动漫av在线| 国产亚洲视频系列| 黄色日韩三级电影| 777久久久精品| 日韩高清在线电影| 欧美日韩国产大片| 亚洲影视资源网| 欧美视频三区在线播放| 亚洲精品乱码久久久久久黑人| 成人看片黄a免费看在线| 久久精品视频免费| 国产精品99久| 久久久精品蜜桃| 国产成人超碰人人澡人人澡| 26uuuu精品一区二区| 久久精品国产免费| 欧美一级国产精品| 日韩av电影天堂| 精品国产三级电影在线观看| 国内精品视频一区二区三区八戒| 精品免费日韩av| 国产精品一线二线三线精华| 久久久精品日韩欧美| 国产福利一区二区三区在线视频| 国产亚洲一区二区三区在线观看| 成人午夜视频在线| 专区另类欧美日韩| 91精彩视频在线观看| 亚洲一区二区在线视频| 欧美日韩高清一区二区| 秋霞影院一区二区| 精品久久五月天| 国产成人综合视频| 成人免费在线观看入口| 91蜜桃视频在线| 亚洲18影院在线观看| 欧美www视频| 成人网页在线观看| 亚洲一区在线电影| 欧美不卡一二三| 成人av网站免费| 视频一区国产视频| 久久久久久麻豆| 91搞黄在线观看| 国产在线播精品第三| 自拍偷拍欧美激情| 日韩一区二区精品葵司在线| 成人a区在线观看| 日韩精品一级中文字幕精品视频免费观看| 欧美电影免费观看高清完整版在| 成人黄页毛片网站| 亚洲成人中文在线| 国产亚洲欧美色| 欧美日韩黄视频| 国产精品一卡二卡| 亚洲高清视频的网址| 国产欧美日韩另类视频免费观看| 欧洲精品在线观看| 国产高清一区日本| 视频一区国产视频| 中文字幕一区二区不卡| 日韩午夜激情av| 91成人免费在线视频| 国产专区欧美精品| 午夜日韩在线观看| 亚洲欧美在线另类| 欧美精品一区二区不卡| 在线免费精品视频| 成人av综合在线| 国产一区二区三区免费看 | 国产毛片一区二区| 午夜久久久久久| 亚洲精品高清在线| 国产精品美女久久久久久| 精品国产一区二区三区久久影院 | 91精品国产全国免费观看| av一区二区三区在线| 国产一区二区免费看| 日本va欧美va欧美va精品| 亚洲国产精品嫩草影院| 亚洲三级在线播放| 中文字幕av一区二区三区| 亚洲精品一区在线观看| 欧美一级欧美一级在线播放| 欧美三级电影网| 色综合中文字幕国产| 久久99国产精品麻豆| 另类调教123区 | 欧美日韩精品三区| 欧美三日本三级三级在线播放| 99re这里都是精品| 一本一道综合狠狠老| 成人激情黄色小说| 99久久精品免费看国产免费软件| 大白屁股一区二区视频| 国产91清纯白嫩初高中在线观看| 国产精品一区二区久激情瑜伽| 国内不卡的二区三区中文字幕| 韩国av一区二区| 国产激情一区二区三区四区| 国产精品99久久久久久似苏梦涵 | 一区二区三区视频在线看| 亚洲欧美日韩电影| 亚洲一区二区欧美| 午夜成人在线视频| 美腿丝袜一区二区三区| 国产成人av福利| 色狠狠一区二区三区香蕉| 欧美日本在线播放| 欧美大片一区二区三区| 国产亚洲自拍一区| 亚洲精品国产精华液| 五月婷婷激情综合| 国模少妇一区二区三区| 99国内精品久久| 3d成人动漫网站| 久久精品一级爱片| 夜夜嗨av一区二区三区中文字幕 | 韩国三级电影一区二区| av电影天堂一区二区在线| 欧美性色黄大片| 久久嫩草精品久久久精品| 亚洲免费在线电影| 老司机精品视频在线| 成人h动漫精品一区二区| 欧美人伦禁忌dvd放荡欲情| 2023国产一二三区日本精品2022| 1000精品久久久久久久久| 亚洲超碰精品一区二区| 国产麻豆欧美日韩一区| 色婷婷久久综合| 精品国产乱码久久久久久蜜臀| 中文字幕欧美一| 麻豆精品在线观看| 色菇凉天天综合网| 久久精品夜夜夜夜久久| 五月天婷婷综合| 成人avav影音| 精品国产污污免费网站入口| 亚洲资源在线观看| 成人av网站免费| wwwwxxxxx欧美| 日本亚洲最大的色成网站www|