Added getter for arbitrary environment variables

This commit is contained in:
Martin Willi
2010-11-17 16:46:23 +01:00
parent a423a96140
commit 93a9926805
2 changed files with 17 additions and 0 deletions
+8
View File
@@ -85,6 +85,14 @@ struct request_t {
*/
char* (*get_query_data)(request_t *this, char *name);
/**
* Get an arbitrary environment variable.
*
* @param name name of the environment variable
* @return value, NULL if not found
*/
char* (*get_env_var)(request_t *this, char *name);
/**
* Read raw POST/PUT data from HTTP request.
*