/* * Copyright 1999-2004 The Apache Software Foundation * * Licensed 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. */ /** * @author Pier Fumagalli * @version $Id$ */ #ifndef _WA_H_ #define _WA_H_ /* C standard includes */ #include #include #include #ifdef WIN32 #define vsnprintf _vsnprintf #else #include #endif /* ifdef WIN32 */ /* APR Library includes */ #include #include #include #include #include #include #include #include #if APR_HAS_THREADS #include #include #endif /* WebApp Library type definitions. */ typedef enum { wa_false, wa_true, } wa_boolean; typedef struct wa_chain wa_chain; typedef struct wa_application wa_application; typedef struct wa_virtualhost wa_virtualhost; typedef struct wa_connection wa_connection; typedef struct wa_request wa_request; typedef struct wa_ssldata wa_ssldata; typedef struct wa_hostdata wa_hostdata; typedef struct wa_handler wa_handler; typedef struct wa_provider wa_provider; /* All declared providers */ extern wa_provider wa_provider_info; extern wa_provider wa_provider_warp; /*extern wa_provider wa_provider_jni;*/ /* WebApp Library includes */ #include #include #include #include /* Debugging mark */ #define WA_MARK __FILE__,__LINE__ #endif /* ifndef _WA_H_ */