aboutsummaryrefslogtreecommitdiff
path: root/src/lua-nng-aio.h
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2020-07-29 12:18:10 -0400
committerAlexander Pickering <alex@cogarr.net>2020-07-29 12:18:10 -0400
commit27ece5603fc0cde89183ceb61f915fa64fef1061 (patch)
treed7d3407b21bb6a13bf81f57f71ddf91176760077 /src/lua-nng-aio.h
parenta7ff1b815987b0c1b3ded5701845e0eb52f0592c (diff)
downloadlua-nng-27ece5603fc0cde89183ceb61f915fa64fef1061.tar.gz
lua-nng-27ece5603fc0cde89183ceb61f915fa64fef1061.tar.bz2
lua-nng-27ece5603fc0cde89183ceb61f915fa64fef1061.zip
Added recv_any()
recv_any() is a function that takes multiple sockets and waits for one or more of them to receive. See the unit test for examples.
Diffstat (limited to 'src/lua-nng-aio.h')
-rw-r--r--src/lua-nng-aio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua-nng-aio.h b/src/lua-nng-aio.h
new file mode 100644
index 0000000..da5e367
--- /dev/null
+++ b/src/lua-nng-aio.h
@@ -0,0 +1 @@
+int luaopen_nng_aio(lua_State *L);