tvheadend/channels.h
Andreas Öman fa329cec17 Major rework, as follows:
- Add automatic DVB mux scanning
- Rename "programme" to "event" (more consistent with DVB specs)
- Improve showtime client interface
- Add decent timers
- Fix UTF-8 conversion issues at various places
- Improve EPG (Join DVB and XMLTV to same lists)
2007-08-16 10:59:06 +00:00

36 lines
1.1 KiB
C

/*
* tvheadend, channel functions
* Copyright (C) 2007 Andreas Öman
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef CHANNELS_H
#define CHANNELS_H
extern struct th_channel_queue channels;
void channels_load(void);
th_channel_t *channel_by_index(uint32_t id);
int id_by_channel(th_channel_t *ch);
int channel_get_channels(void);
void channel_unsubscribe(th_subscription_t *s);
th_channel_t *channel_find(const char *name, int create);
#endif /* CHANNELS_H */