1
0
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:
Will
2013-08-18 20:37:21 +09:00
Unverified
parent e24ed26a43
commit 1e7411aebd
9 changed files with 237 additions and 42 deletions
+9 -2
View File
@@ -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 */