[trunk] Make sure to reject images such as 1336.pdf.asan.47.376.jp2
[openjpeg.git] / src / lib / openjpip / imgsock_manager.h
index 044bdc530b57db4122356e491008a042afbad20b..4fbcc37c23a60fc2a992d486f9e3a434f9b29bd8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: imgsock_manager.h 54 2011-05-10 13:22:47Z kaori $
+ * $Id$
  *
  * Copyright (c) 2002-2011, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium
  * Copyright (c) 2002-2011, Professor Benoit Macq
@@ -31,9 +31,9 @@
 #ifndef        IMGSOCK_MANAGER_H_
 # define       IMGSOCK_MANAGER_H_
 
-#include "bool.h"
 #include "byte_manager.h"
 #include "sock_manager.h"
+#include "opj_includes.h"
 
 #define NUM_OF_MSGTYPES 9
 typedef enum eMSGTYPE{ JPIPSTREAM, PNMREQ, XMLREQ, TIDREQ, CIDREQ, CIDDST, SIZREQ, JP2SAVE, QUIT, MSGERROR} msgtype_t;
@@ -112,7 +112,7 @@ void send_SIZstream( SOCKET connected_socket, unsigned int width, unsigned int h
  * @param [in]  connected_socket file descriptor of the connected socket
  * @param [in]  succeed          whether if the requested process succeeded
  */
-void response_signal( SOCKET connected_socket, bool succeed);
+void response_signal( SOCKET connected_socket, OPJ_BOOL succeed);
 
 #endif /* !IMGSOCK_MANAGER_H_ */