summaryrefslogtreecommitdiff
path: root/src/i_api.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_api.hpp')
-rw-r--r--src/i_api.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i_api.hpp b/src/i_api.hpp
index 36afcea..e9bf1da 100644
--- a/src/i_api.hpp
+++ b/src/i_api.hpp
@@ -27,8 +27,10 @@ namespace zmq
{
virtual ~i_api () {}
- virtual int bind (const char *addr_, struct zmq_opts *opts_) = 0;
- virtual int connect (const char *addr_, struct zmq_opts *opts_) = 0;
+ virtual int setsockopt (int option_, void *optval_,
+ size_t optvallen_) = 0;
+ virtual int bind (const char *addr_) = 0;
+ virtual int connect (const char *addr_) = 0;
virtual int subscribe (const char *criteria_) = 0;
virtual int send (struct zmq_msg *msg_, int flags_) = 0;
virtual int flush () = 0;