aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-09-06 12:01:26 -0700
committerGarrett D'Amore <garrett@damore.org>2021-09-06 12:01:26 -0700
commit468714a51bbc9fc6acf03479b8825ad25a2ffeb0 (patch)
tree4a6c7b186b29b6ec1c576530e3b6854d58c305c2 /src/core/pipe.h
parentd137bf383892c53265593d9a5ac17e64444091c9 (diff)
downloadnng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.tar.gz
nng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.tar.bz2
nng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.zip
SP initialization cannot fail.
Diffstat (limited to 'src/core/pipe.h')
-rw-r--r--src/core/pipe.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h
index fe908936..065b3dcf 100644
--- a/src/core/pipe.h
+++ b/src/core/pipe.h
@@ -1,5 +1,5 @@
//
-// Copyright 2019 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -12,14 +12,14 @@
#define CORE_PIPE_H
// NB: This structure is supplied here for use by the CORE. Use of this
-// OUSIDE of the core is STRICTLY VERBOTEN. NO DIRECT ACCESS BY PROTOCOLS OR
+// OUTSIDE of the core is STRICTLY VERBOTEN. NO DIRECT ACCESS BY PROTOCOLS OR
// TRANSPORTS.
#include "core/defs.h"
#include "core/thread.h"
#include "sp/transport.h"
-extern int nni_pipe_sys_init(void);
+extern void nni_pipe_sys_init(void);
extern void nni_pipe_sys_fini(void);
// AIO
@@ -34,7 +34,6 @@ extern uint32_t nni_pipe_id(nni_pipe *);
// actual pipe will be reaped asynchronously.
extern void nni_pipe_close(nni_pipe *);
-extern uint16_t nni_pipe_proto(nni_pipe *);
extern uint16_t nni_pipe_peer(nni_pipe *);
// nni_pipe_getopt looks up the option. The last argument is the type,