diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-03 11:30:13 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-03 11:30:13 +0200 |
commit | cc3755a16f00026af882ed14d122cc8aa6d50e82 (patch) | |
tree | 33a2197bab1bd6068dbfcc446fe70aaa07808fa9 /src/sub.cpp | |
parent | 183b6887644ac05c951a3f9143248ed86e91052f (diff) |
renamed from zs to zmq
Diffstat (limited to 'src/sub.cpp')
-rw-r--r-- | src/sub.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sub.cpp b/src/sub.cpp index 59e838a..3d1d578 100644 --- a/src/sub.cpp +++ b/src/sub.cpp @@ -17,27 +17,27 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "../include/zs.h" +#include "../include/zmq.h" #include "sub.hpp" #include "app_thread.hpp" #include "session.hpp" #include "err.hpp" -zs::sub_t::sub_t (app_thread_t *thread_, session_t *session_) : +zmq::sub_t::sub_t (app_thread_t *thread_, session_t *session_) : socket_base_t (thread_, session_) { disable_out (); } -int zs::sub_t::send (struct zs_msg *msg_, int flags_) +int zmq::sub_t::send (struct zmq_msg *msg_, int flags_) { // Subscriber socket has no send function. errno = ENOTSUP; return -1; } -int zs::sub_t::flush () +int zmq::sub_t::flush () { // Subscriber socket has no flush function. errno = ENOTSUP; |