nhttpd: neutrinoapi.cpp disable unused func

Origin commit data
------------------
Branch: ni/coolstream
Commit: 35c5faac67
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-02-24 (Tue, 24 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-02-24 18:05:52 +01:00
parent f9d5aa1b49
commit 89c4d607d5
2 changed files with 5 additions and 3 deletions

View File

@@ -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)

View File

@@ -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);