Headers required?

From: Date: Wed, 15 Jan 2003 10:48:51 +0000
Subject: Headers required?
Groups: php.dev 
Request: Send a blank email to php-dev+get-93477@lists.php.net to get a copy of this message
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 <vinod@geodesiconline.com> Sr. Software Designer Geodesic Information Systems Ltd.

« previous php.dev (#93477) next »