/* * 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 . */ #ifndef CHANNELS_H #define CHANNELS_H void channels_load(void); channel_t *channel_find_by_name(const char *name, int create); channel_t *channel_find_by_identifier(int id); void channel_unsubscribe(th_subscription_t *s); void channel_set_teletext_rundown(channel_t *ch, int v); void channel_settings_write(channel_t *ch); int channel_rename(channel_t *ch, const char *newname); void channel_delete(channel_t *ch); void channel_merge(channel_t *dst, channel_t *src); void channel_set_icon(channel_t *ch, const char *icon); #endif /* CHANNELS_H */