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

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

?? mod_dav.h

?? Apache_2.0.59-Openssl_0.9 配置tomcat. Apache_2.0.59-Openssl_0.9 配置tomcat.
?? H
?? 第 1 頁 / 共 5 頁
字號:
/* Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */

/*
** DAV extension module for Apache 2.0.*
*/

#ifndef _MOD_DAV_H_
#define _MOD_DAV_H_

#include "apr_hooks.h"
#include "apr_hash.h"
#include "apr_dbm.h"
#include "apr_tables.h"

#include "httpd.h"
#include "util_filter.h"
#include "util_xml.h"

#include <limits.h>     /* for INT_MAX */
#include <time.h>       /* for time_t */

#ifdef __cplusplus
extern "C" {
#endif


#define DAV_VERSION             AP_SERVER_BASEREVISION

#define DAV_XML_HEADER          "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
#define DAV_XML_CONTENT_TYPE    "text/xml; charset=\"utf-8\""

#define DAV_READ_BLOCKSIZE      2048    /* used for reading input blocks */

#define DAV_RESPONSE_BODY_1     "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>"
#define DAV_RESPONSE_BODY_2     "</title>\n</head><body>\n<h1>"
#define DAV_RESPONSE_BODY_3     "</h1>\n<p>"
#define DAV_RESPONSE_BODY_4     "</p>\n"
#define DAV_RESPONSE_BODY_5     "</body></html>\n"

#define DAV_DO_COPY             0
#define DAV_DO_MOVE             1


#if 1
#define DAV_DEBUG        1
#define DEBUG_CR         "\n"
#define DBG0(f)          ap_log_error(APLOG_MARK, \
                                APLOG_ERR, 0, NULL, (f))
#define DBG1(f,a1)       ap_log_error(APLOG_MARK, \
                                APLOG_ERR, 0, NULL, f, a1)
#define DBG2(f,a1,a2)    ap_log_error(APLOG_MARK, \
                                APLOG_ERR, 0, NULL, f, a1, a2)
#define DBG3(f,a1,a2,a3) ap_log_error(APLOG_MARK, \
                                APLOG_ERR, 0, NULL, f, a1, a2, a3)
#else
#undef DAV_DEBUG
#define DEBUG_CR        ""
#endif

#define DAV_INFINITY    INT_MAX    /* for the Depth: header */

/* Create a set of DAV_DECLARE(type), DAV_DECLARE_NONSTD(type) and 
 * DAV_DECLARE_DATA with appropriate export and import tags for the platform
 */
#if !defined(WIN32)
#define DAV_DECLARE(type)            type
#define DAV_DECLARE_NONSTD(type)     type
#define DAV_DECLARE_DATA
#elif defined(DAV_DECLARE_STATIC)
#define DAV_DECLARE(type)            type __stdcall
#define DAV_DECLARE_NONSTD(type)     type
#define DAV_DECLARE_DATA
#elif defined(DAV_DECLARE_EXPORT)
#define DAV_DECLARE(type)            __declspec(dllexport) type __stdcall
#define DAV_DECLARE_NONSTD(type)     __declspec(dllexport) type
#define DAV_DECLARE_DATA             __declspec(dllexport)
#else
#define DAV_DECLARE(type)            __declspec(dllimport) type __stdcall
#define DAV_DECLARE_NONSTD(type)     __declspec(dllimport) type
#define DAV_DECLARE_DATA             __declspec(dllimport)
#endif

/* --------------------------------------------------------------------
**
** ERROR MANAGEMENT
*/

/*
** dav_error structure.
**
** In most cases, mod_dav uses a pointer to a dav_error structure. If the
** pointer is NULL, then no error has occurred.
**
** In certain cases, a dav_error structure is directly used. In these cases,
** a status value of 0 means that an error has not occurred.
**
** Note: this implies that status != 0 whenever an error occurs.
**
** The desc field is optional (it may be NULL). When NULL, it typically
** implies that Apache has a proper description for the specified status.
*/
typedef struct dav_error {
    int status;                 /* suggested HTTP status (0 for no error) */
    int error_id;               /* DAV-specific error ID */
    const char *desc;           /* DAV:responsedescription and error log */

    int save_errno;             /* copy of errno causing the error */

    const char *namespace;      /* [optional] namespace of error */
    const char *tagname;        /* name of error-tag */

    struct dav_error *prev;     /* previous error (in stack) */

} dav_error;

/*
** Create a new error structure. save_errno will be filled with the current
** errno value.
*/
DAV_DECLARE(dav_error*) dav_new_error(apr_pool_t *p, int status, 
                                      int error_id, const char *desc);


