diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-04-27 22:02:04 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-04-27 22:02:04 -0700 |
| commit | 03f812ccb2876aacd10e589f996b5ec9e0133d5b (patch) | |
| tree | 8393333b23528c3641a39ed81e44188ddfbe507a /src/core/platform.h | |
| parent | c5b07415cc3a6a7960cb3ca2a2aaf70b1cbe3469 (diff) | |
| download | nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.tar.gz nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.tar.bz2 nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.zip | |
More nng_err -- this time for dialer and listener allocations.
Diffstat (limited to 'src/core/platform.h')
| -rw-r--r-- | src/core/platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/platform.h b/src/core/platform.h index 3b6f4db5..a13ae9f2 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -340,8 +340,8 @@ typedef struct nni_ipc_listener nni_ipc_listener; // IPC is so different from platform to platform. The following should // be implemented. If IPC isn't supported, all of these functions should // be stubs that just return NNG_ENOTSUP. -extern int nni_ipc_dialer_alloc(nng_stream_dialer **, const nng_url *); -extern int nni_ipc_listener_alloc(nng_stream_listener **, const nng_url *); +extern nng_err nni_ipc_dialer_alloc(nng_stream_dialer **, const nng_url *); +extern nng_err nni_ipc_listener_alloc(nng_stream_listener **, const nng_url *); // // UDP support. UDP is not connection oriented, and only has the notion |
