Back to index

php5  5.3.10
php_thttpd.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Author: Sascha Schumann <sascha@schumann.cx>                         |
00016    +----------------------------------------------------------------------+
00017 */
00018 
00019 #ifndef PHP_THTTPD_H
00020 #define PHP_THTTPD_H
00021 
00022 #include <sys/types.h>
00023 #include <sys/stat.h>
00024 #include <libhttpd.h>
00025 
00026 void    thttpd_php_shutdown(void);
00027 void    thttpd_php_init(void);
00028 off_t   thttpd_php_request(httpd_conn *hc, int show_source);
00029 
00030 void    thttpd_register_on_close(void (*)(int));
00031 void    thttpd_closed_conn(int fd);
00032 int            thttpd_get_fd(void);
00033 void    thttpd_set_dont_close(void);
00034 
00035 #endif