From 81d7f24ad32b07609902d0fbdf475ad5088ea7a5 Mon Sep 17 00:00:00 2001 From: jongfoster Date: Sat, 9 Jun 2001 10:57:39 +0000 Subject: [PATCH] Adding definition of BUFFER_SIZE. Changing struct cgi_dispatcher to use "const" strings. --- project.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/project.h b/project.h index 9acd84e2..35e22742 100644 --- a/project.h +++ b/project.h @@ -1,6 +1,6 @@ #ifndef _PROJECT_H #define _PROJECT_H -#define PROJECT_H_VERSION "$Id: project.h,v 1.16 2001/06/04 18:31:58 swa Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.17 2001/06/07 23:15:09 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -36,6 +36,12 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.17 2001/06/07 23:15:09 jongfoster + * Merging ACL and forward files into config file. + * Moving struct gateway members into struct forward_spec + * Removing config->proxy_args_gateways + * Cosmetic: Adding a few comments + * * Revision 1.16 2001/06/04 18:31:58 swa * files are now prefixed with either `confdir' or `logdir'. * `make redhat-dist' replaces both entries confdir and logdir @@ -280,6 +286,8 @@ #ifdef __cplusplus extern "C" { #endif + +#define BUFFER_SIZE 5000 #define FOREVER 1 @@ -587,10 +595,10 @@ struct parsers struct cgi_dispatcher { - char *name; - int name_length; - int (*handler)(struct client_state *csp, struct http_response *rsp, struct map *parameters); - char *description; + const char *name; + int name_length; + int (*handler)(struct client_state *csp, struct http_response *rsp, struct map *parameters); + const char *description; }; struct file_list -- 2.39.2