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:
Jacek Jendrzej
2016-03-19 16:13:56 +01:00
parent 209529ff95
commit bf98b30b00
5 changed files with 11 additions and 10 deletions

View File

@@ -3583,14 +3583,13 @@ std::string CControlAPI::getSubdirectories(CyhookHandler *hh, std::string path,
//-----------------------------------------------------------------------------
void CControlAPI::getMoviesCGI(CyhookHandler *hh) {
std::string result = "";
bool isFirstLine = true;
bool subdirs = true;
if(hh->ParamList["subdirs"] == "false") {
subdirs = false;
}
TOutType outType = hh->outStart();
hh->outStart();
//Shows all movies with path in moviebrowser.conf
if (hh->ParamList["dir"] == "moviedir" || hh->ParamList["dir"] == "allmoviedirs" ) {

View File

@@ -309,7 +309,7 @@ std::string CNeutrinoAPI::GetServiceName(t_channel_id channel_id)
}
//-------------------------------------------------------------------------
#if 0 //never used
CZapitClient::BouquetChannelList *CNeutrinoAPI::GetBouquet(unsigned int, int)
{
//FIXME
@@ -337,7 +337,7 @@ void CNeutrinoAPI::UpdateChannelList(void)
{
//FIXME
}
#endif
//-------------------------------------------------------------------------
std::string CNeutrinoAPI::timerEventType2Str(CTimerd::CTimerEventTypes type)

View File

@@ -61,10 +61,12 @@ public:
bool GetChannelEvents(void);
#if 0 /* unused funktion*/
bool GetStreamInfo(int bitinfo[10]);
#endif
std::string GetServiceName(t_channel_id channel_id);
CZapitClient::BouquetChannelList *GetBouquet(unsigned int BouquetNr, 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
void ZapTo (const char * const target);
@@ -72,8 +74,6 @@ public:
void ZapToChannelId (t_channel_id channel_id);
t_channel_id ChannelNameToChannelId(std::string search_channel_name);
void UpdateBouquet(unsigned int BouquetNr);
void UpdateChannelList(void);
void UpdateBouquets(void);
std::string timerEventType2Str(CTimerd::CTimerEventTypes type);

View File

@@ -291,6 +291,7 @@ int CySocket::Send(char const *buffer, unsigned int length) {
BytesSend += len;
return len;
}
#if 0 //never used
//-----------------------------------------------------------------------------
// 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);
#endif
}
#endif
//=============================================================================
// Aggregated Send- and Receive- Operations
//=============================================================================

View File

@@ -68,8 +68,9 @@ public:
// send & receive (basic)
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)
#if 0 //#endif
bool CheckSocketOpen(); // check if socket was closed by client
#endif
// send & receive
bool SendFile(int filed, off_t start = 0, off_t size = -1); // Send a File
std::string ReceiveBlock(); // receive a Block. Look at length