mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 23:07:59 +00:00
depencies of the mailer reduced
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@49 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include <libesmtp.h>
|
||||
#include <auth-client.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include "definitions.h"
|
||||
#include "mailer.h"
|
||||
|
||||
#define BUFFSIZE 2048
|
||||
@@ -42,6 +41,23 @@
|
||||
#define CC_LINE "Cc: "
|
||||
#define BCC_LINE "Bcc: "
|
||||
|
||||
/* Debug --------------------------------------------------------------- */
|
||||
#ifdef DEBUG
|
||||
#define DEBUGOUT1(x) fprintf(stderr,x)
|
||||
#define DEBUGOUT2(x,y) fprintf(stderr,x,y)
|
||||
#define DEBUGOUT3(x,y,z) fprintf(stderr,x,y,z)
|
||||
#define DEBUGOUT4(x,y,z,a) fprintf(stderr,x,y,z,a)
|
||||
#define DEBUGOUT5(x,y,z,a,b) fprintf(stderr,x,y,z,a,b)
|
||||
#define FOR(x) for(x)
|
||||
#else
|
||||
#define DEBUGOUT1(x)
|
||||
#define DEBUGOUT2(x,y)
|
||||
#define DEBUGOUT3(x,y,z)
|
||||
#define DEBUGOUT4(x,y,z,a)
|
||||
#define DEBUGOUT5(x,y,z,a,b)
|
||||
#define FOR(x)
|
||||
#endif
|
||||
|
||||
|
||||
/* Funktionen */
|
||||
static int build_header( address_struct *, address_struct *, address_struct *, address_struct *, char *, FILE *);
|
||||
|
||||
@@ -113,3 +113,4 @@ server_vars *get_default_servopts();
|
||||
|
||||
/* Liefert einen Text zur Statusmeldung */
|
||||
const char *get_mail_status_text(int error_no);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user