diff options
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 | ||