eitd/sectionsdclient: unify new code and call it as it is ... it is XMLTV; ...

fix another compiler warning: the use of `tmpnam' is dangerous


Origin commit data
------------------
Branch: ni/coolstream
Commit: 04c41bfb83
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-01 (Sat, 01 Sep 2018)

Origin message was:
------------------
- eitd/sectionsdclient: unify new code and call it as it is ... it is XMLTV; ...

fix another compiler warning: the use of `tmpnam' is dangerous


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-09-01 14:34:25 +02:00
parent f7d0ec11a7
commit ada2fe635e
7 changed files with 19 additions and 18 deletions

View File

@@ -35,9 +35,9 @@
#include <zapit/types.h>
void *insertEventsfromFile(void * data);
void *insertEventsfromHttp(void * data);
void *insertEventsfromXMLTV(void * data);
bool readEventsFromFile(std::string &epgname, int &ev_count);
bool readEventsFromHttpFile(std::string &epgname, int &ev_count);
bool readEventsFromXMLTV(std::string &epgname, int &ev_count);
bool readEventsFromDir(std::string &epgdir, int &ev_count);
void writeEventsToFile(const char *epgdir);
t_channel_id getepgid(std::string epg_name);