mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
zapit/lib/zapitclient.cpp: comment get/setConfig
This commit is contained in:
@@ -378,8 +378,10 @@ class CZapitClient:public CBasicClient
|
|||||||
/* */
|
/* */
|
||||||
/****************************************/
|
/****************************************/
|
||||||
/* start TS-Scan */
|
/* start TS-Scan */
|
||||||
|
#if 0
|
||||||
bool setConfig(Zapit_config Cfg);
|
bool setConfig(Zapit_config Cfg);
|
||||||
void getConfig(Zapit_config * Cfg);
|
void getConfig(Zapit_config * Cfg);
|
||||||
|
#endif
|
||||||
bool Rezap();
|
bool Rezap();
|
||||||
bool startScan(int scan_mode);
|
bool startScan(int scan_mode);
|
||||||
bool stopScan();
|
bool stopScan();
|
||||||
|
@@ -585,6 +585,7 @@ bool CZapitClient::stopScan()
|
|||||||
close_connection();
|
close_connection();
|
||||||
return reply;
|
return reply;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
bool CZapitClient::setConfig(Zapit_config Cfg)
|
bool CZapitClient::setConfig(Zapit_config Cfg)
|
||||||
{
|
{
|
||||||
//bool reply = send(CZapitMessages::CMD_LOADCONFIG);
|
//bool reply = send(CZapitMessages::CMD_LOADCONFIG);
|
||||||
@@ -598,6 +599,7 @@ void CZapitClient::getConfig (Zapit_config * Cfg)
|
|||||||
CBasicClient::receive_data((char *) Cfg, sizeof(Zapit_config));
|
CBasicClient::receive_data((char *) Cfg, sizeof(Zapit_config));
|
||||||
close_connection();
|
close_connection();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
bool CZapitClient::Rezap()
|
bool CZapitClient::Rezap()
|
||||||
{
|
{
|
||||||
bool reply = send(CZapitMessages::CMD_REZAP);
|
bool reply = send(CZapitMessages::CMD_REZAP);
|
||||||
|
@@ -1018,7 +1018,7 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
|||||||
CServiceScan::getInstance()->Abort();
|
CServiceScan::getInstance()->Abort();
|
||||||
CServiceScan::getInstance()->Stop();
|
CServiceScan::getInstance()->Stop();
|
||||||
break;
|
break;
|
||||||
|
#if 0
|
||||||
case CZapitMessages::CMD_SETCONFIG:
|
case CZapitMessages::CMD_SETCONFIG:
|
||||||
Zapit_config Cfg;
|
Zapit_config Cfg;
|
||||||
CBasicServer::receive_data(connfd, &Cfg, sizeof(Cfg));
|
CBasicServer::receive_data(connfd, &Cfg, sizeof(Cfg));
|
||||||
@@ -1027,6 +1027,7 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
|||||||
case CZapitMessages::CMD_GETCONFIG:
|
case CZapitMessages::CMD_GETCONFIG:
|
||||||
SendConfig(connfd);
|
SendConfig(connfd);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case CZapitMessages::CMD_REZAP:
|
case CZapitMessages::CMD_REZAP:
|
||||||
if (currentMode & RECORD_MODE)
|
if (currentMode & RECORD_MODE)
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user