diff options
Diffstat (limited to 'src/core/pipe.h')
| -rw-r--r-- | src/core/pipe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h index dcdca418..aa7a0598 100644 --- a/src/core/pipe.h +++ b/src/core/pipe.h @@ -36,12 +36,12 @@ extern void nni_pipe_close(nni_pipe *); extern uint16_t nni_pipe_peer(nni_pipe *); // nni_pipe_getopt looks up the option. -extern int nni_pipe_getopt( +extern nng_err nni_pipe_getopt( nni_pipe *, const char *, void *, size_t *, nni_opt_type); // nni_pipe_find finds a pipe given its ID. It places a hold on the // pipe, which must be released by the caller when it is done. -extern int nni_pipe_find(nni_pipe **, uint32_t); +extern nng_err nni_pipe_find(nni_pipe **, uint32_t); // nni_pipe_sock_id returns the socket id for the pipe (used by public API). extern uint32_t nni_pipe_sock_id(nni_pipe *); |
