Commit 3a3bcd33 authored by malosek's avatar malosek

pgm_sender code beautiication

parent f44b215a
...@@ -17,15 +17,13 @@ ...@@ -17,15 +17,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef __ZMQ_BP_PGM_SENDER_HPP_INCLUDED__ #ifndef __ZMQ_PGM_SENDER_HPP_INCLUDED__
#define __ZMQ_BP_PGM_SENDER_HPP_INCLUDED__ #define __ZMQ_PGM_SENDER_HPP_INCLUDED__
#include "platform.hpp" #include "platform.hpp"
#if defined ZMQ_HAVE_OPENPGM #if defined ZMQ_HAVE_OPENPGM
#include <vector>
#include "stdint.hpp" #include "stdint.hpp"
#include "io_object.hpp" #include "io_object.hpp"
#include "i_engine.hpp" #include "i_engine.hpp"
...@@ -83,14 +81,10 @@ namespace zmq ...@@ -83,14 +81,10 @@ namespace zmq
i_inout *inout; i_inout *inout;
// Output buffer from pgm_socket. // Output buffer from pgm_socket.
#ifdef ZMQ_HAVE_WINDOWS
unsigned char out_buffer [pgm_win_max_apdu];
#else
unsigned char *out_buffer; unsigned char *out_buffer;
// Output buffer size. // Output buffer size.
size_t out_buffer_size; size_t out_buffer_size;
#endif
size_t write_size; size_t write_size;
size_t write_pos; size_t write_pos;
...@@ -103,7 +97,6 @@ namespace zmq ...@@ -103,7 +97,6 @@ namespace zmq
}; };
} }
#endif #endif
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment