summaryrefslogtreecommitdiff
path: root/tools/wrk/src/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/wrk/src/script.h')
-rw-r--r--tools/wrk/src/script.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/wrk/src/script.h b/tools/wrk/src/script.h
deleted file mode 100644
index 72a3c32eba..0000000000
--- a/tools/wrk/src/script.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef SCRIPT_H
-#define SCRIPT_H
-
-#include <stdbool.h>
-#include <lua.h>
-#include <lualib.h>
-#include <lauxlib.h>
-#include "stats.h"
-
-typedef struct {
- char *buffer;
- size_t length;
- char *cursor;
-} buffer;
-
-lua_State *script_create(char *, char *, char *, char *);
-void script_headers(lua_State *, char **);
-size_t script_verify_request(lua_State *L);
-
-void script_init(lua_State *, char *, int, char **);
-void script_done(lua_State *, stats *, stats *);
-void script_request(lua_State *, char **, size_t *);
-void script_response(lua_State *, int, buffer *, buffer *);
-
-bool script_is_static(lua_State *);
-bool script_want_response(lua_State *L);
-bool script_has_done(lua_State *L);
-void script_summary(lua_State *, uint64_t, uint64_t, uint64_t);
-void script_errors(lua_State *, errors *);
-
-void buffer_append(buffer *, const char *, size_t);
-void buffer_reset(buffer *);
-char *buffer_pushlstring(lua_State *, char *);
-
-#endif /* SCRIPT_H */