source: trunk/include/sh_mail.h@ 51

Last change on this file since 51 was 22, checked in by rainer, 19 years ago

Minor code revisions.

File size: 2.3 KB
Line 
1/* SAMHAIN file system integrity testing */
2/* Copyright (C) 1999 Rainer Wichmann */
3/* */
4/* This program is free software; you can redistribute it */
5/* and/or modify */
6/* it under the terms of the GNU General Public License as */
7/* published by */
8/* the Free Software Foundation; either version 2 of the License, or */
9/* (at your option) any later version. */
10/* */
11/* This program is distributed in the hope that it will be useful, */
12/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
13/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
14/* GNU General Public License for more details. */
15/* */
16/* You should have received a copy of the GNU General Public License */
17/* along with this program; if not, write to the Free Software */
18/* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20#ifndef SH_MAIL_H
21#define SH_MAIL_H
22
23#define MAIL_IMMEDIATE 1
24#define MAIL_LATER 0
25
26/* set a relay server
27 */
28int sh_mail_set_relay (const char * str_s);
29
30/* send to all recpts. in one mail
31 */
32int sh_mail_setFlag (const char * str);
33
34/* set the subject string
35 */
36int set_mail_subject (const char * str);
37
38/* test mailbox
39 */
40int sh_mail_sigverify (const char * s);
41
42/* maximum number of mail attempts
43 */
44#define SH_MAX_FAIL 48
45
46int sh_mail_setNum (const char * str);
47
48int sh_mail_setaddress (const char * address);
49void reset_count_dev_mail(void);
50int sh_mail_setaddress_int (const char * address);
51
52/* call if not urgent
53 */
54int sh_mail_pushstack (/*@null@*/char * msg);
55
56/* call if mail immediate
57 */
58int sh_mail_msg (/*@null@*/char * message);
59
60/* set sender of mail
61 */
62int sh_mail_set_sender (const char *str);
63
64int sh_mail_add_or (const char * str);
65int sh_mail_add_and (const char * str);
66int sh_mail_add_not (const char * str);
67
68#endif
Note: See TracBrowser for help on using the repository browser.