summaryrefslogtreecommitdiff
path: root/src/object.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-01-10 13:53:30 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-01-10 13:53:30 +0100
commitbd0ba6e89a709cc8afbd5a7c3c4f9f533c428249 (patch)
tree4b63b8e4f9d222dfcdc66cf0e20859fa17826610 /src/object.hpp
parentbabdf48aacc585d57457da8dec1fb6ce262bf719 (diff)
Size of inproc hwm and swap is sum of peers' hwms and swaps
The meat of the patch was contributed by Douglas Creager. Martin Sustrik implemented storing peer options in inproc endpoint repository. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.hpp b/src/object.hpp
index f8cfdda..c81656e 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -46,9 +46,9 @@ namespace zmq
// Using following function, socket is able to access global
// repository of inproc endpoints.
- int register_endpoint (const char *addr_, class socket_base_t *socket_);
+ int register_endpoint (const char *addr_, struct endpoint_t &endpoint_);
void unregister_endpoints (class socket_base_t *socket_);
- class socket_base_t *find_endpoint (const char *addr_);
+ struct endpoint_t find_endpoint (const char *addr_);
// Logs an message.
void log (zmq_msg_t *msg_);