removed some of the debug logging and added author details
[httpd-crcsyncproxy.git] / modules / lua / lua_request.h
blobbeed41fc98d54737893caab44304a75f8dbf7fd6
1 /**
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef _LUA_REQUEST_H_
19 #define _LUA_REQUEST_H_
21 APR_DECLARE(void) apl_push_request(lua_State *L, request_rec *r);
22 APR_DECLARE(void) apl_load_request_lmodule(lua_State *L, apr_pool_t *p);
24 #define APL_REQ_FUNTYPE_STRING 1
25 #define APL_REQ_FUNTYPE_INT 2
26 #define APL_REQ_FUNTYPE_TABLE 3
27 #define APL_REQ_FUNTYPE_LUACFUN 4
28 #define APL_REQ_FUNTYPE_BOOLEAN 5
30 typedef struct
32 void *fun;
33 int type;
34 } req_fun_t;
37 #endif /* !_LUA_REQUEST_H_ */