mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
yWeb 2.8.a.4
- updated nhttpd
- Code clean up
- changes to nhttpd.conf
- some changes for logo display
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@416 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: bad0521f6c
Author: yjogol <yjogol2@online.de>
Date: 2010-02-25 (Thu, 25 Feb 2010)
This commit is contained in:
@@ -5,20 +5,27 @@
|
||||
#ifndef __yhttpd_mod_auth_h__
|
||||
#define __yhttpd_mod_auth_h__
|
||||
|
||||
|
||||
#include "yhook.h"
|
||||
class CmAuth : public Cyhook
|
||||
{
|
||||
class CmAuth: public Cyhook {
|
||||
public:
|
||||
bool authenticate;
|
||||
CmAuth(){};
|
||||
~CmAuth(){};
|
||||
bool authenticate;
|
||||
CmAuth() {
|
||||
}
|
||||
;
|
||||
~CmAuth() {
|
||||
}
|
||||
;
|
||||
|
||||
// Hooks
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
virtual std::string getHookName(void) {return std::string("mod_auth");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision: 1.3 $");}
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config, CStringList &ConfigList);
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
virtual std::string getHookName(void) {
|
||||
return std::string("mod_auth");
|
||||
}
|
||||
virtual std::string getHookVersion(void) {
|
||||
return std::string("$Revision: 1.3 $");
|
||||
}
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config,
|
||||
CStringList &ConfigList);
|
||||
protected:
|
||||
bool CheckAuth(CyhookHandler *hh);
|
||||
std::string decodeBase64(const char *b64buffer);
|
||||
@@ -27,4 +34,3 @@ protected:
|
||||
std::string no_auth_client;
|
||||
};
|
||||
#endif // __yhttpd_mod_auth_h__
|
||||
|
||||
|
Reference in New Issue
Block a user