[trunk] propagate the new OPJ_ symbol and type to openjpip
[openjpeg.git] / src / lib / openjpip / msgqueue_manager.h
index e54f2dc16461a723fc5e59e9e6dd08be2350b926..d05227a920c19bf3764fefd1529a5f8b474bde30 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: msgqueue_manager.h 53 2011-05-09 16:55:39Z kaori $
+ * $Id$
  *
  * Copyright (c) 2002-2011, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium
  * Copyright (c) 2002-2011, Professor Benoit Macq
@@ -32,7 +32,6 @@
 #ifndef        MSGQUEUE_MANAGER_H_
 # define       MSGQUEUE_MANAGER_H_
 
-#include "bool.h"
 #include "byte_manager.h"
 #include "cachemodel_manager.h"
 #include "placeholder_manager.h"
@@ -47,7 +46,7 @@
 
 /** message parameters */
 typedef struct message_param{
-  bool    last_byte;          /**< if message contains the last byte of the data-bin*/
+  OPJ_BOOL    last_byte;          /**< if message contains the last byte of the data-bin*/
   Byte8_t in_class_id;        /**< in-class identifier A.2.3*/
   Byte8_t class_id;           /**< class identifiers */
   Byte8_t csn;                /**< index of the codestream*/
@@ -63,7 +62,7 @@ typedef struct message_param{
 typedef struct msgqueue_param{
   message_param_t *first;         /**< first message pointer of the list*/
   message_param_t *last;          /**< last  message pointer of the list*/
-  bool stateless;                 /**< if this is a stateless message queue*/
+  OPJ_BOOL stateless;                 /**< if this is a stateless message queue*/
   cachemodel_param_t *cachemodel; /**< reference cachemodel pointer*/
 } msgqueue_param_t;
 
@@ -74,7 +73,7 @@ typedef struct msgqueue_param{
  * @param[in] cachemodel  cachemodel pointer
  * @return                generated message queue pointer
  */
-msgqueue_param_t * gene_msgqueue( bool stateless, cachemodel_param_t *cachemodel);
+msgqueue_param_t * gene_msgqueue( OPJ_BOOL stateless, cachemodel_param_t *cachemodel);
 
 /**
  * delete message queue