diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-14 16:36:50 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-14 16:36:50 -0800 |
| commit | 6a5d5efd3ba1d74ad5f4f200418da0ba83ca9efa (patch) | |
| tree | b29e4ec0860efc9ccbff8f29440fb332c32747b5 /src/core/defs.h | |
| parent | ff791199733ee69ca41fd0e1e567cc07e4b2f07f (diff) | |
| download | nng-6a5d5efd3ba1d74ad5f4f200418da0ba83ca9efa.tar.gz nng-6a5d5efd3ba1d74ad5f4f200418da0ba83ca9efa.tar.bz2 nng-6a5d5efd3ba1d74ad5f4f200418da0ba83ca9efa.zip | |
Better separate public vs. private names.
Diffstat (limited to 'src/core/defs.h')
| -rw-r--r-- | src/core/defs.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/defs.h b/src/core/defs.h index f747f901..a1789a36 100644 --- a/src/core/defs.h +++ b/src/core/defs.h @@ -30,4 +30,12 @@ */ #define NNI_ARG_UNUSED(x) ((void)x); -#endif /* NNG_IMPL_H */ +/* + * These types are common but have names shared with user space. + */ +typedef struct nng_socket *nni_socket_t; +typedef struct nng_pipe *nni_pipe_t; +typedef struct nng_msg *nni_msg_t; +typedef struct nng_endpt *nni_endpt_t; + +#endif /* CORE_DEFS_H */ |
