aboutsummaryrefslogtreecommitdiff
path: root/src/core/endpt.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-19 21:41:26 -0700
committerGarrett D'Amore <garrett@damore.org>2017-03-19 21:41:26 -0700
commit9fe905a8040a7e089233125a003ef8911d98ddbd (patch)
tree8c2fc5ddb4c7a6fc579af5864be700293a1dccd3 /src/core/endpt.h
parentb259ae8cbfc458d22cad351fa672ab2feb66b275 (diff)
downloadnng-9fe905a8040a7e089233125a003ef8911d98ddbd.tar.gz
nng-9fe905a8040a7e089233125a003ef8911d98ddbd.tar.bz2
nng-9fe905a8040a7e089233125a003ef8911d98ddbd.zip
Holds instead of references (holds from nng user land).
Diffstat (limited to 'src/core/endpt.h')
-rw-r--r--src/core/endpt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/endpt.h b/src/core/endpt.h
index 2b685590..6230ca9f 100644
--- a/src/core/endpt.h
+++ b/src/core/endpt.h
@@ -30,9 +30,9 @@ struct nni_ep {
int ep_mode;
int ep_close; // full shutdown
int ep_bound; // true if we bound locally
- int ep_refcnt;
nni_cv ep_cv;
- nni_cv ep_refcv;
+ int ep_holds; // user references (by id)
+ nni_cv ep_holdcv;
nni_pipe * ep_pipe; // Connected pipe (dialers only)
};