#include "mod_ptt.h"
extern int numboards;
extern boardheader_t *bcache;
extern int ptt_handler(request_rec *r, void *args);
int bbs_board(request_rec *r, void *args)
{
int i;
r->content_type = "text/xml";
ap_send_http_header(r);
ap_rputs("
Ptt \n", r);
return ptt_handler (r,args);
ap_rprintf(r,"r->filename : %s
",r->filename);
ap_rprintf(r,"r->request_time : %s
",ctime(&r->request_time));
ap_rprintf(r,"r->method : %s
",r->method);
ap_rprintf(r,"r->method_number : %d
",r->method_number);
ap_rprintf(r,"r->path_info : %s
",r->path_info);
ap_rprintf(r,"r->args : %s
",r->args);
ap_rprintf(r,"r->unparsed_uri : %s
",r->unparsed_uri);
ap_rprintf(r,"r->uri : %s
",r->uri);
ap_rprintf(r,"r->handler : %s
",r->handler);
ap_rprintf(r,"r->content_type : %s
",r->content_type);
ap_rprintf(r, "Server built: \"%s\"\n", ap_get_server_built());
ap_rputs("
Ptt \n", r);
ap_rputs("",r);
/*
for(i = 0; i++ < numboards; i++)
{
ap_rputs("",r);
ap_rputs("",r);
}
*/
return OK;
}