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

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

?? apr_poll.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_POLL_H
#define APR_POLL_H
/**
 * @file apr_poll.h
 * @brief APR Poll interface
 */
#include "apr.h"
#include "apr_pools.h"
#include "apr_errno.h"
#include "apr_inherit.h" 
#include "apr_file_io.h" 
#include "apr_network_io.h" 

#if APR_HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif

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

/**
 * @defgroup apr_poll Poll Routines
 * @ingroup APR 
 * @{
 */

/**
 * @defgroup apr_poll_opt Poll options
 * @{
 */
#define APR_POLLIN    0x001     /**< Can read without blocking */
#define APR_POLLPRI   0x002     /**< Priority data available */
#define APR_POLLOUT   0x004     /**< Can write without blocking */
#define APR_POLLERR   0x010     /**< Pending error */
#define APR_POLLHUP   0x020     /**< Hangup occurred */
#define APR_POLLNVAL  0x040     /**< Descriptior invalid */
/** @} */

/** Used in apr_pollfd_t to determine what the apr_descriptor is */
typedef enum { 
    APR_NO_DESC,                /**< nothing here */
    APR_POLL_SOCKET,            /**< descriptor refers to a socket */
    APR_POLL_FILE,              /**< descriptor refers to a file */
    APR_POLL_LASTDESC           /**< descriptor is the last one in the list */
} apr_datatype_e ;

/** Union of either an APR file or socket. */
typedef union {
    apr_file_t *f;              /**< file */
    apr_socket_t *s;            /**< socket */
} apr_descriptor;

/** @see apr_pollfd_t */
typedef struct apr_pollfd_t apr_pollfd_t;

/** Poll descriptor set. */
struct apr_pollfd_t {
    apr_pool_t *p;              /**< associated pool */
    apr_datatype_e desc_type;   /**< descriptor type */
    apr_int16_t reqevents;      /**< requested events */
    apr_int16_t rtnevents;      /**< returned events */
    apr_descriptor desc;        /**< @see apr_descriptor */
    void *client_data;          /**< allows app to associate context */
};

/**
 * Setup the memory required for poll to operate properly
 * @param new_poll The poll structure to be used. 
 * @param num The number of socket descriptors to be polled.
 * @param cont The pool to operate on.
 * @deprecated This function is deprecated, APR applications should control the pollset memory themselves.
 */
APR_DECLARE(apr_status_t) apr_poll_setup(apr_pollfd_t **new_poll, 
                                         apr_int32_t num,
                                         apr_pool_t *cont);

/**
 * Poll the sockets in the poll structure
 * @param aprset The poll structure we will be using. 
 * @param numsock The number of sockets we are polling
 * @param nsds The number of sockets signalled.
 * @param timeout The amount of time in microseconds to wait.  This is 
 *                a maximum, not a minimum.  If a socket is signalled, we 
 *                will wake up before this time.  A negative number means 
 *                wait until a socket is signalled.
 * @remark
 * <PRE>
 * The number of sockets signalled is returned in the second argument. 
 *
 *        This is a blocking call, and it will not return until either a 
 *        socket has been signalled, or the timeout has expired. 
 * </PRE>
 */
APR_DECLARE(apr_status_t) apr_poll(apr_pollfd_t *aprset, apr_int32_t numsock,
                                   apr_int32_t *nsds, 
                                   apr_interval_time_t timeout);

/**
 * Add a socket to the poll structure.
 * @param aprset The poll structure we will be using. 
 * @param sock The socket to add to the current poll structure. 
 * @param event The events to look for when we do the poll.  One of:
 * <PRE>
 *            APR_POLLIN       signal if read will not block
 *            APR_POLLPRI      signal if prioirty data is availble to be read
 *            APR_POLLOUT      signal if write will not block
 * </PRE>
 * @deprecated This function is deprecated, APR applications should control the pollset memory themselves.
 */
