diff options
| author | Garrett D'Amore <garrett@damore.org> | 2021-07-10 17:01:58 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2021-07-10 17:03:24 -0700 |
| commit | ba34c3a22a9244f5b2afca3c7ca766503ed63f16 (patch) | |
| tree | b45b70e760dd8bdf561213cfe9df5ee143f9b5ab /src/core/defs.h | |
| parent | 16597cc81cc9fbdfd15349be1b0bd57fb9392241 (diff) | |
| download | nng-ba34c3a22a9244f5b2afca3c7ca766503ed63f16.tar.gz nng-ba34c3a22a9244f5b2afca3c7ca766503ed63f16.tar.bz2 nng-ba34c3a22a9244f5b2afca3c7ca766503ed63f16.zip | |
More work on moving SP stuff out of common. Remove unused defs.
Diffstat (limited to 'src/core/defs.h')
| -rw-r--r-- | src/core/defs.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/core/defs.h b/src/core/defs.h index a313c248..f57db17a 100644 --- a/src/core/defs.h +++ b/src/core/defs.h @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitoar.com> // // This software is supplied under the terms of the MIT License, a @@ -36,8 +36,6 @@ typedef nng_sockaddr nni_sockaddr; typedef nng_url nni_url; typedef nng_iov nni_iov; typedef nng_aio nni_aio; -typedef struct nng_event nni_event; -typedef struct nng_notify nni_notify; // These are our own names. typedef struct nni_socket nni_sock; @@ -46,10 +44,10 @@ typedef struct nni_dialer nni_dialer; typedef struct nni_listener nni_listener; typedef struct nni_pipe nni_pipe; -typedef struct nni_tran nni_tran; -typedef struct nni_tran_dialer_ops nni_tran_dialer_ops; -typedef struct nni_tran_listener_ops nni_tran_listener_ops; -typedef struct nni_tran_pipe_ops nni_tran_pipe_ops; +typedef struct nni_sp_tran nni_sp_tran; +typedef struct nni_sp_dialer_ops nni_sp_dialer_ops; +typedef struct nni_sp_listener_ops nni_sp_listener_ops; +typedef struct nni_sp_pipe_ops nni_sp_pipe_ops; typedef struct nni_proto_ctx_ops nni_proto_ctx_ops; typedef struct nni_proto_sock_ops nni_proto_sock_ops; @@ -61,7 +59,6 @@ typedef struct nni_plat_cv nni_cv; typedef struct nni_thr nni_thr; typedef void (*nni_thr_func)(void *); -typedef int nni_signal; // Wakeup channel. typedef uint64_t nni_time; // Abs. time (ms). typedef int32_t nni_duration; // Rel. time (ms). |
