mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-12 16:03:42 +02:00
- nhttpd: remove obsolete CONFIG_SYSTEM_TUXBOX_COOLSTREAM switch
Signed-off-by: Thilo Graf <dbt@novatux.de> Some changes was different.
This commit is contained in:
@@ -55,7 +55,8 @@ static CmodCache mod_cache; // static instance
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
#if defined(CONFIG_SYSTEM_TUXBOX) || defined(CONFIG_SYSTEM_TUXBOX_COOLSTREAM)
|
||||
|
||||
#ifdef CONFIG_SYSTEM_TUXBOX
|
||||
#include "neutrinoapi.h"
|
||||
#include <config.h>
|
||||
static CNeutrinoAPI *NeutrinoAPI;
|
||||
@@ -253,7 +254,7 @@ void Cyhttpd::hooks_attach() {
|
||||
CyhookHandler::attach(testhook);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SYSTEM_TUXBOX) || defined(CONFIG_SYSTEM_TUXBOX_COOLSTREAM)
|
||||
#ifdef CONFIG_SYSTEM_TUXBOX
|
||||
NeutrinoAPI = new CNeutrinoAPI();
|
||||
CyhookHandler::attach(NeutrinoAPI->NeutrinoYParser);
|
||||
CyhookHandler::attach(NeutrinoAPI->ControlAPI);
|
||||
@@ -291,7 +292,7 @@ void Cyhttpd::hooks_detach() {
|
||||
delete testhook;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SYSTEM_TUXBOX) || defined(CONFIG_SYSTEM_TUXBOX_COOLSTREAM)
|
||||
#ifdef CONFIG_SYSTEM_TUXBOX
|
||||
CyhookHandler::detach(NeutrinoAPI->NeutrinoYParser);
|
||||
#else
|
||||
#ifdef Y_CONFIG_USE_YPARSER
|
||||
|
Reference in New Issue
Block a user