aboutsummaryrefslogtreecommitdiff
path: root/src/core/platform.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-04-27 22:02:04 -0700
committerGarrett D'Amore <garrett@damore.org>2025-04-27 22:02:04 -0700
commit03f812ccb2876aacd10e589f996b5ec9e0133d5b (patch)
tree8393333b23528c3641a39ed81e44188ddfbe507a /src/core/platform.h
parentc5b07415cc3a6a7960cb3ca2a2aaf70b1cbe3469 (diff)
downloadnng-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.h4
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