mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
nhttpd: neutrinoapi.cpp disable unused func
This commit is contained in:
@@ -227,14 +227,14 @@ t_channel_id CNeutrinoAPI::ChannelNameToChannelId(std::string search_channel_nam
|
||||
//-------------------------------------------------------------------------
|
||||
// Get functions
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
#if 0 /* unused funktion*/
|
||||
bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
|
||||
{
|
||||
char /* *key,*/ *tmpptr, buf[100];
|
||||
long value;
|
||||
int pos = 0;
|
||||
|
||||
memset(bitInfo, 0, sizeof(bitInfo));
|
||||
memset(bitInfo, 0, 10);
|
||||
|
||||
FILE *fd = fopen("/proc/bus/bitstream", "rt");
|
||||
|
||||
@@ -261,7 +261,7 @@ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
bool CNeutrinoAPI::GetChannelEvents(void)
|
||||
|
@@ -53,7 +53,9 @@ class CNeutrinoAPI
|
||||
|
||||
// get functions to collect data
|
||||
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);
|
||||
|
Reference in New Issue
Block a user