Logo Search packages:      
Sourcecode: samhain version File versions  Download package

sh_mail.h

/* 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 (char * str_s);

/* send to all recpts. in one mail
 */
int sh_mail_setFlag (char * str);

/* set the subject string 
 */
int set_mail_subject (char * str);

/* test mailbox
 */
int sh_mail_sigverify (char * s);

/* maximum number of mail attempts
 */
#define SH_MAX_FAIL    48

int sh_mail_setNum (char * str);

int sh_mail_setaddress (char * address);
void reset_count_dev_mail(void);
int sh_mail_setaddress_int (char * address);

/* call if not urgent
 */
int sh_mail_pushstack (/*@null@*/char * msg);

/* call if mail immediate
 */
int sh_mail_msg (/*@null@*/char * message);

/* set sender of mail
 */
int sh_mail_set_sender (char *str);


#endif

Generated by  Doxygen 1.6.0   Back to index