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
|
// Get functions
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
#if 0 /* unused funktion*/
|
||||||
bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
|
bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
|
||||||
{
|
{
|
||||||
char /* *key,*/ *tmpptr, buf[100];
|
char /* *key,*/ *tmpptr, buf[100];
|
||||||
long value;
|
long value;
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
|
|
||||||
memset(bitInfo, 0, sizeof(bitInfo));
|
memset(bitInfo, 0, 10);
|
||||||
|
|
||||||
FILE *fd = fopen("/proc/bus/bitstream", "rt");
|
FILE *fd = fopen("/proc/bus/bitstream", "rt");
|
||||||
|
|
||||||
@@ -261,7 +261,7 @@ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
|
||||||
bool CNeutrinoAPI::GetChannelEvents(void)
|
bool CNeutrinoAPI::GetChannelEvents(void)
|
||||||
|
@@ -53,7 +53,9 @@ class CNeutrinoAPI
|
|||||||
|
|
||||||
// get functions to collect data
|
// get functions to collect data
|
||||||
bool GetChannelEvents(void);
|
bool GetChannelEvents(void);
|
||||||
|
#if 0 /* unused funktion*/
|
||||||
bool GetStreamInfo(int bitinfo[10]);
|
bool GetStreamInfo(int bitinfo[10]);
|
||||||
|
#endif
|
||||||
std::string GetServiceName(t_channel_id channel_id);
|
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);
|
||||||
|
Reference in New Issue
Block a user