diff --git a/cronjob/checksensor/mailer.c b/cronjob/checksensor/mailer.c index c40bcbf..09432ba 100644 --- a/cronjob/checksensor/mailer.c +++ b/cronjob/checksensor/mailer.c @@ -1,3 +1,31 @@ +/* + mailer.c -- Wrapper for libesmtp + + Copyright (C) 2006 Jan Losinski + + 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. + +*/ + +/* Compiling: + * it uses libesmtp and libssl, so you must add + * -lesmtp and -lssl for linking. + * Debug-output can be activated with -DDEBUG as + * compile-option. */ + + #include #include #include diff --git a/cronjob/checksensor/mailer.h b/cronjob/checksensor/mailer.h index 501ebe6..b9ef4ea 100644 --- a/cronjob/checksensor/mailer.h +++ b/cronjob/checksensor/mailer.h @@ -1,3 +1,31 @@ +/* + mailer.h -- Wrapper for libesmtp + + Copyright (C) 2006 Jan Losinski + + 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. + +*/ + +/* Compiling: + * it uses libesmtp and libssl, so you must add + * -lesmtp and -lssl for linking. + * Debug-output can be activated with -DDEBUG as + * compile-option. */ + + #include #define SSL_ENABLED 0