APR_DECLARE(apr_status_t) apr_poll_socket_add(apr_pollfd_t *aprset, 
                                              apr_socket_t *sock,
                                              apr_int16_t event);

/**
 * Modify a socket in the poll structure with mask.
 * @param aprset The poll structure we will be using. 
 * @param sock The socket to modify in poll structure. 
 * @param events The events to stop looking for during the poll.  One of:
 * <PRE>
 *            APR_POLLIN       signal if read will not block
 *            APR_POLLPRI      signal if priority data is available to be read
 *            APR_POLLOUT      signal if write will not block
 * </PRE>
 * @deprecated This function is deprecated, APR applications should control the pollset memory themselves.
 */
APR_DECLARE(apr_status_t) apr_poll_socket_mask(apr_pollfd_t *aprset,
                                               apr_socket_t *sock,
                                               apr_int16_t events);
/**
 * Remove a socket from the poll structure.
 * @param aprset The poll structure we will be using. 
 * @param sock The socket to remove from the current poll structure. 
 * @deprecated This function is deprecated, APR applications should control the pollset memory themselves.
 */
APR_DECLARE(apr_status_t) apr_poll_socket_remove(apr_pollfd_t *aprset, 
                                                 apr_socket_t *sock);

/**
 * Clear all events in the poll structure.
 * @param aprset The poll structure we will be using. 
 * @param events The events to clear from all sockets.  One of:
 * <PRE>
 *            APR_POLLIN       signal if read will not block
 *            APR_POLLPRI      signal if priority data is available to be read
 *            APR_POLLOUT      signal if write will not block
 * </PRE>
 * @deprecated This function is deprecated, APR applications should control the pollset memory themselves.
 */
APR_DECLARE(apr_status_t) apr_poll_socket_clear(apr_pollfd_t *aprset, 
                                                 apr_int16_t events);

/**
 * Get the return events for the specified socket.
 * @param event The returned events for the socket.  One of:
 * <PRE>
 *            APR_POLLIN       Data is available to be read 
 *            APR_POLLPRI      Priority data is availble to be read
 *            APR_POLLOUT      Write will succeed
 *            APR_POLLERR      An error occurred on the socket
 *            APR_POLLHUP      The connection has been terminated
 *            APR_POLLNVAL     This is an invalid socket to poll on.
 *                             Socket not open.
 * </PRE>
 * @param sock The socket we wish to get information about. 
 * @param aprset The poll structure we will be using. 
 * @deprecated This function is deprecated, APR applications should control the pollset memory themselves.
 */
APR_DECLARE(apr_status_t) apr_poll_revents_get(apr_int16_t *event, 
                                          apr_socket_t *sock,
                                          apr_pollfd_t *aprset);

/* General-purpose poll API for arbitrarily large numbers of
 * file descriptors
 */

/** Opaque structure used for pollset API */
typedef struct apr_pollset_t apr_pollset_t;

/**
 * Setup a pollset object
 * @param pollset  The pointer in which to return the newly created object 
 * @param size The maximum number of descriptors that this pollset can hold
 * @param p The pool from which to allocate the pollset
 * @param flags Optional flags to modify the operation of the pollset
 *              (reserved for future expansion)
 */
APR_DECLARE(apr_status_t) apr_pollset_create(apr_pollset_t **pollset,
                                             apr_uint32_t size,
                                             apr_pool_t *p,
                                             apr_uint32_t flags);

/**
 * Destroy a pollset object
 * @param pollset The pollset to destroy
 */
APR_DECLARE(apr_status_t) apr_pollset_destroy(apr_pollset_t *pollset);

/**
 * Add a socket or file descriptor to a pollset
 * @param pollset The pollset to which to add the descriptor
 * @param descriptor The descriptor to add
 * @remark If you set client_data in the descriptor, that value
 *         will be returned in the client_data field whenever this
 *         descriptor is signalled in apr_pollset_poll().
 */
