mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: bc5bd4154e
Author: mrcolor <mrcolor@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-08 (Tue, 08 Dec 2009)
18 lines
436 B
C++
18 lines
436 B
C++
//=============================================================================
|
|
// YHTTPD
|
|
// TestHook
|
|
//=============================================================================
|
|
|
|
#include "mod_testhook.h"
|
|
|
|
THandleStatus CTesthook::Hook_SendResponse(CyhookHandler *hh)
|
|
{
|
|
THandleStatus status = HANDLED_NONE;
|
|
if(hh->UrlData["filename"] == "test2")
|
|
{
|
|
hh->yresult = "test it 2222\n";
|
|
status = HANDLED_READY;
|
|
}
|
|
return status;
|
|
}
|