summaryrefslogtreecommitdiff
path: root/src/compat/nanomsg/nn.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-21 13:27:06 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-21 13:28:56 -0700
commit6abb328523509d35663f54ee0012254232df4a0a (patch)
treec3a83caeadf0e716bea7debb7d5539e4a7c29263 /src/compat/nanomsg/nn.c
parent0671f3d49ef001c70d47d7398e47a23dbc3dd556 (diff)
downloadnng-6abb328523509d35663f54ee0012254232df4a0a.tar.gz
nng-6abb328523509d35663f54ee0012254232df4a0a.tar.bz2
nng-6abb328523509d35663f54ee0012254232df4a0a.zip
fixes #457 Create stub headers for compatibility
I actually made these real headers, not stubs While here I made some improvements to the nng_compat man page, to improve the language and also the presentation on some devices. (We were going nuts with the icons, instead, I've made a single new section, called Caveats, that lists a bunch of them.) This should not have any impact on binary compatibility.
Diffstat (limited to 'src/compat/nanomsg/nn.c')
-rw-r--r--src/compat/nanomsg/nn.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/compat/nanomsg/nn.c b/src/compat/nanomsg/nn.c
index 6d23106c..6755a8ea 100644
--- a/src/compat/nanomsg/nn.c
+++ b/src/compat/nanomsg/nn.c
@@ -9,6 +9,22 @@
//
#include "nn.h"
+
+// transports
+#include "inproc.h"
+#include "ipc.h"
+#include "tcp.h"
+#include "ws.h"
+
+// protocols
+#include "bus.h"
+#include "pair.h"
+#include "pipeline.h"
+#include "pubsub.h"
+#include "reqrep.h"
+#include "survey.h"
+
+// underlying NNG headers
#include "nng.h"
#include "protocol/bus0/bus.h"
#include "protocol/pair0/pair.h"