Hi gurus,
I made a sample apache module, mod_test, by
/usr/local/apache/bin/apxs -g -n test.
Now I want to make the mod_test call the following source ( actually,
an add_test function ).
--- my_test.h
#ifndef _MY_TEST_H
#define _MY_TEST_H 1
int add_test(int a, int b);
On Tue, Jan 13, 2009 at 3:48 PM, wolfgang wolfgang...@gmail.com wrote:
Hi gurus,
I made a sample apache module, mod_test, by
/usr/local/apache/bin/apxs -g -n test.
Now I want to make the mod_test call the following source ( actually,
an add_test function ).
httpd: Syntax error on line
On Tue, Jan 13, 2009 at 21:48, wolfgang wolfgang...@gmail.com wrote:
Hi gurus,
I made a sample apache module, mod_test, by
/usr/local/apache/bin/apxs -g -n test.
Now I want to make the mod_test call the following source ( actually,
an add_test function ).
--- my_test.h
Hi, Sorin
Thanks for quick reply.
Here are mod_test.c and Makefile
** mod_test.c
#include httpd.h
#include http_config.h
#include http_protocol.h
#include ap_config.h
#include my_test.h
/* The sample content handler */
static int
On Tue, Jan 13, 2009 at 22:20, wolfgang wolfgang...@gmail.com wrote:
Hi, Sorin
Thanks for quick reply.
Here are mod_test.c and Makefile
** mod_test.c
#include httpd.h
#include http_config.h
#include http_protocol.h
#include