Go to the documentation of this file.
31 #ifndef CHANNEL_MANAGER_H_
32 # define CHANNEL_MANAGER_H_
40 #define MAX_LENOFCID 30
Cache model parameters.
Definition: cachemodel_manager.h:37
void set_channel_variable_param(query_param_t query_param, channel_param_t *channel)
set channel variable parameters
Definition: channel_manager.c:112
auxiliary transport setting parameters
Definition: auxtrans_manager.h:38
void print_allchannel(channellist_param_t *channellist)
print all channel parameters
Definition: channel_manager.c:161
void delete_channellist(channellist_param_t **channellist)
delete channel list
Definition: channel_manager.c:145
cnew_transport_t aux
auxiliary transport
Definition: channel_manager.h:46
channel_param_t * gene_channel(query_param_t query_param, auxtrans_param_t auxtrans, cachemodel_param_t *cachemodel, channellist_param_t *channellist)
generate a channel under the channel list
Definition: channel_manager.c:60
@ tcp
Definition: query_parser.h:41
channel_param_t * first
first channel pointer of the list
Definition: channel_manager.h:55
channel_param_t * search_channel(const char cid[], channellist_param_t *channellist)
search a channel by channel ID
Definition: channel_manager.c:173
channellist_param_t * gene_channellist(void)
generate a channel list
Definition: channel_manager.c:48
#define MAX_LENOFCID
maximum length of channel identifier
Definition: channel_manager.h:40
channel_param_t * last
last channel pointer of the list
Definition: channel_manager.h:56
void set_channel_variable_param(query_param_t query_param, channel_param_t *channel)
set channel variable parameters
Definition: channel_manager.c:112
time_t start_tm
starting time
Definition: channel_manager.h:48
struct channellist_param channellist_param_t
Channel list parameters.
void delete_channel(channel_param_t **channel, channellist_param_t *channellist)
delete a channel
Definition: channel_manager.c:121
void delete_channellist(channellist_param_t **channellist)
delete channel list
Definition: channel_manager.c:145
channel_param_t * search_channel(const char cid[], channellist_param_t *channellist)
search a channel by channel ID
Definition: channel_manager.c:173
void * opj_malloc(size_t size)
Allocate an uninitialized memory block.
Definition: opj_malloc.c:191
@ udp
Definition: query_parser.h:41
cnew_transport_t cnew
transport name if there is new channel request, else non
Definition: query_parser.h:57
target_param_t * target
reference pointer to the target
Definition: cachemodel_manager.h:38
channellist_param_t * gene_channellist(void)
generate a channel list
Definition: channel_manager.c:48
void opj_free(void *ptr)
Deallocates or frees a memory block.
Definition: opj_malloc.c:246
int udpauxport
udp port
Definition: auxtrans_manager.h:40
struct channel_param * next
pointer to the next channel
Definition: channel_manager.h:49
char * targetname
local file path or URL ( URL is supported only with SERVER mode)
Definition: target_manager.h:42
cachemodel_param_t * cachemodel
reference pointer to the cache model
Definition: channel_manager.h:44
void delete_channel(channel_param_t **channel, channellist_param_t *channellist)
delete a channel
Definition: channel_manager.c:121
channel_param_t * gene_channel(query_param_t query_param, auxtrans_param_t auxtrans, cachemodel_param_t *cachemodel, channellist_param_t *channellist)
generate a channel under the channel list
Definition: channel_manager.c:60
Channel list parameters.
Definition: channel_manager.h:54
Query parameters.
Definition: query_parser.h:47
char cid[MAX_LENOFCID]
channel identifier
Definition: channel_manager.h:45
void print_allchannel(channellist_param_t *channellist)
print all channel parameters
Definition: channel_manager.c:161
#define logstream
Definition: channel_manager.c:45
Channel parameters.
Definition: channel_manager.h:43
int tcpauxport
tcp port
Definition: auxtrans_manager.h:39
struct channel_param channel_param_t
Channel parameters.
#define FCGI_stdout
Definition: channel_manager.c:43
enum cnew_transport cnew_transport_t
cnew aux transport name