Go to the documentation of this file.
31 #ifndef SESSION_MANAGER_H_
32 # define SESSION_MANAGER_H_
Cache model parameters.
Definition: cachemodel_manager.h:37
void insert_cachemodel_into_session(session_param_t *session, cachemodel_param_t *cachemodel)
insert a cache model into a session
Definition: session_manager.c:108
Session parameters.
Definition: session_manager.h:38
OPJ_BOOL delete_session(session_param_t **session, sessionlist_param_t *sessionlist)
delete a session
Definition: session_manager.c:126
void print_allchannel(channellist_param_t *channellist)
print all channel parameters
Definition: channel_manager.c:161
OPJ_BOOL delete_session(session_param_t **session, sessionlist_param_t *sessionlist)
delete a session
Definition: session_manager.c:126
Session list parameters.
Definition: session_manager.h:45
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:80
void insert_cachemodel_into_session(session_param_t *session, cachemodel_param_t *cachemodel)
insert a cache model into a session
Definition: session_manager.c:108
#define FCGI_stdout
Definition: session_manager.c:41
session_param_t * gene_session(sessionlist_param_t *sessionlist)
generate a session under the sesion list
Definition: session_manager.c:59
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:80
channellist_param_t * channellist
channel list pointer
Definition: session_manager.h:39
void print_allsession(sessionlist_param_t *sessionlist)
print all sessions
Definition: session_manager.c:186
int OPJ_BOOL
Definition: openjpeg.h:116
sessionlist_param_t * gene_sessionlist(void)
generate a session list
Definition: session_manager.c:47
session_param_t * gene_session(sessionlist_param_t *sessionlist)
generate a session under the sesion list
Definition: session_manager.c:59
sessionlist_param_t * gene_sessionlist(void)
generate a session list
Definition: session_manager.c:47
session_param_t * last
last session pointer of the list
Definition: session_manager.h:47
void print_target(target_param_t *target)
print target parameters
Definition: target_manager.c:205
void print_allsession(sessionlist_param_t *sessionlist)
print all sessions
Definition: session_manager.c:186
void delete_channellist(channellist_param_t **channellist)
delete channel list
Definition: channel_manager.c:145
void delete_sessionlist(sessionlist_param_t **sessionlist)
delete session list
Definition: session_manager.c:161
#define OPJ_TRUE
Definition: openjpeg.h:117
void * opj_malloc(size_t size)
Allocate an uninitialized memory block.
Definition: opj_malloc.c:191
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
struct session_param session_param_t
Session parameters.
struct channel_param * next
pointer to the next channel
Definition: channel_manager.h:49
Cache model list parameters.
Definition: cachemodel_manager.h:48
void delete_cachemodellist(cachemodellist_param_t **cachemodellist)
delete cachemodel list
Definition: cachemodel_manager.c:178
session_param_t * first
first session pointer of the list
Definition: session_manager.h:46
struct cachemodel_param * next
pointer to the next cache model
Definition: cachemodel_manager.h:44
void delete_sessionlist(sessionlist_param_t **sessionlist)
delete session list
Definition: session_manager.c:161
Channel list parameters.
Definition: channel_manager.h:54
cachemodellist_param_t * gene_cachemodellist(void)
generate a cache model list
Definition: cachemodel_manager.c:47
#define logstream
Definition: session_manager.c:43
#define OPJ_FALSE
Definition: openjpeg.h:118
cachemodel_param_t * first
first cache model pointer of the list
Definition: cachemodel_manager.h:49
cachemodel_param_t * last
last cache model pointer of the list
Definition: cachemodel_manager.h:50
struct session_param * next
pointer to the next session
Definition: session_manager.h:41
Channel parameters.
Definition: channel_manager.h:43
struct sessionlist_param sessionlist_param_t
Session list parameters.
cachemodellist_param_t * cachemodellist
cache list pointer
Definition: session_manager.h:40