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
