summaryrefslogtreecommitdiff
path: root/src/command.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-12 20:03:02 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-12 20:03:02 +0100
commitd8430f4b9a43bf8c99854298edc9f1bc35c0e8ec (patch)
tree4bf5d351b8dace3a4ecdb81ec50ed468dfa5d1d3 /src/command.hpp
parent313b5dfadd8753b341197cc109bce40e08856cf6 (diff)
Multi-hop REQ/REP, part IV., add command deallocation mechanism
Diffstat (limited to 'src/command.hpp')
-rw-r--r--src/command.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.hpp b/src/command.hpp
index 469d6ec..976285e 100644
--- a/src/command.hpp
+++ b/src/command.hpp
@@ -107,6 +107,9 @@ namespace zmq
} args;
};
+ // Function to deallocate dynamically allocated components of the command.
+ void deallocate_command (command_t *cmd_);
+
}
#endif