1
0
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:
losinshi
2006-08-26 10:03:36 +00:00
parent a4fecf99d0
commit 8483810499
2 changed files with 18 additions and 1 deletions
+17 -1
View File
@@ -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 *);
+1
View File
@@ -113,3 +113,4 @@ server_vars *get_default_servopts();
/* Liefert einen Text zur Statusmeldung */
const char *get_mail_status_text(int error_no);