php-src / request_info.h

   | PHP version 4.0                                                      |
   | Copyright (c) 1997, 1998, 1999 The PHP Group                         |
   | This source file is subject to version 2.0 of the PHP license,       |
   | that is bundled with this package in the file LICENSE, and is        |
   | available at through the world-wide-web at                           |
   |                                  |
   | If you did not receive a copy of the PHP license and are unable to   |
   | obtain it through the world-wide-web, please send a note to          |
   | so we can mail you a copy immediately.               |
   | Author: Jim Winstead (                                  |

#ifndef _REQUEST_INFO_H_
#define _REQUEST_INFO_H_

typedef struct {
	char *script_name;
	char *current_user;
	int current_user_length;
	const char *script_filename;
	char *php_argv0;
} php_request_info;

PHPAPI extern php_request_info request_info;

extern int php_init_request_info(void *conf);
extern int php_destroy_request_info(void *conf);

 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.