APR_DECLARE(apr_status_t) apr_pollset_add(apr_pollset_t *pollset,
                                          const apr_pollfd_t *descriptor);

/**
 * Remove a descriptor from a pollset
 * @param pollset The pollset from which to remove the descriptor
 * @param descriptor The descriptor to remove
 */
APR_DECLARE(apr_status_t) apr_pollset_remove(apr_pollset_t *pollset,
                                             const apr_pollfd_t *descriptor);

/**
 * Block for activity on the descriptor(s) in a pollset
 * @param pollset The pollset to use
 * @param timeout Timeout in microseconds
 * @param num Number of signalled descriptors (output parameter)
 * @param descriptors Array of signalled descriptors (output parameter)
 */
APR_DECLARE(apr_status_t) apr_pollset_poll(apr_pollset_t *pollset,
                                           apr_interval_time_t timeout,
                                           apr_int32_t *num,
                                           const apr_pollfd_t **descriptors);

/** @} */

#ifdef __cplusplus
}
#endif

#endif  /* ! APR_POLL_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合天天性综合| 久久99精品久久久久久动态图| 成人av网站免费| 国产精品国产三级国产普通话99 | 欧美精品一区二区在线观看| 日本色综合中文字幕| 欧美一卡二卡三卡| 国产一区二区免费在线| 久久久久久久精| 99久久婷婷国产综合精品| 国产精品久久午夜夜伦鲁鲁| 色综合久久66| 日日夜夜免费精品视频| 26uuu精品一区二区三区四区在线| 国产一区二区不卡| 国产精品久久久久9999吃药| 在线观看日韩国产| 免费人成黄页网站在线一区二区| 久久综合丝袜日本网| 99精品视频在线免费观看| 亚洲va在线va天堂| 2021中文字幕一区亚洲| 一本一道久久a久久精品| 性欧美大战久久久久久久久| 久久婷婷国产综合精品青草| 成人av网址在线观看| 亚洲第一激情av| 26uuu久久天堂性欧美| 一本久久综合亚洲鲁鲁五月天| 视频在线观看一区| 国产欧美一区二区精品性色超碰 | 日韩一区二区视频| 北条麻妃国产九九精品视频| 亚洲永久免费视频| 精品久久久影院| 日本韩国视频一区二区| 狠狠色综合日日| 一区二区欧美国产| 久久久国产精品不卡| 欧美三级电影精品| 丁香六月综合激情| 日韩电影免费在线看| 亚洲欧美综合另类在线卡通| 日韩三级av在线播放| 91在线观看视频| 国产精品羞羞答答xxdd| 性久久久久久久| ...xxx性欧美| 精品第一国产综合精品aⅴ| 91黄色免费观看| 丰满放荡岳乱妇91ww| 久久精品国产免费| 亚洲国产三级在线| 国产精品短视频| 国产日韩精品一区二区浪潮av| 欧美精品三级日韩久久| 色综合天天在线| 不卡的av网站| 成人一级黄色片| 国产在线精品一区在线观看麻豆| 午夜av一区二区| 亚洲精品中文字幕在线观看| 久久久不卡网国产精品二区| 在线播放91灌醉迷j高跟美女| fc2成人免费人成在线观看播放| 国产一区二区主播在线| 日本不卡一二三| 日本伊人色综合网| 日韩主播视频在线| 亚洲午夜久久久久久久久久久| 亚洲欧美另类在线| 亚洲色图都市小说| 亚洲私人影院在线观看| 国产欧美日韩在线| 久久久精品欧美丰满| 国产亚洲午夜高清国产拍精品 | 日韩一区二区三区视频在线观看| 欧美视频在线一区二区三区| 色欧美片视频在线观看在线视频| 91在线视频免费观看| av电影一区二区| 99精品热视频| 99国内精品久久| 色婷婷香蕉在线一区二区| 色系网站成人免费| 欧美视频一区在线观看| 9191国产精品| 26uuu精品一区二区在线观看| 久久免费国产精品| 国产精品美女久久久久久久久| 国产精品天美传媒沈樵| 亚洲欧洲色图综合| 有码一区二区三区| 五月婷婷色综合| 麻豆国产91在线播放| 韩国午夜理伦三级不卡影院| 国产成人精品一区二区三区四区| 成人一区二区三区视频| 99久久精品免费看国产 | 成人av在线网| 色嗨嗨av一区二区三区| 欧美日韩第一区日日骚| 日韩天堂在线观看| 欧美国产乱子伦| 一区二区三区av电影| 蓝色福利精品导航| 成人app软件下载大全免费| 91精品福利视频| 日韩美一区二区三区| 国产精品午夜在线| 亚洲成人在线免费| 国产乱人伦精品一区二区在线观看| 成人av在线电影| 在线成人免费观看| 欧美国产日产图区| 日韩专区中文字幕一区二区| 国产91精品精华液一区二区三区| 色欧美乱欧美15图片| 337p粉嫩大胆色噜噜噜噜亚洲 | 亚洲国产aⅴ成人精品无吗| 捆绑紧缚一区二区三区视频| 成人av免费在线播放| 91麻豆精品国产91久久久资源速度 | 亚洲男人都懂的| 日本成人在线视频网站| 99re亚洲国产精品| 欧美一区日韩一区| 国产精品第五页| 激情综合网最新| 欧美日韩dvd在线观看| 国产日韩欧美在线一区| 日本美女一区二区| 色综合 综合色| 国产亚洲精品aa午夜观看| 日韩高清一级片| 一本到三区不卡视频| 久久蜜臀精品av| 婷婷亚洲久悠悠色悠在线播放 | 国产成人精品免费视频网站| 777精品伊人久久久久大香线蕉| 日本一区二区成人| 久久国产精品免费| 欧美日韩视频在线一区二区| 中文字幕国产精品一区二区| 精品一区二区三区在线播放视频| 在线中文字幕不卡| 国产精品久久久久久久久快鸭| 蜜桃视频免费观看一区| 欧美在线不卡视频| 亚洲人xxxx| 91丨porny丨国产| 国产精品毛片大码女人| 国产精品456| 亚洲精品一区二区三区蜜桃下载| 午夜激情久久久| 欧洲精品一区二区三区在线观看| 亚洲同性同志一二三专区| 国产精华液一区二区三区| 精品国产一区久久| 久久97超碰国产精品超碰| 欧美一区二区在线观看| 丝袜美腿亚洲一区二区图片| 欧美日韩视频在线一区二区| 亚洲成人一区在线| 欧美日韩免费一区二区三区视频| 一区二区三区在线观看国产| 91蜜桃在线免费视频| 亚洲日本免费电影| 色诱亚洲精品久久久久久| 亚洲激情av在线| 在线观看日韩毛片| 亚洲成av人**亚洲成av**| 欧美日韩国产中文| 日韩高清在线不卡| 日韩精品一区二区三区在线观看 | 日韩av网站在线观看| 欧美男男青年gay1069videost| 婷婷成人综合网| 日韩欧美一区二区视频| 韩国成人精品a∨在线观看| 国产片一区二区| 成人app下载| 亚洲在线观看免费| 欧美一区中文字幕| 国产精品一区二区久激情瑜伽| 欧美激情综合网| 91久久精品一区二区| 性欧美大战久久久久久久久| 欧美不卡一二三| 成人午夜av电影| 一区二区日韩电影| 欧美一级电影网站| 国产成人综合自拍| 亚洲激情第一区| 日韩免费观看高清完整版| 国产精品 日产精品 欧美精品| 亚洲丝袜美腿综合| 6080yy午夜一二三区久久| 国产专区欧美精品| 亚洲欧美另类久久久精品|