[Openvas-commits] r5631 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 20 00:08:41 CEST 2009


Author: mattm
Date: 2009-10-20 00:08:40 +0200 (Tue, 20 Oct 2009)
New Revision: 5631

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/manage.h
   trunk/openvas-manager/src/tasks_sql.h
Log:
	* src/tasks_sql.h (manage_nvt_preference_add): Make args const.
	* src/manage.h: Update header.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-10-19 22:06:42 UTC (rev 5630)
+++ trunk/openvas-manager/ChangeLog	2009-10-19 22:08:40 UTC (rev 5631)
@@ -1,5 +1,10 @@
 2009-10-19  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/tasks_sql.h (manage_nvt_preference_add): Make args const.
+	* src/manage.h: Update header.
+
+2009-10-19  Matthew Mundell <matthew.mundell at intevation.de>
+
 	* src/otp.c (parse_scanner_preference_value): Only add the preference when
 	in caching mode.
 	(process_otp_scanner_input): After successfully parsing a preference, free

Modified: trunk/openvas-manager/src/manage.h
===================================================================
--- trunk/openvas-manager/src/manage.h	2009-10-19 22:06:42 UTC (rev 5630)
+++ trunk/openvas-manager/src/manage.h	2009-10-19 22:08:40 UTC (rev 5631)
@@ -652,7 +652,7 @@
 /* NVT preferences. */
 
 void
-manage_nvt_preference_add (char*, char*);
+manage_nvt_preference_add (const char*, const char*);
 
 void
 manage_nvt_preferences_enable ();

Modified: trunk/openvas-manager/src/tasks_sql.h
===================================================================
--- trunk/openvas-manager/src/tasks_sql.h	2009-10-19 22:06:42 UTC (rev 5630)
+++ trunk/openvas-manager/src/tasks_sql.h	2009-10-19 22:08:40 UTC (rev 5631)
@@ -4680,7 +4680,7 @@
  * @param[in]  value  The value of the preference.
  */
 void
-manage_nvt_preference_add (char* name, char* value)
+manage_nvt_preference_add (const char* name, const char* value)
 {
   gchar* quoted_name = sql_quote (name);
   gchar* quoted_value = sql_quote (value);



More information about the Openvas-commits mailing list