diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-09-29 06:11:42 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-09-29 06:11:42 +0000 |
commit | a32c6d91402329adb769c4fe8bbb24f0d4e99051 (patch) | |
tree | 8b3f574b479e84bd9fe086db49cbab551eac75c8 /src/io.h | |
parent | 773e35ced30fa2c03ddb2a332bf8a9aebb56aa44 (diff) | |
download | luasocket-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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 */ |