diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-15 21:23:26 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-15 21:23:26 -0800 |
| commit | ab460d51aee7cedd0a8d17553741b3a6dc836dc7 (patch) | |
| tree | f2214ae3ecbed6110293021620d4328235ef93ee /src/sp/transport.h | |
| parent | a43eb958e47f4c70725299845a3b7c69bbba9467 (diff) | |
| download | nng-ab460d51aee7cedd0a8d17553741b3a6dc836dc7.tar.gz nng-ab460d51aee7cedd0a8d17553741b3a6dc836dc7.tar.bz2 nng-ab460d51aee7cedd0a8d17553741b3a6dc836dc7.zip | |
transports: all transports use the new inline approach
We can retire the old approach that used separate allocations,
and all of the supporting code. This also gives us a more
natural signature for the end point initializations.
Diffstat (limited to 'src/sp/transport.h')
| -rw-r--r-- | src/sp/transport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/transport.h b/src/sp/transport.h index 6d1e0d4a..28f1535b 100644 --- a/src/sp/transport.h +++ b/src/sp/transport.h @@ -32,7 +32,7 @@ struct nni_sp_dialer_ops { // d_init creates a vanilla dialer. The value created is // used for the first argument for all other dialer functions. - int (*d_init)(void **, nng_url *, nni_dialer *); + int (*d_init)(void *, nng_url *, nni_dialer *); // d_fini frees the resources associated with the dialer. // The dialer will already have been closed. @@ -78,7 +78,7 @@ struct nni_sp_listener_ops { // l_init creates a vanilla listener. The value created is // used for the first argument for all other listener functions. - int (*l_init)(void **, nng_url *, nni_listener *); + int (*l_init)(void *, nng_url *, nni_listener *); // l_fini frees the resources associated with the listener. // The listener will already have been closed. |
