32 #ifndef QUERY_PARSER_H_ 33 # define QUERY_PARSER_H_ 38 #define MAX_NUMOFBOX 10 OPJ_BOOL metadata_only
metadata-only request
Definition: query_parser.h:69
OPJ_BOOL a[MAX_NUMOFBOX]
Definition: query_parser.h:65
int fy
frame size (fx,fy)
Definition: query_parser.h:50
int OPJ_BOOL
Definition: openjpeg.h:110
int limit[MAX_NUMOFBOX]
limit value, -1: skeleton request "r", 0: entire contents
Definition: query_parser.h:61
Definition: query_parser.h:44
int lastcomp
last component number
Definition: query_parser.h:53
char * cid
channel identifier
Definition: query_parser.h:55
int max_depth
max-depth
Definition: query_parser.h:68
OPJ_BOOL priority[MAX_NUMOFBOX]
priority flag
Definition: query_parser.h:66
int rh
roi region
Definition: query_parser.h:51
Definition: query_parser.h:44
char * target
target name
Definition: query_parser.h:48
OPJ_BOOL w[MAX_NUMOFBOX]
Metadata request qualifier flags.
Definition: query_parser.h:62
int ry
Definition: query_parser.h:51
int rx
Definition: query_parser.h:51
void print_queryparam(query_param_t query_param)
print query parameters
Definition: query_parser.c:238
image_return_t return_type
image return type
Definition: query_parser.h:70
OPJ_BOOL g[MAX_NUMOFBOX]
Definition: query_parser.h:64
enum cnew_transport cnew_transport_t
cnew aux transport name
query_param_t * parse_query(const char *query_string)
parse query
Definition: query_parser.c:88
int rw
Definition: query_parser.h:51
OPJ_BOOL * comps
components (dynamic array) for jpp-stream, null means all components
Definition: query_parser.h:54
Definition: query_parser.h:41
cnew_transport_t cnew
transport name if there is new channel request, else non
Definition: query_parser.h:57
#define MAX_NUMOFBOX
maximum number of meta request box
Definition: query_parser.h:38
Query parameters.
Definition: query_parser.h:47
struct query_param query_param_t
Query parameters.
Definition: query_parser.h:44
int root_bin
root-bin
Definition: query_parser.h:67
int len
maximum response length
Definition: query_parser.h:71
char box_type[MAX_NUMOFBOX][4]
interested box-types
Definition: query_parser.h:60
char * tid
target identifier
Definition: query_parser.h:49
void delete_query(query_param_t **query)
delete query
Definition: query_parser.c:449
cnew_transport
cnew aux transport name
Definition: query_parser.h:41
int numOfcclose
number of closing channels
Definition: query_parser.h:59
OPJ_BOOL s[MAX_NUMOFBOX]
Definition: query_parser.h:63
image_return
image return type
Definition: query_parser.h:44
Definition: query_parser.h:41
int fx
Definition: query_parser.h:50
enum image_return image_return_t
image return type
char * cclose
list of closing channel identifiers, separated by '\0'
Definition: query_parser.h:58
int layers
quality layers
Definition: query_parser.h:52
Definition: query_parser.h:41
Definition: query_parser.h:41