mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
nhttpd: small re-sorts; TODO: fix $Revision$ replacements
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3a105efe84
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-05 (Tue, 05 Sep 2017)
Origin message was:
------------------
- nhttpd: small re-sorts; TODO: fix $Revision$ replacements
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -155,10 +155,10 @@ public:
|
||||
CControlAPI(CNeutrinoAPI *_NeutrinoAPI);
|
||||
|
||||
// virtual functions for HookHandler/Hook
|
||||
virtual std::string getHookName(void) {return std::string("mod_ControlAPI");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_SendResponse(CyhookHandler *hh);
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
virtual std::string getHookName(void) {return std::string("mod_ControlAPI");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_SendResponse(CyhookHandler *hh);
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
};
|
||||
|
||||
#endif /* __nhttpd_neutrinocontrolapi_hpp__ */
|
||||
|
@@ -65,8 +65,9 @@ public:
|
||||
|
||||
// virtual functions for BaseClass
|
||||
virtual std::string YWeb_cgi_func(CyhookHandler *hh, std::string ycmd);
|
||||
|
||||
// virtual functions for HookHandler/Hook
|
||||
virtual std::string getHookName(void) {return std::string("mod_NeutrinoYParser-Coolstream");}
|
||||
virtual std::string getHookName(void) {return std::string("mod_NeutrinoYParser");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_SendResponse(CyhookHandler *hh);
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config, CStringList &ConfigList);
|
||||
|
@@ -17,16 +17,12 @@ public:
|
||||
}
|
||||
;
|
||||
|
||||
// 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$");
|
||||
}
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config,
|
||||
CStringList &ConfigList);
|
||||
// virtual functions for HookHandler/Hook
|
||||
virtual std::string getHookName(void) {return std::string("mod_auth");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config, CStringList &ConfigList);
|
||||
|
||||
protected:
|
||||
bool CheckAuth(CyhookHandler *hh);
|
||||
std::string decodeBase64(const char *b64buffer);
|
||||
|
@@ -48,12 +48,12 @@ public:
|
||||
static void RemoveCategoryFromCache(std::string category);
|
||||
static void DeleteCache(void);
|
||||
|
||||
// Hooks
|
||||
// virtual functions for HookHandler/Hook
|
||||
virtual std::string getHookName(void) {return std::string("mod_cache");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
virtual THandleStatus Hook_SendResponse(CyhookHandler *hh);
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual std::string getHookName(void) {return std::string("mod_cache");}
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config,CStringList &ConfigList);
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config, CStringList &ConfigList);
|
||||
};
|
||||
|
||||
#endif /* __yhttpd_mod_cache_h__ */
|
||||
|
@@ -28,11 +28,11 @@ public:
|
||||
CmodSendfile(){};
|
||||
~CmodSendfile(void){};
|
||||
|
||||
// Hooks
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
// virtual THandleStatus Hook_SendResponse(CyhookHandler *hh);
|
||||
// virtual functions for HookHandler/Hook
|
||||
virtual std::string getHookName(void) {return std::string("mod_sendfile");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh);
|
||||
// virtual THandleStatus Hook_SendResponse(CyhookHandler *hh);
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config, CStringList &ConfigList);
|
||||
};
|
||||
|
||||
|
@@ -33,10 +33,10 @@ public:
|
||||
void AddLogEntry_ELF(CyhookHandler *hh);
|
||||
bool printf(const char *fmt, ...);
|
||||
|
||||
// Hooks
|
||||
virtual THandleStatus Hook_EndConnection(CyhookHandler *hh);
|
||||
// virtual functions for HookHandler/Hook
|
||||
virtual std::string getHookName(void) {return std::string("mod_weblog");}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_EndConnection(CyhookHandler *hh);
|
||||
virtual THandleStatus Hook_ReadConfig(CConfigFile *Config, CStringList &ConfigList);
|
||||
};
|
||||
#endif // __yhttpd_mod_weblog_h__
|
||||
|
@@ -113,9 +113,10 @@ public:
|
||||
|
||||
// virtual functions for BaseClass
|
||||
virtual std::string YWeb_cgi_func(CyhookHandler *hh, std::string ycmd);
|
||||
|
||||
// virtual functions for HookHandler/Hook
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual std::string getHookName(void) {return "mod_yparser";}
|
||||
virtual std::string getHookVersion(void) {return std::string("$Revision$");}
|
||||
virtual THandleStatus Hook_SendResponse(CyhookHandler *hh);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user