mod_lua.h revision 2e82e0b7f60901d68ad80292a12dd983895c0355
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * Licensed to the Apache Software Foundation (ASF) under one or more
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * contributor license agreements. See the NOTICE file distributed with
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * this work for additional information regarding copyright ownership.
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * The ASF licenses this file to You under the Apache License, Version 2.0
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * (the "License"); you may not use this file except in compliance with
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * the License. You may obtain a copy of the License at
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * http://www.apache.org/licenses/LICENSE-2.0
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * Unless required by applicable law or agreed to in writing, software
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * distributed under the License is distributed on an "AS IS" BASIS,
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering * See the License for the specific language governing permissions and
#ifndef _MOD_LUA_H_
#define _MOD_LUA_H_
#include <stdio.h>
#include "httpd.h"
#include "http_core.h"
#include "http_config.h"
#include "http_request.h"
#include "http_log.h"
#include "http_protocol.h"
#include "ap_regex.h"
#include "ap_config.h"
#include "util_filter.h"
#include "apr_thread_rwlock.h"
#include "apr_strings.h"
#include "apr_tables.h"
#include "apr_hash.h"
#include "apr_buckets.h"
#include "apr_file_info.h"
#include "apr_time.h"
#include "apr_hooks.h"
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#if !defined(WIN32)
#define AP_LUA_DECLARE_DATA
#define AP_LUA_DECLARE_DATA
#include "lua_request.h"
#include "lua_vmprep.h"
#ifndef lua_boxpointer
unsigned int vm_scope;
unsigned int vm_server_pool_min;
unsigned int vm_server_pool_max;
char *dir;
const char *root_path;
char *function_name;
lua_State *L;
char *function;
AP_LUA_DECLARE(const char *) ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, const char *var);