/*
** Create a new error structure with tagname and (optional) namespace;
** namespace may be NULL, which means "DAV:". save_errno will be
** filled with the current errno value.
*/
DAV_DECLARE(dav_error*) dav_new_error_tag(apr_pool_t *p, int status, 
                                          int error_id, const char *desc,
                                          const char *namespace,
                                          const char *tagname);


/*
** Push a new error description onto the stack of errors.
**
** This function is used to provide an additional description to an existing
** error.
**
** <status> should contain the caller's view of what the current status is,
** given the underlying error. If it doesn't have a better idea, then the
** caller should pass prev->status.
**
** <error_id> can specify a new error_id since the topmost description has
** changed.
*/
DAV_DECLARE(dav_error*) dav_push_error(apr_pool_t *p, int status, int error_id,
                                       const char *desc, dav_error *prev);


/* error ID values... */

/* IF: header errors */
#define DAV_ERR_IF_PARSE                100    /* general parsing error */
#define DAV_ERR_IF_MULTIPLE_NOT         101    /* multiple "Not" found */
#define DAV_ERR_IF_UNK_CHAR             102    /* unknown char in header */
#define DAV_ERR_IF_ABSENT               103    /* no locktokens given */
#define DAV_ERR_IF_TAGGED               104    /* in parsing tagged-list */
#define DAV_ERR_IF_UNCLOSED_PAREN       105    /* in no-tagged-list */

/* Prop DB errors */
#define DAV_ERR_PROP_BAD_MAJOR          200    /* major version was wrong */
#define DAV_ERR_PROP_READONLY           201    /* prop is read-only */
#define DAV_ERR_PROP_NO_DATABASE        202    /* writable db not avail */
#define DAV_ERR_PROP_NOT_FOUND          203    /* prop not found */
#define DAV_ERR_PROP_BAD_LOCKDB         204    /* could not open lockdb */
#define DAV_ERR_PROP_OPENING            205    /* problem opening propdb */
#define DAV_ERR_PROP_EXEC               206    /* problem exec'ing patch */

/* Predefined DB errors */
/* ### any to define?? */

/* Predefined locking system errors */
#define DAV_ERR_LOCK_OPENDB             400    /* could not open lockdb */
#define DAV_ERR_LOCK_NO_DB              401    /* no database defined */
#define DAV_ERR_LOCK_CORRUPT_DB         402    /* DB is corrupt */
#define DAV_ERR_LOCK_UNK_STATE_TOKEN    403    /* unknown State-token */
#define DAV_ERR_LOCK_PARSE_TOKEN        404    /* bad opaquelocktoken */
#define DAV_ERR_LOCK_SAVE_LOCK          405    /* err saving locks */

/*
** Some comments on Error ID values:
**
** The numbers do not necessarily need to be unique. Uniqueness simply means
** that two errors that have not been predefined above can be distinguished
** from each other. At the moment, mod_dav does not use this distinguishing
** feature, but it could be used in the future to collapse <response> elements
** into groups based on the error ID (and associated responsedescription).
**
** If a compute_desc is provided, then the error ID should be unique within
** the context of the compute_desc function (so the function can figure out
** what to filled into the desc).
**
** Basically, subsystems can ignore defining new error ID values if they want
** to. The subsystems *do* need to return the predefined errors when
** appropriate, so that mod_dav can figure out what to do. Subsystems can
** simply leave the error ID field unfilled (zero) if there isn't an error
** that must be placed there.
*/


/* --------------------------------------------------------------------
**
** HOOK STRUCTURES
**
** These are here for forward-declaration purposes. For more info, see
** the section title "HOOK HANDLING" for more information, plus each
** structure definition.
*/

/* forward-declare this structure */
typedef struct dav_hooks_propdb dav_hooks_propdb;
typedef struct dav_hooks_locks dav_hooks_locks;
typedef struct dav_hooks_vsn dav_hooks_vsn;
typedef struct dav_hooks_repository dav_hooks_repository;
typedef struct dav_hooks_liveprop dav_hooks_liveprop;
typedef struct dav_hooks_binding dav_hooks_binding;
typedef struct dav_hooks_search dav_hooks_search;

/* ### deprecated name */
typedef dav_hooks_propdb dav_hooks_db;


/* --------------------------------------------------------------------
**
** RESOURCE HANDLING
*/

