summaryrefslogtreecommitdiff
path: root/src/command.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-28 16:51:46 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-28 16:51:46 +0200
commitcb09c6951e2c4405318b422a1f9213af3e4b6b8a (patch)
treefb5d4dfd6a71745e885b2501f19cfbbb38c6f441 /src/command.hpp
parent2dd501651592baa7f9e49f52e1321ae2b9b4e126 (diff)
pipe deallocation added
Diffstat (limited to 'src/command.hpp')
-rw-r--r--src/command.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/command.hpp b/src/command.hpp
index d3bad79..d16d4fa 100644
--- a/src/command.hpp
+++ b/src/command.hpp
@@ -40,6 +40,8 @@ namespace zmq
attach,
bind,
revive,
+ pipe_term,
+ pipe_term_ack,
term_req,
term,
term_ack
@@ -78,6 +80,15 @@ namespace zmq
struct {
} revive;
+ // Sent by pipe reader to pipe writer to ask it to terminate
+ // its end of the pipe.
+ struct {
+ } pipe_term;
+
+ // Pipe writer acknowledges pipe_term command.
+ struct {
+ } pipe_term_ack;
+
// Sent by I/O object ot the socket to request the shutdown of
// the I/O object.
struct {