19 #ifndef __LIB_NASL_H__
20 #define __LIB_NASL_H__
34 #include "../misc/arglists.h"
57 #define NASL_EXEC_DESCR (1 << 0)
58 #define NASL_EXEC_PARSE_ONLY (1 << 1)
59 #define NASL_ALWAYS_SIGNED (1 << 2)
60 #define NASL_COMMAND_LINE (1 << 3)
61 #define NASL_LINT (1 << 4)
64 #define NASL_ERR_NOERR 0
65 #define NASL_ERR_ETIMEDOUT 1
66 #define NASL_ERR_ECONNRESET 2
67 #define NASL_ERR_EUNREACH 3
68 #define NASL_ERR_EUNKNOWN 99
int execute_preparsed_nasl_script(struct arglist *, char *, char *, int, int)
pid_t nasl_server_start(char *, char *)
GSList * nasl_get_all_certificates(void)
void nasl_server_recompile(char *, char *)
char * nasl_extract_signature_fprs(const char *filename)
int exec_nasl_script(struct arglist *, const char *, const char *, int)
Execute a NASL script.
Definition: exec.c:1677
Definition: arglists.h:29
int nasl_verify_signature(const char *filename)
Definition: nasl_signature.c:126
char * nasl_version(void)
Definition: nasl_init.c:711
int add_nasl_inc_dir(const char *)
Adds the given string as directory for searching for includes.
Definition: nasl_grammar.tab.c:2577