View Source

[modwtcl]
apreq.h
dist/
libapreq1/
mod_wtcl.c
mod_wtcl.h
setupExclude.txt
util/
win.def
win.mak
wt1.1/
WtAppTable.c
WtAppTable.h
WtBasicCmds.c
WtBasicCmds.h
WtClientRequest.c
WtClientRequest.h
WtCollection.c
WtCollection.h
WtCollectionCmds.c
WtCollectionCmds.h
WtContext.c
WtContext.h
WtContextEvents.c
WtContextEvents.h
WtCookie.c
WtCookie.h
WtDbSession.c
WtDbSession.h
WtExecute.c
WtExecute.h
WtHtmlEntities.c
WtHtmlEntities.h
WtInitCmds.c
WtInitCmds.h
WtMtTable.c
WtMtTable.h
WtMultiTable.c
WtMultiTable.h
WtOS.h
WtProcSession.c
WtProcSession.h
WtResponse.c
WtResponse.h
WtServerCmds.c
WtServerCmds.h
WtSession.c
WtSession.h
WtSettings.c
WtSettings.h
WtTable.c
WtTable.h
WtTableCmds.c
WtTableCmds.h
WtTableUtil.c
WtTableUtil.h
WtUpload.c
WtUpload.h
WtUtil.c
WtUtil.h
WtWebErrors.c
WtWebErrors.h
WtWindows.h
File: / archive / modwtcl / WtSettings.h

Lines Size Modified Created Owner MIME Types
67 2,151 2010/05/08 18:46:41 2011/06/13 15:35:15 BUILTIN\Administrators text/x-chdr

0001
/*
0002
 * Copyright 2001 Alexander Boverman and the original authors.
0003
 * 
0004
 * Licensed under the Apache License, Version 2.0 (the "License");
0005
 * you may not use this file except in compliance with the License.
0006
 * You may obtain a copy of the License at
0007
 * 
0008
 *      http://www.apache.org/licenses/LICENSE-2.0
0009
 * 
0010
 * Unless required by applicable law or agreed to in writing, software
0011
 * distributed under the License is distributed on an "AS IS" BASIS,
0012
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013
 * See the License for the specific language governing permissions and
0014
 * limitations under the License.
0015
 */
0016
0017
#ifndef _WT_SETTINGS_H
0018
#define _WT_SETTINGS_H
0019
0020
#include "WtContext.h"
0021
0022
typedef enum WtOptionCodeT
0023
{
0024
  WT_UNKNOWN_OPTION,
0025
  WT_SERVER_REUSE_INTERP,
0026
  WT_SERVER_DELETE_INTERP,
0027
  WT_SERVER_TASK_NAMESPACE,
0028
  WT_SERVER_INIT_INTERP_SCRIPT,
0029
  WT_SERVER_LOAD_PACKAGES_SCRIPT,
0030
  WT_SERVER_START_WORKER_SCRIPT,
0031
  WT_SERVER_CREATE_INTERP_SCRIPT,
0032
  WT_SERVER_START_REQUEST_SCRIPT,
0033
  WT_SERVER_END_REQUEST_SCRIPT,
0034
  WT_SERVER_ERROR_SCRIPT,
0035
  WT_SERVER_REST_INTERP_SCRIPT,
0036
  WT_SERVER_DELETE_INTERP_SCRIPT,
0037
  WT_SERVER_END_WORKER_SCRIPT,
0038
  WT_SERVER_INCLUDE_START_SCRIPT,
0039
  WT_SERVER_INCLUDE_END_SCRIPT,
0040
  WT_SERVER_INCLUDE_NAMESPACE,
0041
  WT_SERVER_ADD_HEADER_TRAILER,
0042
  WT_SERVER_INCLUDE_HEADER,
0043
  WT_SERVER_INCLUDE_TRAILER,
0044
  WT_SERVER_SCRIPT_START_STRING,
0045
  WT_SERVER_SCRIPT_END_STRING,
0046
  WT_SERVER_INTERPOLATE_TEXT,
0047
  WT_SERVER_PAGE_TEXT_HANDLER,
0048
  WT_SERVER_PAGE_EXPR_HANDLER,
0049
  WT_SESSION_HANDLER,
0050
  WT_SESSION_HANDLER_TYPE,
0051
  WT_SESSION_COOKIE_NAME,
0052
  WT_SESSION_MAX_IDLE_TIME,
0053
  WT_SESSION_SWEEP_FREQUENCY,
0054
  WT_DB_SESSION_HANDLER,
0055
  WT_DATA_SOURCE_HANDLER
0056
} WtOptionCode;
0057
0058
void WtInitOptionCodes(WtContext *w);
0059
WtOptionCode WtGetOptionCode(const char *key, WtContext *w);
0060
Tcl_Obj *WtGetOptionKey(WtOptionCode code, WtContext *w);
0061
int WtInitDefaultContextSettings(WtContext *w);
0062
int WtInitWebSettings(WtContext *w, Tcl_Obj *settings, Tcl_Interp *interp);
0063
int WtInitWebSetting(WtContext *w, const char *key, Tcl_Obj *val,
0064
  Tcl_Interp *interp);
0065
int WtDeleteOptionKeys(Tcl_HashTable *optionKeys);
0066
0067
#endif /* ! _WT_SETTINGS_H */