From: Sascha Schumann Date: Mon, 27 Nov 2000 13:33:33 +0000 (+0000) Subject: Add a note about what a missing const specifier does mean in the context X-Git-Tag: php-4.0.4RC3~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b195720e09d16e1d178ccdd91dccd8cfd453821;p=php Add a note about what a missing const specifier does mean in the context of the request_info structure. --- diff --git a/main/SAPI.h b/main/SAPI.h index 9c2f06abe3..006dca7de1 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -59,6 +59,11 @@ typedef struct _sapi_module_struct sapi_module_struct; extern sapi_module_struct sapi_module; /* true global */ +/* Some values in this structure needs to be field in before + * calling sapi_activate(). We WILL change the `char *' entries, + * so make sure that you allocate a separate buffer for them + * and that you free them after sapi_deactivate(). + */ typedef struct { const char *request_method;