rse 98/04/06 00:26:30
Modified: src/include fnmatch.h http_protocol.h
src/main alloc.c fnmatch.c http_main.c http_protocol.c
Log:
More API_EXPORT's to correct the symbol spaces according to Dean's list of of
functions which have to be part of the public API.
Revision Changes Path
1.3 +4 -2 apache-1.3/src/include/fnmatch.h
Index: fnmatch.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/include/fnmatch.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fnmatch.h 1997/09/16 00:35:41 1.2
+++ fnmatch.h 1998/04/06 07:26:24 1.3
@@ -35,6 +35,8 @@
/* This file has been modified by the Apache Group. */
+#include "conf.h"
+
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
@@ -44,9 +46,9 @@
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
-int fnmatch(const char *, const char *, int);
+API_EXPORT(int) fnmatch(const char *, const char *, int);
/* this function is an Apache addition */
-extern int is_fnmatch(const char *);
+API_EXPORT(extern int) is_fnmatch(const char *);
#endif /* !_FNMATCH_H_ */
1.39 +1 -1 apache-1.3/src/include/http_protocol.h
Index: http_protocol.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/include/http_protocol.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- http_protocol.h 1998/03/31 12:52:26 1.38
+++ http_protocol.h 1998/04/06 07:26:24 1.39
@@ -203,6 +203,6 @@
/* This is also useful for putting sub_reqs and internal_redirects together
*/
-void parse_uri(request_rec *r, const char *uri);
+API_EXPORT(void) parse_uri(request_rec *r, const char *uri);
#endif /* !APACHE_HTTP_PROTOCOL_H */
1.86 +1 -1 apache-1.3/src/main/alloc.c
Index: alloc.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/alloc.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- alloc.c 1998/04/06 06:43:16 1.85
+++ alloc.c 1998/04/06 07:26:27 1.86
@@ -1347,7 +1347,7 @@
* Note that rec is simply passed-on to the comp function, so that the
* caller can pass additional info for the task.
*/
-void table_do(int (*comp) (void *, const char *, const char *), void *rec,
+API_EXPORT(void) table_do(int (*comp) (void *, const char *, const char *),
void *rec,
const table *t,...)
{
va_list vp;
1.8 +2 -2 apache-1.3/src/main/fnmatch.c
Index: fnmatch.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/fnmatch.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- fnmatch.c 1998/02/28 15:39:33 1.7
+++ fnmatch.c 1998/04/06 07:26:27 1.8
@@ -51,7 +51,7 @@
static const char *rangematch(const char *, int, int);
-int fnmatch(pattern, string, flags)
+API_EXPORT(int) fnmatch(pattern, string, flags)
const char *pattern, *string;
int flags;
{
@@ -181,7 +181,7 @@
/* This function is an Apache addition */
/* return non-zero if pattern has any glob chars in it */
-int is_fnmatch(const char *pattern)
+API_EXPORT(int) is_fnmatch(const char *pattern)
{
int nesting;
1.321 +2 -2 apache-1.3/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.320
retrieving revision 1.321
diff -u -r1.320 -r1.321
--- http_main.c 1998/04/06 06:43:15 1.320
+++ http_main.c 1998/04/06 07:26:28 1.321
@@ -1210,7 +1210,7 @@
*/
#ifndef NO_OTHER_CHILD
-void register_other_child(int pid,
+API_EXPORT(void) register_other_child(int pid,
void (*maintenance) (int reason, void *, int status),
void *data, int write_fd)
{
@@ -1229,7 +1229,7 @@
* scanning the other_children list, all scanners should protect themself
* by loading ocr->next before calling any maintenance function.
*/
-void unregister_other_child(void *data)
+API_EXPORT(void) unregister_other_child(void *data)
{
other_child_rec **pocr, *nocr;
1.209 +1 -1 apache-1.3/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_protocol.c,v
retrieving revision 1.208
retrieving revision 1.209
diff -u -r1.208 -r1.209
--- http_protocol.c 1998/04/05 23:16:10 1.208
+++ http_protocol.c 1998/04/06 07:26:28 1.209
@@ -575,7 +575,7 @@
* - sets r->uri to request uri (without r->args part)
* - sets r->hostname (if not set already) from request (scheme://host:port)
*/
-void parse_uri(request_rec *r, const char *uri)
+API_EXPORT(void) parse_uri(request_rec *r, const char *uri)
{
int status = HTTP_OK;