aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-10 23:38:02 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-10 23:38:02 -0800
commitd6bd9375c828cb67518341122208f86ee37940a2 (patch)
treec1582cfbe11514b73239bcfa3873379907944bdd /src/core
parent93350074a7fd5b37254ee496b650886fc92b195e (diff)
downloadnng-d6bd9375c828cb67518341122208f86ee37940a2.tar.gz
nng-d6bd9375c828cb67518341122208f86ee37940a2.tar.bz2
nng-d6bd9375c828cb67518341122208f86ee37940a2.zip
Initial (untested) bus implementation.
Diffstat (limited to 'src/core')
-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 667a6f91..6aa59e84 100644
--- a/src/core/protocol.c
+++ b/src/core/protocol.c
@@ -16,6 +16,7 @@
// The list of protocols is hardwired. This is reasonably unlikely to
// change, as adding new protocols is not something intended to be done
// outside of the core.
+extern nni_proto nni_bus_proto;
extern nni_proto nni_pair_proto;
extern nni_proto nni_rep_proto;
extern nni_proto nni_req_proto;
@@ -27,6 +28,7 @@ extern nni_proto nni_surveyor_proto;
extern nni_proto nni_respondent_proto;
static nni_proto *protocols[] = {
+ &nni_bus_proto,
&nni_pair_proto,
&nni_rep_proto,
&nni_req_proto,