Piles
home
docs
piles
GitHub
SimpleSmtp Pile
version 0.0.1
SimpleSmtp pile.
Main Page
Classes
Files
File List
File Members
simplesmtp-private.h
Go to the documentation of this file.
1
10
#ifndef GUARD_SIMPLESMTP_PRIVATE_H_INCLUDE
11
#define GUARD_SIMPLESMTP_PRIVATE_H_INCLUDE
12
13
#include <simplesmtp/simplesmtp-config.h>
14
15
16
#ifdef TARGET_COMPILER_MSVC
17
# define __func__ __FUNCTION__
18
#endif
19
20
#if 1
21
# define SIMPLESMTP_DEBUGM printf
22
#else
23
# define SIMPLESMTP_DEBUGM black_hole
24
#endif
25
26
#if 1
27
# define SIMPLESMTP_TRACE_ENTRY printf("SIMPLESMTP ENTRY %s in %s[%d]\n", __func__, __FILE__, __LINE__)
28
#else
29
# define SIMPLESMTP_TRACE_ENTRY
30
#endif
31
32
#if 1
33
# define SIMPLESMTP_TRACE_EXIT printf("SIMPLESMTP EXIT %s in %s[%d]\n", __func__, __FILE__, __LINE__)
34
#else
35
# define SIMPLESMTP_TRACE_EXIT
36
#endif
37
43
#define TMP_A(__s__) __s__.toLatin1 ().constData ()
44
45
46
static
inline
void
black_hole (...)
47
{}
48
49
#endif // GUARD_SIMPLESMTP_PRIVATE_H_INCLUDE