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:
parent
a4fecf99d0
commit
8483810499
|
|
@ -33,7 +33,6 @@
|
||||||
#include <libesmtp.h>
|
#include <libesmtp.h>
|
||||||
#include <auth-client.h>
|
#include <auth-client.h>
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
#include "definitions.h"
|
|
||||||
#include "mailer.h"
|
#include "mailer.h"
|
||||||
|
|
||||||
#define BUFFSIZE 2048
|
#define BUFFSIZE 2048
|
||||||
|
|
@ -42,6 +41,23 @@
|
||||||
#define CC_LINE "Cc: "
|
#define CC_LINE "Cc: "
|
||||||
#define BCC_LINE "Bcc: "
|
#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 */
|
/* Funktionen */
|
||||||
static int build_header( address_struct *, address_struct *, address_struct *, address_struct *, char *, FILE *);
|
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 */
|
/* Liefert einen Text zur Statusmeldung */
|
||||||
const char *get_mail_status_text(int error_no);
|
const char *get_mail_status_text(int error_no);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue