Hi,
I have a custom extension in which I want to write this piece of code ->
/* {{{ proto int apache_client_socket()
Get the client socket */
PHP_FUNCTION(apache_client_socket)
{
RETURN_LONG(((request_rec
*)SG(server_context))->connection->client->fd);
}
/* }}} */
This code is something that I've put in sapi/apache/php_apache.c and I
want to move it to my custom extension. When I try to compile the
extension, I get a lot of errors regarding undefined yada yada
What are the headers required out here to compile this code
successfully? Libs to link with?
Tx,
Vinod.
-----------------------------------
Vinod Panicker <[EMAIL PROTECTED]>
Sr. Software Designer
Geodesic Information Systems Ltd.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php