1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
X-Git-Url: http://git.fedorahosted.org/git/?p=openscap.git;a=blobdiff_plain;f=src%2FOVAL%2Fprobes%2Findependent%2Fsql.c;h=ad7988c60ec344fa721e28b8aca59b9690cabbac;hp=0eb18a9a7cd0c03d3923c2b724eea23791e4ff25;hb=9eeceaecde0718cf28ffc8a672923f4f16b63c6a;hpb=dfad8e4db009182a3a2c3c2ba79563feefb09ada
diff --git a/src/OVAL/probes/independent/sql.c b/src/OVAL/probes/independent/sql.c
index 0eb18a9..ad7988c 100644
--- a/src/OVAL/probes/independent/sql.c
+++ b/src/OVAL/probes/independent/sql.c
@@ -242,8 +242,8 @@ __fail:
return (-1);
}
-static SEXP_t *dbSQL_eval(const char *engine, const char *version,
- const char *conn, const char *sql, SEXP_t *probe_out)
+static int dbSQL_eval(const char *engine, const char *version,
+ const char *conn, const char *sql, SEXP_t *probe_out)
{
int err = -1;
dbURIInfo_t uriInfo = { .host = NULL,
@@ -350,7 +350,7 @@ __exit:
return (err);
}
-int probe_main(SEXP_t *probe_in, SEXP_t *probe_out, void *arg)
+int probe_main(SEXP_t *probe_in, SEXP_t *probe_out, void *arg, SEXP_t *filters)
{
char *engine, *version, *conn, *sqlexp;
int err;
|