projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
izmjene za lintian
[ossec-hids.git]
/
src
/
config
/
mail-config.h
diff --git
a/src/config/mail-config.h
b/src/config/mail-config.h
index
92cc81f
..
98a93a4
100755
(executable)
--- a/
src/config/mail-config.h
+++ b/
src/config/mail-config.h
@@
-5,11
+5,11
@@
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
*
* 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
*/
* Foundation
*/
-
+
#ifndef _MCCONFIG__H
#define _MCCONFIG__H
#ifndef _MCCONFIG__H
#define _MCCONFIG__H
@@
-27,6
+27,7
@@
typedef struct _MailConfig
int priority;
char **to;
char *from;
int priority;
char **to;
char *from;
+ char *idsname;
char *smtpserver;
/* Granular e-mail options */
char *smtpserver;
/* Granular e-mail options */
@@
-35,6
+36,12
@@
typedef struct _MailConfig
int *gran_set;
int *gran_format;
char **gran_to;
int *gran_set;
int *gran_format;
char **gran_to;
+
+#ifdef GEOIP
+ /* Use GeoIP */
+ int geoip;
+#endif
+
OSMatch **gran_location;
OSMatch **gran_group;
}MailConfig;
OSMatch **gran_location;
OSMatch **gran_group;
}MailConfig;