资源简介
apache插件,用以实现SSL协议,good luck!
代码片段和文件信息
/*
** mod_define.c - Apache module for configuration defines ($xxx)
**
** Copyright (c) 1998-2000 Ralf S. Engelschall
** Copyright (c) 1998-2000 Christian Reiber
**
** Permission to use copy modify and distribute this software for
** any purpose with or without fee is hereby granted provided that
** the above copyright notice and this permission notice appear in all
** copies.
**
** THIS SOFTWARE IS PROVIDED ‘‘AS IS‘‘ AND ANY EXPRESSED OR IMPLIED
** WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
** CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL
** SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
** LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
** USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
** ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY
** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
** OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF
** SUCH DAMAGE.
*/
/*
* HISTORY
*
* v1.0: Originally written in December 1998 by
* Ralf S. Engelschall and
* Christian Reiber
*
* v1.1: Completely Overhauled in August 1999 by
* Ralf S. Engelschall
*/
#include “ap_config.h“
#include “ap_ctype.h“
#include “httpd.h“
#include “http_config.h“
#include “http_conf_globals.h“
#include “http_core.h“
#include “http_log.h“
#ifndef EAPI
#error “This module requires the Extended API (EAPI) facilities.“
#endif
/*
* The global table of defines
*/
static table *tDefines = NULL; /* global table of defines */
static int bOnceSeenADefine = FALSE; /* optimization flag */
/*
* Forward declaration
*/
static int DefineIndex (pool * char * int * int * char **);
static char *DefineFetch (pool * char *);
static char *DefineExpand (pool * char * int char *);
static void DefineInit (pool *);
static void DefineCleanup (void *);
static char *DefineRewriteHook(cmd_parms * void * const char *);
/*
* Character classes for scanner function
*/
typedef enum {
CC_ESCAPE CC_DOLLAR CC_BRACEOPEN CC_BRACECLOSE
CC_IDCHAR1 CC_IDCHAR CC_OTHER CC_EOS
} CharClass;
/*
* Scanner states for scanner function
*/
typedef enum {
SS_NONE SS_SKIP SS_DOLLAR SS_TOKEN_BRACED
SS_TOKEN_UNBRACED SS_ERROR SS_FOUND
} ScanState;
/*
* Default meta characters
*/
#define DEFAULT_MC_ESCAPE “\\“
#define DEFAULT_MC_DOLLAR “$“
#define DEFAULT_MC_BRACEOPEN “{“
#define DEFAULT_MC_BRACECLOSE “}“
/*
* Scanner for variable constructs $xxx and ${xxx}
*/
static int DefineIndex(pool *p char *cpLine int *pos int *len char **cpVar)
{
int rc;
char *cp;
char *cp2;
CharCl
- 上一篇:SSD6-EXERCISE6
- 下一篇:IAR for STM8注册机
相关资源
- bootstrap model.js 单模态框的css,js
- zw_shelden_-11057537-geebinfmodifiedbyzz.zip
- zw_swallowinthesky-9958880-Mayr_arc_model.zip
- modis辐射定标
- ModEM 模块化大地电磁三维正反演程序
- modelbus485通讯测试软件
- libmodbus3.0.6库
- 50nm工艺 CMOS bsim4模型
- ActiveState Komodo IDE 10 Crack
- suse11.3 openssl-devel包
- Modbus通讯TCP/IP实施指南
- libssl.so.6&libssl.so.0.9.8b
- libssl-1_1-x64.dll
- Virus Spread Model.rar
- sdram_model_plus 大小为256M 邓堪文sdram中
- 基于ATMega16的freemodbus主站程序移植
- fastdfs-nginx-module-master
- Ymodem 源代码
- 威纶通TK6070IP触摸屏和51通信的MODBUS代
- IBM SPSS Modeler 14.1注册码
- AES加密算法modelsim仿真-Verilog语言
- FX2N-PLC -MODBUS 通信手册
- apache-atlas-2.1.0源码编译包
- MODBUSRTUS7200SMART工程文件.rar
- 易语言串口调试助手汉字收发 CRC
- stm32+modbus项目
- libssl-dev库
- 西门子S7-1200与ABB acs510变频器的通讯
- 3D 模型OpenGL显示,旋转、缩放,平移
- 自定义QComboBox,用Listwidget做Model,美
评论
共有 条评论