diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-11-27 00:30:54 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-11-27 00:30:54 +0000 |
commit | 3febb302ad28fd25de51cbc686739469b92d8921 (patch) | |
tree | 0a8d9a1070a7c1f2566c22562693fb27963037d9 /src/timeout.h | |
parent | 9bc4e0648ab4a177293a94425594bdc54c9a84fa (diff) | |
download | luasocket-3febb302ad28fd25de51cbc686739469b92d8921.tar.gz luasocket-3febb302ad28fd25de51cbc686739469b92d8921.tar.bz2 luasocket-3febb302ad28fd25de51cbc686739469b92d8921.zip |
Killed a few bugs found by Tomas.
Diffstat (limited to 'src/timeout.h')
-rw-r--r-- | src/timeout.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/timeout.h b/src/timeout.h index ef2f533..17f44ea 100644 --- a/src/timeout.h +++ b/src/timeout.h | |||
@@ -18,13 +18,10 @@ typedef t_tm *p_tm; | |||
18 | 18 | ||
19 | void tm_open(lua_State *L); | 19 | void tm_open(lua_State *L); |
20 | void tm_init(p_tm tm, int block, int total); | 20 | void tm_init(p_tm tm, int block, int total); |
21 | void tm_setblock(p_tm tm, int block); | 21 | int tm_getsuccess(p_tm tm); |
22 | void tm_settotal(p_tm tm, int total); | 22 | int tm_getfailure(p_tm tm); |
23 | int tm_getblock(p_tm tm); | ||
24 | int tm_gettotal(p_tm tm); | ||
25 | void tm_markstart(p_tm tm); | 23 | void tm_markstart(p_tm tm); |
26 | int tm_getstart(p_tm tm); | 24 | int tm_getstart(p_tm tm); |
27 | int tm_get(p_tm tm); | ||
28 | int tm_gettime(void); | 25 | int tm_gettime(void); |
29 | int tm_meth_settimeout(lua_State *L, p_tm tm); | 26 | int tm_meth_settimeout(lua_State *L, p_tm tm); |
30 | 27 | ||