diff options
Diffstat (limited to 'src/core/endpt.h')
| -rw-r--r-- | src/core/endpt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/endpt.h b/src/core/endpt.h index 6ad2172b..65eb5d57 100644 --- a/src/core/endpt.h +++ b/src/core/endpt.h @@ -37,8 +37,10 @@ struct nni_ep { nni_list ep_pipes; }; -#define NNI_EP_MODE_DIAL 1 -#define NNI_EP_MODE_LISTEN 2 +enum nni_ep_mode { + NNI_EP_MODE_DIAL = 1, + NNI_EP_MODE_LISTEN = 2, +}; extern int nni_ep_sys_init(void); extern void nni_ep_sys_fini(void); |
