File:  [parser3project] / parser3 / src / include / pa_request_info.h
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Wed Jan 29 11:22:25 2003 UTC (23 years, 5 months ago) by paf
no message

/** @file
	Parser: request info class decl.

	Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com)
	Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
*/

#ifndef PA_REQUEST_INFO_H
#define PA_REQUEST_INFO_H

static const char* IDENT_REQUEST_H="$Date: 2003/01/29 11:22:25 $";

/// some information from web server
class Request_info {
public:
	//@{ these filled by Request class user
	const char *document_root;
	const char *path_translated;
	const char *method;
	const char *query_string;
	const char *uri;
	const char *content_type;
	size_t content_length;
	const char *cookie;
	bool mail_received;
	//@}
	//@{ these are filed by Request class itself: user's post data
	const char *post_data;  size_t post_size;
	//@}
};

struct Request_charsets {
	Pool *pool;
	Charset *source;
	Charset *client;
	Charset *mail;
};

#endif

E-mail: