> > And what if we want to change the initialization? I think it's nice the way
> > it was and gives us a chance to change defaults.  I don't see any good
> > reason for nuking this.
> 
> 
>         struct {
>             "apache",
>             "Apache",
>             php_apache_register_hooks
>         } apa_sapi_module;
> 
>     And a function
> 
>     void php_apache_register_hooks(TSRMLS_D)
>     {
>         sapi_register_module_startup(func_startup);
>         sapi_register_module_shutdown(func_shutdown);
>         /* etc */
>     }
>

Another advantage to this approach is binary compatibility is much
easier to maintain.

-Sterling

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to