Inline opj_raw_decode()
[openjpeg.git] / src / lib / openjpip / jpip_parser.h
index 8070c8a92da8ee1eb638aebc8c3df80f4f600b4f..093f0592b7f8041270c35b5109f4f7bd45473651 100644 (file)
@@ -1,9 +1,9 @@
 /*
  * $Id$
  *
- * Copyright (c) 2002-2011, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium
- * Copyright (c) 2002-2011, Professor Benoit Macq
- * Copyright (c) 2010-2011, Kaori Hagihara 
+ * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
+ * Copyright (c) 2002-2014, Professor Benoit Macq
+ * Copyright (c) 2010-2011, Kaori Hagihara
  * Copyright (c) 2011,      Lucian Corlaciu, GSoC
  * All rights reserved.
  *
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef        JPIP_PARSER_H_
-# define       JPIP_PARSER_H_
+#ifndef     JPIP_PARSER_H_
+# define    JPIP_PARSER_H_
 
-#include "bool.h"
 #include "query_parser.h"
 #include "session_manager.h"
 #include "target_manager.h"
@@ -47,7 +46,8 @@
  * @param[out]    target        address of target pointer
  * @return                      if succeeded (true) or failed (false)
  */
-bool identify_target( query_param_t query_param, targetlist_param_t *targetlist, target_param_t **target);
+OPJ_BOOL identify_target(query_param_t query_param,
+                         targetlist_param_t *targetlist, target_param_t **target);
 
 /**
  * REQUEST: channel association
@@ -59,10 +59,10 @@ bool identify_target( query_param_t query_param, targetlist_param_t *targetlist,
  * @param[out]    curchannel    address of the associated channel pointer
  * @return                      if succeeded (true) or failed (false)
  */
-bool associate_channel( query_param_t    query_param, 
-                       sessionlist_param_t *sessionlist,
-                       session_param_t **cursession, 
-                       channel_param_t **curchannel);
+OPJ_BOOL associate_channel(query_param_t    query_param,
+                           sessionlist_param_t *sessionlist,
+                           session_param_t **cursession,
+                           channel_param_t **curchannel);
 /**
  * REQUEST: new channel (cnew) assignment
  *
@@ -74,12 +74,12 @@ bool associate_channel( query_param_t    query_param,
  * @param[in,out] curchannel    address of the associated/opened channel pointer
  * @return                      if succeeded (true) or failed (false)
  */
-bool open_channel( query_param_t query_param, 
-                  sessionlist_param_t *sessionlist,
-                  auxtrans_param_t auxtrans,
-                  target_param_t *target,
-                  session_param_t **cursession, 
-                  channel_param_t **curchannel);
+OPJ_BOOL open_channel(query_param_t query_param,
+                      sessionlist_param_t *sessionlist,
+                      auxtrans_param_t auxtrans,
+                      target_param_t *target,
+                      session_param_t **cursession,
+                      channel_param_t **curchannel);
 
 /**
  * REQUEST: channel close (cclose)
@@ -90,10 +90,10 @@ bool open_channel( query_param_t query_param,
  * @param[in,out] curchannel    address of the deleting channel pointer
  * @return                      if succeeded (true) or failed (false)
  */
-bool close_channel( query_param_t query_param, 
-                   sessionlist_param_t *sessionlist,
-                   session_param_t **cursession, 
-                   channel_param_t **curchannel);
+OPJ_BOOL close_channel(query_param_t query_param,
+                       sessionlist_param_t *sessionlist,
+                       session_param_t **cursession,
+                       channel_param_t **curchannel);
 
 /**
  * REQUEST: view-window (fsiz)
@@ -105,10 +105,10 @@ bool close_channel( query_param_t query_param,
  * @param[out]    msgqueue    address of the message queue pointer
  * @return                    if succeeded (true) or failed (false)
  */
-bool gene_JPIPstream( query_param_t query_param,
-                     target_param_t *target,
-                     session_param_t *cursession, 
-                     channel_param_t *curchannel,
-                     msgqueue_param_t **msgqueue);
+OPJ_BOOL gene_JPIPstream(query_param_t query_param,
+                         target_param_t *target,
+                         session_param_t *cursession,
+                         channel_param_t *curchannel,
+                         msgqueue_param_t **msgqueue);
 
-#endif             /* !JPIP_PARSER_H_ */
+#endif      /* !JPIP_PARSER_H_ */