Author: bh
Date: 2007-10-08 18:49:56 +0200 (Mon, 08 Oct 2007)
New Revision: 419
Modified:
trunk/openvas-libnasl/ChangeLog
trunk/openvas-libnasl/nasl/nasl.c
Log:
* nasl/nasl.c: #include "hosts_gatherer.h" and remove the
declarations of hosts_gatherer.h functions that had been copied
here.
(main): Use the correct typ for hg_globals instead of void *
Modified: trunk/openvas-libnasl/ChangeLog
===================================================================
--- trunk/openvas-libnasl/ChangeLog 2007-10-08 16:48:33 UTC (rev 418)
+++ trunk/openvas-libnasl/ChangeLog 2007-10-08 16:49:56 UTC (rev 419)
@@ -1,5 +1,12 @@
2007-10-08 Bernhard Herzog <[EMAIL PROTECTED]>
+ * nasl/nasl.c: #include "hosts_gatherer.h" and remove the
+ declarations of hosts_gatherer.h functions that had been copied
+ here.
+ (main): Use the correct typ for hg_globals instead of void *
+
+2007-10-08 Bernhard Herzog <[EMAIL PROTECTED]>
+
* nasl/strutils.c: #include "strutils.h"
2007-10-08 Bernhard Herzog <[EMAIL PROTECTED]>
Modified: trunk/openvas-libnasl/nasl/nasl.c
===================================================================
--- trunk/openvas-libnasl/nasl/nasl.c 2007-10-08 16:48:33 UTC (rev 418)
+++ trunk/openvas-libnasl/nasl/nasl.c 2007-10-08 16:49:56 UTC (rev 419)
@@ -18,6 +18,7 @@
*
*/
#include <includes.h>
+#include <hosts_gatherer.h>
#include "nasl.h"
#include "nasl_tree.h"
@@ -38,8 +39,6 @@
extern char * nasl_version();
-extern void * hg_init(char *, int);
-extern int hg_next_host(void*, struct in_addr*, char *, int);
harglst * Globals;
extern int execute_instruction(struct arglist *, char *);
void exit_nasl(struct arglist *, int);
@@ -120,7 +119,7 @@
char * target = NULL;
char * default_target = "127.0.0.1";
char * kb_fname;
- void * hg_globals;
+ struct hg_globals * hg_globals;
struct in_addr ip;
int start, n;
char hostname[1024];
_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits