Author: bh
Date: 2007-07-25 12:38:48 +0200 (Wed, 25 Jul 2007)
New Revision: 316
Removed:
trunk/openvas-libraries/libopenvas/network.h
Modified:
trunk/openvas-libraries/ChangeLog
trunk/openvas-libraries/libopenvas/ids_send.c
trunk/openvas-libraries/libopenvas/network.c
trunk/openvas-libraries/libopenvas/pcap.c
Log:
* libopenvas/network.h: Removed. Everything declared in network.h
is also declared in libopenvas.h
* libopenvas/pcap.c, libopenvas/network.c, libopenvas/ids_send.c:
Remove includes of network.h
Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog 2007-07-24 23:16:04 UTC (rev 315)
+++ trunk/openvas-libraries/ChangeLog 2007-07-25 10:38:48 UTC (rev 316)
@@ -1,3 +1,11 @@
+2007-07-25 Bernhard Herzog <[EMAIL PROTECTED]>
+
+ * libopenvas/network.h: Removed. Everything declared in network.h
+ is also declared in libopenvas.h
+
+ * libopenvas/pcap.c, libopenvas/network.c, libopenvas/ids_send.c:
+ Remove includes of network.h
+
2007-07-24 Bernhard Herzog <[EMAIL PROTECTED]>
* libopenvas/network.c (ovas_server_context_attach)
Modified: trunk/openvas-libraries/libopenvas/ids_send.c
===================================================================
--- trunk/openvas-libraries/libopenvas/ids_send.c 2007-07-24 23:16:04 UTC
(rev 315)
+++ trunk/openvas-libraries/libopenvas/ids_send.c 2007-07-25 10:38:48 UTC
(rev 316)
@@ -33,7 +33,6 @@
#define EXPORTING
#include <includes.h>
#include <stdarg.h>
-#include "network.h"
#include "resolve.h"
#include "ids_send.h"
Modified: trunk/openvas-libraries/libopenvas/network.c
===================================================================
--- trunk/openvas-libraries/libopenvas/network.c 2007-07-24 23:16:04 UTC
(rev 315)
+++ trunk/openvas-libraries/libopenvas/network.c 2007-07-25 10:38:48 UTC
(rev 316)
@@ -31,7 +31,6 @@
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#include "libopenvas.h"
-#include "network.h"
#include "resolve.h"
#include "ids_send.h"
Deleted: trunk/openvas-libraries/libopenvas/network.h
===================================================================
--- trunk/openvas-libraries/libopenvas/network.h 2007-07-24 23:16:04 UTC
(rev 315)
+++ trunk/openvas-libraries/libopenvas/network.h 2007-07-25 10:38:48 UTC
(rev 316)
@@ -1,46 +0,0 @@
-/* Nessuslib -- the Nessus Library
- * Copyright (C) 1998 Renaud Deraison
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-
-#ifndef _NESSUSL_NETWORK_H
-#define _NESSUSL_NETWORK_H
-
-int recv_line(int, char *, size_t);
-int open_stream_connection(struct arglist *, unsigned int, int, int);
-int open_stream_connection_unknown_encaps(struct arglist *, unsigned int,
int, int *);
-int open_stream_connection_unknown_encaps5(struct arglist *, unsigned int,
int, int *, int*);
-int open_stream_auto_encaps(struct arglist *, unsigned int, int);
-int write_stream_connection (int, void * buf, int n);
-int read_stream_connection (int, void * buf, int);
-int read_stream_connection_min(int, void*, int, int);
-int close_stream_connection(int);
-int nsend(int, void*, int, int);
-const char* get_encaps_name(int);
-const char* get_encaps_through(int);
-
-int stream_set_timeout(int, int);
-int stream_set_options(int, int, int);
-
-int fd_is_stream(int);
-
-struct in_addr socket_get_next_source_addr();
-int set_socket_source_addr(int, int);
-void socket_source_init(struct in_addr *);
-
-
-#endif
Modified: trunk/openvas-libraries/libopenvas/pcap.c
===================================================================
--- trunk/openvas-libraries/libopenvas/pcap.c 2007-07-24 23:16:04 UTC (rev
315)
+++ trunk/openvas-libraries/libopenvas/pcap.c 2007-07-25 10:38:48 UTC (rev
316)
@@ -21,7 +21,6 @@
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif
-#include "network.h"
#define MAXROUTES 1024
_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits