aboutsummaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-09-29 06:11:42 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-09-29 06:11:42 +0000
commita32c6d91402329adb769c4fe8bbb24f0d4e99051 (patch)
tree8b3f574b479e84bd9fe086db49cbab551eac75c8 /src/io.h
parent773e35ced30fa2c03ddb2a332bf8a9aebb56aa44 (diff)
downloadluasocket-a32c6d91402329adb769c4fe8bbb24f0d4e99051.tar.gz
luasocket-a32c6d91402329adb769c4fe8bbb24f0d4e99051.tar.bz2
luasocket-a32c6d91402329adb769c4fe8bbb24f0d4e99051.zip
Almost ready to release.
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/io.h b/src/io.h
index 4f9de57..bcaf416 100644
--- a/src/io.h
+++ b/src/io.h
@@ -15,7 +15,7 @@
15* RCS ID: $Id$ 15* RCS ID: $Id$
16\*=========================================================================*/ 16\*=========================================================================*/
17#include <stdio.h> 17#include <stdio.h>
18#include <lua.h> 18#include "lua.h"
19 19
20#include "timeout.h" 20#include "timeout.h"
21 21
@@ -24,8 +24,7 @@ enum {
24 IO_DONE = 0, /* operation completed successfully */ 24 IO_DONE = 0, /* operation completed successfully */
25 IO_TIMEOUT = -1, /* operation timed out */ 25 IO_TIMEOUT = -1, /* operation timed out */
26 IO_CLOSED = -2, /* the connection has been closed */ 26 IO_CLOSED = -2, /* the connection has been closed */
27 IO_CLIPPED = -3, /* maxium bytes count reached */ 27 IO_UNKNOWN = -3
28 IO_UNKNOWN = -4
29}; 28};
30 29
31/* interface to error message function */ 30/* interface to error message function */