/*
** Resource Types:
** The base protocol defines only file and collection resources.
** The versioning protocol defines several additional resource types
** to represent artifacts of a version control system.
**
** This enumeration identifies the type of URL used to identify the
** resource. Since the same resource may have more than one type of
** URL which can identify it, dav_resource_type cannot be used
** alone to determine the type of the resource; attributes of the
** dav_resource object must also be consulted.
*/
typedef enum {
    DAV_RESOURCE_TYPE_UNKNOWN,

    DAV_RESOURCE_TYPE_REGULAR,          /* file or collection; could be
                                         * unversioned, or version selector,
                                         * or baseline selector */

    DAV_RESOURCE_TYPE_VERSION,          /* version or baseline URL */

    DAV_RESOURCE_TYPE_HISTORY,          /* version or baseline history URL */

    DAV_RESOURCE_TYPE_WORKING,          /* working resource URL */

    DAV_RESOURCE_TYPE_WORKSPACE,        /* workspace URL */

    DAV_RESOURCE_TYPE_ACTIVITY,         /* activity URL */

    DAV_RESOURCE_TYPE_PRIVATE           /* repository-private type */

} dav_resource_type;

/*
** Opaque, repository-specific information for a resource.
*/
typedef struct dav_resource_private dav_resource_private;

