Index: trunk/php/luasandbox/timer.c |
— | — | @@ -15,12 +15,13 @@ |
16 | 16 | |
17 | 17 | void luasandbox_timer_install_handler(struct sigaction * oldact) {} |
18 | 18 | void luasandbox_timer_remove_handler(struct sigaction * oldact) {} |
19 | | -void luasandbox_timer_start(luasandbox_timer_set * lts, |
| 19 | +void luasandbox_timer_start(luasandbox_timer_set * lts, |
20 | 20 | php_luasandbox_obj * sandbox, |
21 | 21 | struct timespec * normal_timeout, |
22 | 22 | struct timespec * emergency_timeout) {} |
23 | 23 | void luasandbox_timer_stop(luasandbox_timer_set * lts) {} |
24 | 24 | void luasandbox_timer_timeout_error(lua_State *L) {} |
| 25 | +char luasandbox_timeout_message[]; |
25 | 26 | |
26 | 27 | #else |
27 | 28 | |
Index: trunk/php/luasandbox/luasandbox_timer.h |
— | — | @@ -38,6 +38,10 @@ |
39 | 39 | #define LUASANDBOX_NO_CLOCK |
40 | 40 | |
41 | 41 | typedef struct {} luasandbox_timer; |
| 42 | +typedef struct {} luasandbox_timer_set; |
| 43 | +void timer_settime(); |
| 44 | +void timer_delete(); |
| 45 | +void timer_create(); |
42 | 46 | |
43 | 47 | #endif |
44 | 48 | |