aboutsummaryrefslogtreecommitdiff
path: root/src/core/tcp.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/tcp.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/tcp.h')
-rw-r--r--src/core/tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/tcp.h b/src/core/tcp.h
index 6e1829dc..cc41dfac 100644
--- a/src/core/tcp.h
+++ b/src/core/tcp.h
@@ -1,5 +1,5 @@
//
-// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -15,7 +15,7 @@
// These are interfaces we use for TCP internally. These are not exposed
// to the public API.
-extern int nni_tcp_dialer_alloc(nng_stream_dialer **, const nng_url *);
-extern int nni_tcp_listener_alloc(nng_stream_listener **, const nng_url *);
+extern nng_err nni_tcp_dialer_alloc(nng_stream_dialer **, const nng_url *);
+extern nng_err nni_tcp_listener_alloc(nng_stream_listener **, const nng_url *);
#endif // CORE_TCP_H