eitd: move epg filters to xmlutil.cpp

Origin commit data
------------------
Branch: ni/coolstream
Commit: cc36b982d9
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-14 (Tue, 14 Feb 2012)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-02-14 13:25:27 +04:00
parent 866f7acb42
commit 32c07b42ca
3 changed files with 241 additions and 145 deletions

43
src/eitd/xmlutil.h Normal file
View File

@@ -0,0 +1,43 @@
/*
*
* (C) 2003 by thegoodguy <thegoodguy@berlios.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __eitd_xmlutil_h__
#define __eitd_xmlutil_h__
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <xmltree/xmlinterface.h>
#include <zapit/client/zapittools.h>
#include <zapit/client/zapittypes.h>
void *insertEventsfromFile(void * data);
void writeEventsToFile(char *epgdir);
void readEPGFilter(void);
void readDVBTimeFilter(void);
bool checkEPGFilter(t_original_network_id onid, t_transport_stream_id tsid, t_service_id sid);
bool checkBlacklist(t_channel_id channel_id);
bool checkNoDVBTimelist(t_channel_id channel_id);
#endif /* __sectionsd__debug_h__ */