diff options
author | Martin Lucina <mato@kotelna.sk> | 2011-09-08 16:38:46 +0200 |
---|---|---|
committer | Martin Lucina <martin@lucina.net> | 2012-01-23 08:54:16 +0100 |
commit | 88f712b4a31c95caef4f34c4ec65793c392314a6 (patch) | |
tree | 2f17936ce9d53b1b13908e8d4288846aaa604263 /src/pgm_socket.hpp | |
parent | ad3e013f74d309b86e8f087932203e5787fe2d2d (diff) | |
parent | 75af6aed482ab16997c1388fe801f74d11ec12a4 (diff) |
Imported Debian patch 2.1.9-1debian/2.1.9-1
Diffstat (limited to 'src/pgm_socket.hpp')
-rw-r--r-- | src/pgm_socket.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pgm_socket.hpp b/src/pgm_socket.hpp index 9699aed..5ba8387 100644 --- a/src/pgm_socket.hpp +++ b/src/pgm_socket.hpp @@ -36,6 +36,7 @@ #include <pgm/in.h> #endif +#include "fd.hpp" #include "options.hpp" namespace zmq @@ -56,12 +57,12 @@ namespace zmq int init (bool udp_encapsulation_, const char *network_); // Get receiver fds and store them into user allocated memory. - void get_receiver_fds (int *receive_fd_, int *waiting_pipe_fd_); + void get_receiver_fds (fd_t *receive_fd_, fd_t *waiting_pipe_fd_); // Get sender and receiver fds and store it to user allocated // memory. Receive fd is used to process NAKs from peers. - void get_sender_fds (int *send_fd_, int *receive_fd_, - int *rdata_notify_fd_, int *pending_notify_fd_); + void get_sender_fds (fd_t *send_fd_, fd_t *receive_fd_, + fd_t *rdata_notify_fd_, fd_t *pending_notify_fd_); // Send data as one APDU, transmit window owned memory. size_t send (unsigned char *data_, size_t data_len_); |