diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-14 08:29:37 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-14 21:11:12 -0800 |
| commit | 575148ac9a274d61e45220fda7d8de6a420f4fe4 (patch) | |
| tree | 60e6b255d2aa5fe5a29889c436aba2edb2908bd5 /src/core/pipe.h | |
| parent | 6dc757342f5f9dedf38de356ae1802546f976bcc (diff) | |
| download | nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.gz nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.bz2 nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.zip | |
api: pipes should use nng_err
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 *); |
