Mod Status

Ranier Vilela <[email protected]> Wed, 26 Nov 2008 12:45:19 -0200
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
Hi,
Anobody have a example that implementation a status ?

what functions and structures will be used?

int mod_status(request *r)
{
  // what functions?

  const char[] = "<html>"\
                        "<title>Server Status</title>"\
                        "<body>"\
                        "<h1>Mathopd Status:</h1>"\
                        "</body>"\
                        "</html>";
  write_r(char); // ???
  send_r(r);  // 200 OK

  return 0;
}

Thanks!

Ranier