Received: by taz.hyperreal.com (8.8.3/V2.0) id RAA29459; Thu, 2 Jan 1997 17:56:49 -0800 (PST) Received: from gabber.c2.net by taz.hyperreal.com (8.8.3/V2.0) with ESMTP id RAA29450; Thu, 2 Jan 1997 17:56:45 -0800 (PST) Received: (from sameer@localhost) by gabber.c2.net (8.8.4/8.8.4) id SAA07744 for new-httpd@hyperreal.com; Thu, 2 Jan 1997 18:35:04 -0800 (PST) From: sameer Message-Id: <199701030235.SAA07744@gabber.c2.net> Subject: API docs format To: new-httpd@hyperreal.com Date: Thu, 2 Jan 1997 18:35:04 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com So I'm new at writing API docs. Could I have some feedback on the following, with respect to the format of the entries? (i.e. I have a few fields for each variable in each data structure.. are those the right fields, do I need to put in more fields of info? .. likewise for API functions..) -- Sameer Parekh Voice: 510-986-8770 President FAX: 510-986-8777 C2Net C2Net is having a party: http://www.c2.net/party/ http://www.c2.net/ sameer@c2.net request_rec: Field: method Type: char * Value: the request method. (GET/HEAD/POST) Change: (i.e. When can I change this?) Field: method_number Type: int Value: The request method, as an int (M_POST, M_GET, etc.) Change: ? Field: proxyreq Type: boolean Value: true if the request if proxy http Field: protocol Type: char * Value: the protocol of the client's request Field: uri Type: char * Value: the requested URI Field: filename Type: char * Value: The result of the URI->filename translation Field: path_info Type: char * Value: what's left in the path after the URI --> filename translation. Field: args Type: char * Value: the contents of the URI's query string. Field: headers_in Type: table * Value: the client request headers Field: connection Type: conn_rec * Value: the conn_rec for this request Field: handler Type: char * Value: the handler for a request. Field: content_type Type: char * Value: the MIME content-type for the content to the client Field: content_encoding Type: char * Value: the MIME content-encoding for the content Field: content_language Type: char * Value: The MIME content-language Field: status Type: int Value: the reply status for client request Field: headers_out Type: table * Value: table with headers to be sent to client Field: err_headers_out Type: table * Value: table with headers to be sent to client, when an error happens Field: no_cache Type: boolean Value: send or no-send Pragma: no-cache Field: subprocess_env Type: table * Value: the environment variables for scripts, subproceses conn_rec: Field: remote_host Type: char * Field: remote_ip Type: char * Field: remote_logname Type: char * Field: user Type: char * Field: auth_type Type: char * Functions Function: read_client_block Parms: Header: Function: get_remote_host Parms: Header: Function: send_http_header Parms: Header: Function: get_basic_auth_pw Parms: Header: Function: log_reason(request Function: rwrite(request_rec *r, int n, char *buf) Parms: r - the request_rec n - number of bytes in buf buf - pointer to data Action: Writes n bytes in buf to the client Header: http_protocol.h Function: rputs Function: rprintf Function: send_fd Function: internal_redirect Function: soft_timeout Function: hard_timeout Function: kill_timeout Function: log_error Function: read_client_block Parms: Header: Function: get_remote_host Parms: Header: Function: send_http_header Parms: Header: Function: get_basic_auth_pw Parms: Header: Function: note_basic_auth_failure Parms: Header: