mirror of
https://github.com/wg/wrk
synced 2026-05-20 12:39:50 +08:00
call optional done() script function
This commit is contained in:
+9
-2
@@ -5,11 +5,18 @@
|
||||
#include <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
#include "stats.h"
|
||||
|
||||
lua_State *script_create(char *, char *, int, char *);
|
||||
lua_State *script_create(char *, char *, char *, char *);
|
||||
void script_headers(lua_State *, char **);
|
||||
void script_init(lua_State *, char *);
|
||||
|
||||
void script_init(lua_State *, char *, int, char **);
|
||||
void script_done(lua_State *, stats *, stats *);
|
||||
void script_request(lua_State *, char **, size_t *);
|
||||
|
||||
bool script_is_static(lua_State *);
|
||||
bool script_has_done(lua_State *L);
|
||||
void script_summary(lua_State *, uint64_t, uint64_t, uint64_t);
|
||||
void script_errors(lua_State *, errors *);
|
||||
|
||||
#endif /* SCRIPT_H */
|
||||
|
||||
Reference in New Issue
Block a user