/*
** Resource descriptor, generated by a repository provider.
**
** Note: the lock-null state is not explicitly represented here,
** since it may be expensive to compute. Use dav_get_resource_state()
** to determine whether a non-existent resource is a lock-null resource.
**
** A quick explanation of how the flags can apply to different resources:
**
** unversioned file or collection:
**     type       = DAV_RESOURCE_TYPE_REGULAR
**     exists     = ? (1 if exists)
**     collection = ? (1 if collection)
**     versioned  = 0
**     baselined  = 0
**     working    = 0
**
** version-controlled resource or configuration:
**     type       = DAV_RESOURCE_TYPE_REGULAR
**     exists     = 1
**     collection = ? (1 if collection)
**     versioned  = 1
**     baselined  = ? (1 if configuration)
**     working    = ? (1 if checked out)
**
** version/baseline history:
**     type       = DAV_RESOURCE_TYPE_HISTORY
**     exists     = 1
**     collection = 0
**     versioned  = 0
**     baselined  = 0
**     working    = 0
**
** version/baseline:
**     type       = DAV_RESOURCE_TYPE_VERSION
**     exists     = 1
**     collection = ? (1 if collection)
**     versioned  = 1
**     baselined  = ? (1 if baseline)
**     working    = 0
**
** working resource:
**     type       = DAV_RESOURCE_TYPE_WORKING
**     exists     = 1
**     collection = ? (1 if collection)
**     versioned  = 1
**     baselined  = 0
**     working    = 1
**
** workspace:
**     type       = DAV_RESOURCE_TYPE_WORKSPACE
**     exists     = ? (1 if exists)
**     collection = 1
**     versioned  = ? (1 if version-controlled)
**     baselined  = ? (1 if baseline-controlled)
**     working    = ? (1 if checked out)
**
** activity:
**     type       = DAV_RESOURCE_TYPE_ACTIVITY
**     exists     = ? (1 if exists)
**     collection = 0
**     versioned  = 0
**     baselined  = 0
**     working    = 0
*/
typedef struct dav_resource {
    dav_resource_type type;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日av在线不卡| 亚洲免费在线电影| 欧美高清一级片在线| 91一区二区三区在线播放| 国产成人免费在线| 成人黄色大片在线观看| 成人激情校园春色| av在线不卡电影| 色呦呦网站一区| 欧美日韩中文字幕一区二区| 欧美色涩在线第一页| 欧美精品高清视频| 日韩欧美一级在线播放| 精品国产免费久久| 国产视频911| 亚洲老司机在线| 亚洲国产成人av网| 蜜桃久久久久久久| 国产精品 欧美精品| 成人a区在线观看| 欧美四级电影网| 日韩一区二区三区av| 久久久久国产精品人| 亚洲国产成人一区二区三区| 亚洲视频在线观看三级| 婷婷成人综合网| 国产精品主播直播| 色欧美88888久久久久久影院| 色婷婷狠狠综合| 精品乱人伦一区二区三区| 国产天堂亚洲国产碰碰| 一区二区三区丝袜| 激情综合五月天| 在线视频欧美精品| 精品欧美一区二区三区精品久久| 日本一区二区三级电影在线观看 | 国产欧美日韩一区二区三区在线观看| 国产精品全国免费观看高清| 亚洲自拍偷拍网站| 精品综合免费视频观看| 一本色道久久综合亚洲aⅴ蜜桃 | 精品一区二区成人精品| 91国偷自产一区二区开放时间 | 韩国成人精品a∨在线观看| 色综合一区二区| www激情久久| 亚洲成a人v欧美综合天堂| 福利电影一区二区三区| 91精品久久久久久久久99蜜臂| 久久久国产精华| 免费观看日韩av| 色婷婷一区二区三区四区| 精品粉嫩超白一线天av| 香蕉av福利精品导航| 99国产精品久久| 久久久久久久综合| 免费视频最近日韩| 欧美日韩和欧美的一区二区| 中文字幕免费一区| 国模大尺度一区二区三区| 7777精品伊人久久久大香线蕉 | 日本成人在线电影网| 色诱视频网站一区| 亚洲欧洲日韩在线| 国产91色综合久久免费分享| 精品欧美一区二区三区精品久久| 亚洲高清免费一级二级三级| 一本一本大道香蕉久在线精品 | 午夜久久久久久久久| 99视频国产精品| 国产精品视频一二三| 国产精品99久久久久久久vr| 精品国产乱码久久久久久闺蜜| 首页亚洲欧美制服丝腿| 欧美日韩卡一卡二| 亚洲第一久久影院| 欧美日韩国产系列| 午夜欧美2019年伦理| 555www色欧美视频| 男人的天堂亚洲一区| 日韩欧美在线综合网| 麻豆精品一区二区av白丝在线| 欧美日韩不卡一区二区| 五月天网站亚洲| 欧美一级日韩一级| 国产一区二区三区精品视频| 久久夜色精品一区| 成人激情av网| 亚洲人成网站影音先锋播放| 色婷婷国产精品综合在线观看| 亚洲精选一二三| 欧美日韩中文字幕一区二区| 日本欧美一区二区三区| 欧美成人官网二区| 国产91高潮流白浆在线麻豆 | 国产目拍亚洲精品99久久精品| 国产91精品久久久久久久网曝门 | 日韩三级精品电影久久久| 激情文学综合网| 国产精品盗摄一区二区三区| 欧美中文字幕久久| 另类综合日韩欧美亚洲| 欧美国产一区二区| 在线观看91视频| 国产一区欧美日韩| 一区二区三区欧美日| 欧美一级二级在线观看| 成人ar影院免费观看视频| 性做久久久久久久久| 久久久久久亚洲综合影院红桃| 色综合久久中文综合久久97| 日本伊人色综合网| 中文字幕精品在线不卡| 欧美群妇大交群中文字幕| 成人午夜大片免费观看| 午夜电影网一区| 国产精品美女久久久久久久网站| 欧美亚洲综合色| 成人污视频在线观看| 奇米影视一区二区三区小说| 国产精品二三区| 2024国产精品视频| 欧美精品亚洲二区| 色综合久久99| 国产91高潮流白浆在线麻豆| 日韩二区在线观看| 国产蜜臀97一区二区三区| 91精品国产综合久久精品app| 豆国产96在线|亚洲| 麻豆成人av在线| 亚洲国产一区二区三区青草影视| 国产日韩三级在线| 日韩精品资源二区在线| 精品视频在线免费观看| 91在线porny国产在线看| 国产在线精品一区在线观看麻豆| 婷婷六月综合亚洲| 一区二区三区免费在线观看| 国产精品毛片久久久久久久| 国产网站一区二区三区| 欧美成人一区二区三区| 69成人精品免费视频| 欧美午夜精品电影| 欧美亚洲综合在线| 日本电影欧美片| 99久久精品免费观看| www.日韩精品| 成人国产免费视频| 成人黄动漫网站免费app| 国产麻豆视频一区| 国产精品系列在线播放| 国精产品一区一区三区mba视频| 男女男精品视频网| 九九在线精品视频| 九色|91porny| 国产激情91久久精品导航 | 欧美国产日韩精品免费观看| 精品奇米国产一区二区三区| 日韩午夜三级在线| 26uuu欧美日本| 国产精品久久久久一区| 国产精品国产自产拍在线| 日韩理论片中文av| 亚洲一卡二卡三卡四卡五卡| 亚洲18影院在线观看| 日本欧美大码aⅴ在线播放| 久久精品国产精品亚洲综合| 久久国产乱子精品免费女| 国产真实乱偷精品视频免| 懂色av一区二区三区免费观看 | 免费成人在线观看| 国模一区二区三区白浆| 成人免费看片app下载| 91精彩视频在线观看| 欧美日韩精品一区二区| 精品精品国产高清a毛片牛牛| 国产色一区二区| 亚洲愉拍自拍另类高清精品| 午夜伦欧美伦电影理论片| 久久精品99国产精品日本| 成人午夜私人影院| 欧美揉bbbbb揉bbbbb| 精品国产髙清在线看国产毛片| 中文字幕精品—区二区四季| 艳妇臀荡乳欲伦亚洲一区| 久久精品国产精品亚洲综合| 成人黄色一级视频| 欧美电影一区二区三区| 中文幕一区二区三区久久蜜桃| 一区二区欧美国产| 激情丁香综合五月| 欧美色男人天堂| 国产欧美日韩在线看| 日日欢夜夜爽一区| www.综合网.com| 欧美xxxxxxxx| 亚洲综合丁香婷婷六月香| 国产成人在线影院| 欧美一区二区三区四区在线观看| 国产精品久久久久aaaa樱花|