blob: 88752a149ce2bed8af4905fd4a1fe20b855f2fde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
/* SAMHAIN file system integrity testing */
/* Copyright (C) 1999 Rainer Wichmann */
/* */
/* This program is free software; you can redistribute it */
/* and/or modify */
/* it under the terms of the GNU General Public License as */
/* published by */
/* the Free Software Foundation; either version 2 of the License, or */
/* (at your option) any later version. */
/* */
/* This program 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 General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program; if not, write to the Free Software */
/* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef SH_MAIL_H
#define SH_MAIL_H
#define MAIL_IMMEDIATE 1
#define MAIL_LATER 0
/* set a relay server
*/
int sh_mail_set_relay (const char * str_s);
/* send to all recpts. in one mail
*/
int sh_mail_setFlag (const char * str);
/* set the subject string
*/
int set_mail_subject (const char * str);
/* test mailbox
*/
int sh_mail_sigverify (const char * s);
/* maximum number of mail attempts
*/
#define SH_MAX_FAIL 48
int sh_mail_setNum (const char * str);
int sh_mail_setaddress (const char * address);
void reset_count_dev_mail(void);
int sh_mail_setaddress_int (const char * address);
/* call if not urgent
*/
int sh_mail_pushstack (int severity, const char * msg, const char * alias);
/* Set the port to use (default 25)
*/
int sh_mail_set_port (const char * str);
/* set sender of mail
*/
int sh_mail_set_sender (const char *str);
#endif
|