From eb0f8a028cf7ddb1b708ee97e6a9c777b45d4d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 18 Jan 2015 04:07:05 +0100 Subject: 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. --- plugins/ssh.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/ssh.c') diff --git a/plugins/ssh.c b/plugins/ssh.c index 8a1cc3a..68f8d52 100644 --- a/plugins/ssh.c +++ b/plugins/ssh.c @@ -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; -- cgit v1.2.3