00001 /* 00002 * Phusion Passenger - http://www.modrails.com/ 00003 * Copyright (C) 2008 Phusion 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; version 2 of the License. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License along 00015 * with this program; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 #ifndef _PASSENGER_HOOKS_H_ 00019 #define _PASSENGER_HOOKS_H_ 00020 00021 #include <apr_pools.h> 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 /** 00028 * @defgroup Hooks Apache hooks 00029 * @ingroup Core 00030 */ 00031 00032 extern void passenger_register_hooks(apr_pool_t *p); 00033 00034 #ifdef __cplusplus 00035 } 00036 #endif 00037 00038 #endif /* _PASSENGER_HOOKS_H_ */