aboutsummaryrefslogtreecommitdiff
path: root/src/core/protocol.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-08 01:13:10 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-08 01:13:10 -0800
commit360d19001b90d92ac2f232efb67e356979b0bc4b (patch)
treef3ee0bc27703ec2a99a901698dcad371cc825310 /src/core/protocol.c
parentf77debdd2bf8a6e478004f0f5ddd715b0845399c (diff)
downloadnng-360d19001b90d92ac2f232efb67e356979b0bc4b.tar.gz
nng-360d19001b90d92ac2f232efb67e356979b0bc4b.tar.bz2
nng-360d19001b90d92ac2f232efb67e356979b0bc4b.zip
Add respondent protocol. (Half of survey pattern.)
Diffstat (limited to 'src/core/protocol.c')
-rw-r--r--src/core/protocol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/protocol.c b/src/core/protocol.c
index 8cd1048f..0faebe95 100644
--- a/src/core/protocol.c
+++ b/src/core/protocol.c
@@ -23,6 +23,7 @@ extern nni_proto nni_pub_proto;
extern nni_proto nni_sub_proto;
extern nni_proto nni_push_proto;
extern nni_proto nni_pull_proto;
+extern nni_proto nni_respondent_proto;
static nni_proto *protocols[] = {
&nni_pair_proto,
@@ -32,6 +33,7 @@ static nni_proto *protocols[] = {
&nni_sub_proto,
&nni_push_proto,
&nni_pull_proto,
+ &nni_respondent_proto,
NULL
};