mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
nhttpd: unused var and function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 136955157d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-03-19 (Sat, 19 Mar 2016)
Origin message was:
------------------
nhttpd: unused var and function
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3583,14 +3583,13 @@ std::string CControlAPI::getSubdirectories(CyhookHandler *hh, std::string path,
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void CControlAPI::getMoviesCGI(CyhookHandler *hh) {
|
void CControlAPI::getMoviesCGI(CyhookHandler *hh) {
|
||||||
std::string result = "";
|
std::string result = "";
|
||||||
bool isFirstLine = true;
|
|
||||||
bool subdirs = true;
|
bool subdirs = true;
|
||||||
|
|
||||||
if(hh->ParamList["subdirs"] == "false") {
|
if(hh->ParamList["subdirs"] == "false") {
|
||||||
subdirs = false;
|
subdirs = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
TOutType outType = hh->outStart();
|
hh->outStart();
|
||||||
|
|
||||||
//Shows all movies with path in moviebrowser.conf
|
//Shows all movies with path in moviebrowser.conf
|
||||||
if (hh->ParamList["dir"] == "moviedir" || hh->ParamList["dir"] == "allmoviedirs" ) {
|
if (hh->ParamList["dir"] == "moviedir" || hh->ParamList["dir"] == "allmoviedirs" ) {
|
||||||
|
@@ -309,7 +309,7 @@ std::string CNeutrinoAPI::GetServiceName(t_channel_id channel_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
#if 0 //never used
|
||||||
CZapitClient::BouquetChannelList *CNeutrinoAPI::GetBouquet(unsigned int, int)
|
CZapitClient::BouquetChannelList *CNeutrinoAPI::GetBouquet(unsigned int, int)
|
||||||
{
|
{
|
||||||
//FIXME
|
//FIXME
|
||||||
@@ -337,7 +337,7 @@ void CNeutrinoAPI::UpdateChannelList(void)
|
|||||||
{
|
{
|
||||||
//FIXME
|
//FIXME
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
|
||||||
std::string CNeutrinoAPI::timerEventType2Str(CTimerd::CTimerEventTypes type)
|
std::string CNeutrinoAPI::timerEventType2Str(CTimerd::CTimerEventTypes type)
|
||||||
|
@@ -61,10 +61,12 @@ public:
|
|||||||
bool GetChannelEvents(void);
|
bool GetChannelEvents(void);
|
||||||
#if 0 /* unused funktion*/
|
#if 0 /* unused funktion*/
|
||||||
bool GetStreamInfo(int bitinfo[10]);
|
bool GetStreamInfo(int bitinfo[10]);
|
||||||
#endif
|
|
||||||
std::string GetServiceName(t_channel_id channel_id);
|
|
||||||
CZapitClient::BouquetChannelList *GetBouquet(unsigned int BouquetNr, int Mode);
|
CZapitClient::BouquetChannelList *GetBouquet(unsigned int BouquetNr, int Mode);
|
||||||
CZapitClient::BouquetChannelList *GetChannelList(int Mode);
|
CZapitClient::BouquetChannelList *GetChannelList(int Mode);
|
||||||
|
void UpdateBouquet(unsigned int BouquetNr);
|
||||||
|
void UpdateChannelList(void);
|
||||||
|
#endif
|
||||||
|
std::string GetServiceName(t_channel_id channel_id);
|
||||||
|
|
||||||
// support functions
|
// support functions
|
||||||
void ZapTo (const char * const target);
|
void ZapTo (const char * const target);
|
||||||
@@ -72,8 +74,6 @@ public:
|
|||||||
void ZapToChannelId (t_channel_id channel_id);
|
void ZapToChannelId (t_channel_id channel_id);
|
||||||
t_channel_id ChannelNameToChannelId(std::string search_channel_name);
|
t_channel_id ChannelNameToChannelId(std::string search_channel_name);
|
||||||
|
|
||||||
void UpdateBouquet(unsigned int BouquetNr);
|
|
||||||
void UpdateChannelList(void);
|
|
||||||
void UpdateBouquets(void);
|
void UpdateBouquets(void);
|
||||||
|
|
||||||
std::string timerEventType2Str(CTimerd::CTimerEventTypes type);
|
std::string timerEventType2Str(CTimerd::CTimerEventTypes type);
|
||||||
|
@@ -291,6 +291,7 @@ int CySocket::Send(char const *buffer, unsigned int length) {
|
|||||||
BytesSend += len;
|
BytesSend += len;
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
#if 0 //never used
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Check if Socket was closed by client
|
// Check if Socket was closed by client
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -303,7 +304,7 @@ bool CySocket::CheckSocketOpen() {
|
|||||||
return !(recv(sock, buffer, sizeof(buffer), MSG_PEEK | MSG_DONTWAIT) == 0);
|
return !(recv(sock, buffer, sizeof(buffer), MSG_PEEK | MSG_DONTWAIT) == 0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// Aggregated Send- and Receive- Operations
|
// Aggregated Send- and Receive- Operations
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
@@ -68,8 +68,9 @@ public:
|
|||||||
// send & receive (basic)
|
// send & receive (basic)
|
||||||
int Read(char *buffer, unsigned int length); // Read a buffer (normal or SSL)
|
int Read(char *buffer, unsigned int length); // Read a buffer (normal or SSL)
|
||||||
int Send(char const *buffer, unsigned int length); // Send a buffer (normal or SSL)
|
int Send(char const *buffer, unsigned int length); // Send a buffer (normal or SSL)
|
||||||
|
#if 0 //#endif
|
||||||
bool CheckSocketOpen(); // check if socket was closed by client
|
bool CheckSocketOpen(); // check if socket was closed by client
|
||||||
|
#endif
|
||||||
// send & receive
|
// send & receive
|
||||||
bool SendFile(int filed, off_t start = 0, off_t size = -1); // Send a File
|
bool SendFile(int filed, off_t start = 0, off_t size = -1); // Send a File
|
||||||
std::string ReceiveBlock(); // receive a Block. Look at length
|
std::string ReceiveBlock(); // receive a Block. Look at length
|
||||||
|
Reference in New Issue
Block a user