From ba34c3a22a9244f5b2afca3c7ca766503ed63f16 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 10 Jul 2021 17:01:58 -0700 Subject: More work on moving SP stuff out of common. Remove unused defs. --- src/core/defs.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/core/defs.h') 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. +// Copyright 2021 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // 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). -- cgit v1.2.3-70-g09d2