httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dean gaudet <dgaudet-list-new-ht...@arctic.org>
Subject Re: Add hook to get server read.
Date Thu, 11 May 2000 22:01:45 GMT


On Thu, 11 May 2000 rbb@covalent.net wrote:

> +/* Common structure for reading of config files / passwd files etc. */
> +typedef struct {
> +    int (*getch) (void *param);	/* a getc()-like function */
> +    void *(*getstr) (void *buf, size_t bufsiz, void *param); /* a fgets()-like function
*/
> +    int (*close) (void *param);	/* a close hander function */
> +    void *param;		/* the argument passed to getch/getstr/close */
> +    const char *name;		/* the filename / description */
> +    unsigned line_number;	/* current line number, starting at 1 */
> +} configfile_t;
> +

shouldn't this be a BUFF using a custom iol?

add in a new iol getopt for "filename / description".

-dean


Mime
View raw message