1
0
mirror of https://github.com/wg/wrk synced 2026-05-18 11:39:50 +08:00

generate requests with lua script

This commit is contained in:
Will
2013-08-18 13:38:06 +09:00
Unverified
parent c6679dc58a
commit e24ed26a43
10 changed files with 252 additions and 70 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef SCRIPT_H
#define SCRIPT_H
#include <stdbool.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
lua_State *script_create(char *, char *, int, char *);
void script_headers(lua_State *, char **);
void script_init(lua_State *, char *);
void script_request(lua_State *, char **, size_t *);
bool script_is_static(lua_State *);
#endif /* SCRIPT_H */