summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-07-27 22:03:45 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-07-27 22:03:45 (GMT)
commitca5c7b0a957e651b12083a43e700a19d54fd1016 (patch)
treec781f240380368950df5335aab32978cd7121b0e /3rdParty/Lua/luasocket/src/select.h
parent6f26d9aa86f0909af13b23b1a925b8d492e74154 (diff)
downloadswift-contrib-ca5c7b0a957e651b12083a43e700a19d54fd1016.zip
swift-contrib-ca5c7b0a957e651b12083a43e700a19d54fd1016.tar.bz2
First bash at integrating luasocket into Sluift
Diffstat (limited to '3rdParty/Lua/luasocket/src/select.h')
-rw-r--r--3rdParty/Lua/luasocket/src/select.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/3rdParty/Lua/luasocket/src/select.h b/3rdParty/Lua/luasocket/src/select.h
new file mode 100644
index 0000000..aa3db4a
--- /dev/null
+++ b/3rdParty/Lua/luasocket/src/select.h
@@ -0,0 +1,17 @@
+#ifndef SELECT_H
+#define SELECT_H
+/*=========================================================================*\
+* Select implementation
+* LuaSocket toolkit
+*
+* Each object that can be passed to the select function has to export
+* method getfd() which returns the descriptor to be passed to the
+* underlying select function. Another method, dirty(), should return
+* true if there is data ready for reading (required for buffered input).
+*
+* RCS ID: $Id: select.h,v 1.7 2004/06/16 01:02:07 diego Exp $
+\*=========================================================================*/
+
+int select_open(lua_State *L);
+
+#endif /* SELECT_H */