From 4707cfd45be0d807081c53d9a16cc05e1d0cf4bc Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 17 Jan 2017 20:15:23 -0800 Subject: Public pipe and endpoint APIs use IDs instead of pointers. --- src/core/defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/defs.h') diff --git a/src/core/defs.h b/src/core/defs.h index 50540102..eb1a6475 100644 --- a/src/core/defs.h +++ b/src/core/defs.h @@ -23,14 +23,14 @@ // These types are common but have names shared with user space. typedef struct nng_socket nni_sock; -typedef struct nng_endpoint nni_ep; -typedef struct nng_pipe nni_pipe; typedef struct nng_msg nni_msg; typedef struct nng_sockaddr nni_sockaddr; typedef struct nng_event nni_event; typedef struct nng_notify nni_notify; // These are our own names. +typedef struct nni_ep nni_ep; +typedef struct nni_pipe nni_pipe; typedef struct nni_tran nni_tran; typedef struct nni_tran_ep nni_tran_ep; typedef struct nni_tran_pipe nni_tran_pipe; -- cgit v1.2.3-70-g09d2