Merge commit 'v2.5.1'
[ossec-hids.git] / src / os_maild / maild.h
index 43a5709..e11a48d 100755 (executable)
@@ -1,11 +1,11 @@
-/* @(#) $Id: maild.h,v 1.23 2009/06/24 17:06:30 dcid Exp $ */
+/* @(#) $Id$ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation.
  *
  * License details at the LICENSE file included with OSSEC or 
@@ -66,6 +66,7 @@ MailMsg *OS_RecvMailQ(file_queue *fileq, struct tm *p, MailConfig *mail,
 /* Sends an email */
 int OS_Sendmail(MailConfig *mail, struct tm *p);
 int OS_Sendsms(MailConfig *mail, struct tm *p, MailMsg *sms_msg);
+int OS_SendCustomEmail(char **to, char *subject, char *smtpserver, char *from, FILE *fp, struct tm *p);
 
 
 /* Mail timeout used by the file-queue */