+----------------------------------------------------------------------+
*/
+/* $Id */
#include "php.h"
#include "SAPI.h"
static PHP_MINIT_FUNCTION(litespeed)
{
- //REGISTER_INI_ENTRIES();
+ /* REGISTER_INI_ENTRIES(); */
return SUCCESS;
}
static PHP_MSHUTDOWN_FUNCTION(litespeed)
{
- //UNREGISTER_INI_ENTRIES();
+ /* UNREGISTER_INI_ENTRIES(); */
return SUCCESS;
}
Fetch all HTTP request headers */
PHP_FUNCTION(litespeed_request_headers)
{
- //TODO:
+ /* TODO: */
if (ZEND_NUM_ARGS() > 0) {
WRONG_PARAM_COUNT;
}
-
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
*/
+/* $Id$ */
/*
Copyright (c) 2007, Lite Speed Technologies Inc.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
-
#include <lsapilib.h>
#include <ctype.h>
};
static int HTTP_HEADER_LEN[H_TRANSFER_ENCODING+1] = {
- 6, 14, 15, 15, 13, 10, 12, 14, 6, 7, 4, 6, 7, 10, //user-agent
+ 6, 14, 15, 15, 13, 10, 12, 14, 6, 7, 4, 6, 7, 10, /* user-agent */
13,17, 8, 13, 8, 19, 10, 5, 15, 3, 17
};