Return to php_thttpd.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / thttpd |
1.1 ! misho 1: /* ! 2: +----------------------------------------------------------------------+ ! 3: | PHP Version 5 | ! 4: +----------------------------------------------------------------------+ ! 5: | Copyright (c) 1997-2012 The PHP Group | ! 6: +----------------------------------------------------------------------+ ! 7: | This source file is subject to version 3.01 of the PHP license, | ! 8: | that is bundled with this package in the file LICENSE, and is | ! 9: | available through the world-wide-web at the following url: | ! 10: | http://www.php.net/license/3_01.txt | ! 11: | If you did not receive a copy of the PHP license and are unable to | ! 12: | obtain it through the world-wide-web, please send a note to | ! 13: | license@php.net so we can mail you a copy immediately. | ! 14: +----------------------------------------------------------------------+ ! 15: | Author: Sascha Schumann <sascha@schumann.cx> | ! 16: +----------------------------------------------------------------------+ ! 17: */ ! 18: ! 19: #ifndef PHP_THTTPD_H ! 20: #define PHP_THTTPD_H ! 21: ! 22: #include <sys/types.h> ! 23: #include <sys/stat.h> ! 24: #include <libhttpd.h> ! 25: ! 26: void thttpd_php_shutdown(void); ! 27: void thttpd_php_init(void); ! 28: off_t thttpd_php_request(httpd_conn *hc, int show_source); ! 29: ! 30: void thttpd_register_on_close(void (*)(int)); ! 31: void thttpd_closed_conn(int fd); ! 32: int thttpd_get_fd(void); ! 33: void thttpd_set_dont_close(void); ! 34: ! 35: #endif