Mailing List Archive

cvs commit: apache-1.3/htdocs/manual upgrading_to_1_3.html
rse 98/04/14 00:36:22

Modified: htdocs/manual upgrading_to_1_3.html
Log:
Add an entry about compat.h to the "Third Party Modules" section of
upgrading_to_1.3.html. Thanks to Dean for hint.

Revision Changes Path
1.18 +12 -0 apache-1.3/htdocs/manual/upgrading_to_1_3.html

Index: upgrading_to_1_3.html
===================================================================
RCS file: /export/home/cvs/apache-1.3/htdocs/manual/upgrading_to_1_3.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- upgrading_to_1_3.html 1998/04/14 02:07:31 1.17
+++ upgrading_to_1_3.html 1998/04/14 07:36:21 1.18
@@ -181,6 +181,18 @@

<UL>
<LI>
+ To avoid symbol clashes with third-party code compiled into the server, the
+ general prefix `<CODE>ap_</CODE>' was globally applied to the following
+ classes of symbols: Apache provided general functions (e.g.,
+ <CODE>ap_cpystrn</CODE>), public API functions (e.g., <CODE>palloc</CODE>,
+ <CODE>bgets</CODE>) and private functions which can't be made static
+ (because of cross-object usage) but should be (e.g.,
+ <CODE>new_connection</CODE>). For backward source compatibility with
+ Apache 1.2 a new header file named <CODE>compat.h</CODE> was created which
+ provides defines for the old symbol names and should be used by third-party
+ module authors.
+ </LI>
+ <LI>
Be sure and examine the <A HREF="sourcereorg.html">source code
reorganization page</A> to see whether any item there affects you.
If anything, the symbol renaming (prepending of <CODE>ap_</CODE>)