2003-06-26 11:47:49 -07:00
|
|
|
#ifndef SELECT_H
|
|
|
|
#define SELECT_H
|
2003-03-28 13:08:50 -08:00
|
|
|
/*=========================================================================*\
|
|
|
|
* Select implementation
|
2003-06-26 11:47:49 -07:00
|
|
|
* LuaSocket toolkit
|
|
|
|
*
|
2004-06-15 18:02:07 -07:00
|
|
|
* 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).
|
2003-03-28 13:08:50 -08:00
|
|
|
\*=========================================================================*/
|
2002-07-03 12:06:54 -07:00
|
|
|
|
2019-02-28 15:32:07 -08:00
|
|
|
#ifndef _WIN32
|
2019-02-27 19:59:01 -08:00
|
|
|
#pragma GCC visibility push(hidden)
|
2019-02-28 15:32:07 -08:00
|
|
|
#endif
|
2019-02-27 19:59:01 -08:00
|
|
|
|
2004-02-04 06:29:11 -08:00
|
|
|
int select_open(lua_State *L);
|
2002-07-03 12:06:54 -07:00
|
|
|
|
2019-02-28 15:32:07 -08:00
|
|
|
#ifndef _WIN32
|
2019-02-27 19:59:01 -08:00
|
|
|
#pragma GCC visibility pop
|
2019-02-28 15:32:07 -08:00
|
|
|
#endif
|
2019-02-27 19:59:01 -08:00
|
|
|
|
2003-06-09 11:23:40 -07:00
|
|
|
#endif /* SELECT_H */
|