From 5eb72cbdea39728a67a09fdd6f6d1084dadced67 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 8 Jan 2017 12:22:42 -0800 Subject: Add surveyor protocol (no tests yet). This adds the surveyor protocol, and updates the respondent somewhat. I've switched to using generic names for per-pipe and per-socket protocol data. Hopefully this will make 'cut-n-paste' from other protocol implementations easier. --- src/core/protocol.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/protocol.c') diff --git a/src/core/protocol.c b/src/core/protocol.c index 0faebe95..667a6f91 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_surveyor_proto; extern nni_proto nni_respondent_proto; static nni_proto *protocols[] = { @@ -33,6 +34,7 @@ static nni_proto *protocols[] = { &nni_sub_proto, &nni_push_proto, &nni_pull_proto, + &nni_surveyor_proto, &nni_respondent_proto, NULL }; -- cgit v1.2.3-70-g09d2