diff src/sm-archive.h @ 19:b24369330483 stable-1-0-7

Fedora 9 compile and const correctness.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 12 Jun 2008 18:17:33 -0700
parents 75e1a9bcbc2e
children
line wrap: on
line diff
--- a/src/sm-archive.h	Fri Mar 21 16:02:40 2008 -0700
+++ b/src/sm-archive.h	Thu Jun 12 18:17:33 2008 -0700
@@ -8,8 +8,6 @@
 #ifndef smarchive_include
 #define smarchive_include
 
-#include "context.h"
-
 extern int debug_syslog;
 
 ////////////////////////////////////////////////
@@ -20,8 +18,8 @@
 	// connection specific data
 	CONFIG	*pc;			// global filtering configuration
 	// message specific data
-	char		*mailaddr;	// envelope from value
-	char		*queueid;	// sendmail queue id
+    const char  *mailaddr;  // envelope from value
+    const char  *queueid;   // sendmail queue id
 	string_set	targets;	// targets to add at eom, strings are owned by the config
 	string_set	removal;	// targets to remove at eom, strings are owned here
 	mlfiPriv();
@@ -29,7 +27,7 @@
 	void reset(bool final = false); // for a new message
 };
 
-void my_syslog(mlfiPriv *priv, char *text);
-void my_syslog(char *text);
+void my_syslog(mlfiPriv *priv, const char *text);
+void my_syslog(const char *text);
 
 #endif