~ubuntu-branches/ubuntu/precise/zeromq/precise

« back to all changes in this revision

Viewing changes to src/pgm_socket.hpp

  • Committer: Package Import Robot
  • Author(s): Martin Lucina
  • Date: 2011-09-08 16:38:46 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: package-import@ubuntu.com-20110908163846-wjo6zknbsxmwyokn
Tags: 2.1.9-1
New upstream version. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include <pgm/in.h>
37
37
#endif
38
38
 
 
39
#include "fd.hpp"
39
40
#include "options.hpp"
40
41
 
41
42
namespace zmq
56
57
        int init (bool udp_encapsulation_, const char *network_);
57
58
        
58
59
        //   Get receiver fds and store them into user allocated memory.
59
 
        void get_receiver_fds (int *receive_fd_, int *waiting_pipe_fd_);
 
60
        void get_receiver_fds (fd_t *receive_fd_, fd_t *waiting_pipe_fd_);
60
61
 
61
62
        //   Get sender and receiver fds and store it to user allocated 
62
63
        //   memory. Receive fd is used to process NAKs from peers.
63
 
        void get_sender_fds (int *send_fd_, int *receive_fd_,
64
 
            int *rdata_notify_fd_, int *pending_notify_fd_);
 
64
        void get_sender_fds (fd_t *send_fd_, fd_t *receive_fd_,
 
65
            fd_t *rdata_notify_fd_, fd_t *pending_notify_fd_);
65
66
 
66
67
        //  Send data as one APDU, transmit window owned memory.
67
68
        size_t send (unsigned char *data_, size_t data_len_);