31 #ifndef SESSION_MANAGER_H_
32 # define SESSION_MANAGER_H_
Channel list parameters.
Definition: channel_manager.h:54
int OPJ_BOOL
Definition: openjpeg.h:110
struct session_param * next
pointer to the next session
Definition: session_manager.h:41
Cache model parameters.
Definition: cachemodel_manager.h:37
OPJ_BOOL search_session_and_channel(char cid[], sessionlist_param_t *sessionlist, session_param_t **foundsession, channel_param_t **foundchannel)
search a channel and its belonging session by channel ID
Definition: session_manager.c:79
session_param_t * last
last session pointer of the list
Definition: session_manager.h:47
void insert_cachemodel_into_session(session_param_t *session, cachemodel_param_t *cachemodel)
insert a cache model into a session
Definition: session_manager.c:106
Cache model list parameters.
Definition: cachemodel_manager.h:48
Session list parameters.
Definition: session_manager.h:45
session_param_t * gene_session(sessionlist_param_t *sessionlist)
generate a session under the sesion list
Definition: session_manager.c:59
channellist_param_t * channellist
channel list pointer
Definition: session_manager.h:39
struct session_param session_param_t
Session parameters.
void print_allsession(sessionlist_param_t *sessionlist)
print all sessions
Definition: session_manager.c:177
void delete_sessionlist(sessionlist_param_t **sessionlist)
delete session list
Definition: session_manager.c:152
sessionlist_param_t * gene_sessionlist(void)
generate a session list
Definition: session_manager.c:47
struct sessionlist_param sessionlist_param_t
Session list parameters.
cachemodellist_param_t * cachemodellist
cache list pointer
Definition: session_manager.h:40
OPJ_BOOL delete_session(session_param_t **session, sessionlist_param_t *sessionlist)
delete a session
Definition: session_manager.c:121
session_param_t * first
first session pointer of the list
Definition: session_manager.h:46
Session parameters.
Definition: session_manager.h:38
Channel parameters.
Definition: channel_manager.h:43