]> granicus.if.org Git - php/commitdiff
Add a note about what a missing const specifier does mean in the context
authorSascha Schumann <sas@php.net>
Mon, 27 Nov 2000 13:33:33 +0000 (13:33 +0000)
committerSascha Schumann <sas@php.net>
Mon, 27 Nov 2000 13:33:33 +0000 (13:33 +0000)
of the request_info structure.

main/SAPI.h

index 9c2f06abe397f754d635fb6030733af55de4226b..006dca7de1bc5081ec15d85b7cbc380f445d67ad 100644 (file)
@@ -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;