aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/posix_impl.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-04 16:15:02 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-04 16:15:02 -0700
commit16a43040ef29f77375d226f669770e64a42d278c (patch)
tree1fd80d0d761fbdf812c257817a3b23ae1dc6519c /src/platform/posix/posix_impl.h
parent58c5fbb731f50a952864bc500a8efd3b7077ee65 (diff)
downloadnng-16a43040ef29f77375d226f669770e64a42d278c.tar.gz
nng-16a43040ef29f77375d226f669770e64a42d278c.tar.bz2
nng-16a43040ef29f77375d226f669770e64a42d278c.zip
Separate out poller/pollq from basic socket operations.
Diffstat (limited to 'src/platform/posix/posix_impl.h')
-rw-r--r--src/platform/posix/posix_impl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/platform/posix/posix_impl.h b/src/platform/posix/posix_impl.h
index 83b4914e..3a2e29e1 100644
--- a/src/platform/posix/posix_impl.h
+++ b/src/platform/posix/posix_impl.h
@@ -26,6 +26,8 @@
#define PLATFORM_POSIX_RANDOM
#define PLATFORM_POSIX_SOCKET
#define PLATFORM_POSIX_THREAD
+#define PLATFORM_POSIX_PIPEDESC
+#define PLATFORM_POSIX_EPDESC
#include "platform/posix/posix_config.h"
#endif
@@ -65,7 +67,7 @@ struct nni_plat_cv {
#endif
-extern int nni_posix_pipedesc_sysinit(void);
-extern void nni_posix_pipedesc_sysfini(void);
+extern int nni_posix_pollq_sysinit(void);
+extern void nni_posix_pollq_sysfini(void);
#endif // PLATFORM_POSIX_IMPL_H