summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-11-27 13:33:33 +0000
committerSascha Schumann <sas@php.net>2000-11-27 13:33:33 +0000
commit3b195720e09d16e1d178ccdd91dccd8cfd453821 (patch)
tree796fbbd113feb6ed197de77be9169326ed7b4d7d /main
parent949b0893dce45312291273b731e89a1a5ad6389d (diff)
downloadphp-git-3b195720e09d16e1d178ccdd91dccd8cfd453821.tar.gz
Add a note about what a missing const specifier does mean in the context
of the request_info structure.
Diffstat (limited to 'main')
-rw-r--r--main/SAPI.h5
1 files changed, 5 insertions, 0 deletions
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;