httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@c2.org
Subject Re: API version #define
Date Thu, 25 Apr 1996 15:39:42 GMT
> #define APACHE_NEWAPI 1

	Uh, let's make this real and do something like

#define APACHE_API	1.1

> 
> That change in the API is a hassle.  I have written my module to the 1.1 API
> and would like to be able to add a simple macro like:
> 
> #if APACHE_NEWAPI
> 	#define PUTS(a) rputs((a),php_rqst)
> #else
> 	#define PUTS(a) rprintf(php_rqst,"%s",(a))
> #endif
> 
> I'll just have to avoid using rvputs()
> 
> -Rasmus
> 


-- 
Sameer Parekh					Voice:   510-601-9777x3
Community ConneXion, Inc.			FAX:     510-601-9734
The Internet Privacy Provider			Dialin:  510-658-6376
http://www.c2.net/ (or login as "guest")		sameer@c2.net

Mime
View raw message