Implement a Lua 5.3 plugin loader plugin
Also implemented SOCKS detection in said language. There are probably going to be some bugs. The program is no longer Valgrind-clean, as that would require plugin deinitialization, in which there is very little point.
This commit is contained in:
@@ -37,8 +37,10 @@ struct scan_data
|
||||
};
|
||||
|
||||
static void *
|
||||
scan_init (struct unit *u)
|
||||
scan_init (struct service *service, struct unit *u)
|
||||
{
|
||||
(void) service;
|
||||
|
||||
struct scan_data *scan = xcalloc (1, sizeof *scan);
|
||||
str_init (&scan->input);
|
||||
scan->u = u;
|
||||
|
||||
Reference in New Issue
Block a user