ReactOS 0.4.16-dev-297-gc569aee
smtp_opts.h
Go to the documentation of this file.
1#ifndef LWIP_HDR_APPS_SMTP_OPTS_H
2#define LWIP_HDR_APPS_SMTP_OPTS_H
3
4#include "lwip/opt.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
18#ifndef SMTP_BODYDH
19#define SMTP_BODYDH 0
20#endif
21
23#ifndef SMTP_DEBUG
24#define SMTP_DEBUG LWIP_DBG_OFF
25#endif
26
28#ifndef SMTP_MAX_SERVERNAME_LEN
29#define SMTP_MAX_SERVERNAME_LEN 256
30#endif
31
33#ifndef SMTP_MAX_USERNAME_LEN
34#define SMTP_MAX_USERNAME_LEN 32
35#endif
36
38#ifndef SMTP_MAX_PASS_LEN
39#define SMTP_MAX_PASS_LEN 32
40#endif
41
44#ifndef SMTP_COPY_AUTHDATA
45#define SMTP_COPY_AUTHDATA 1
46#endif
47
52#ifndef SMTP_CHECK_DATA
53#define SMTP_CHECK_DATA 1
54#endif
55
57#ifndef SMTP_SUPPORT_AUTH_PLAIN
58#define SMTP_SUPPORT_AUTH_PLAIN 1
59#endif
60
62#ifndef SMTP_SUPPORT_AUTH_LOGIN
63#define SMTP_SUPPORT_AUTH_LOGIN 1
64#endif
65
66/* Memory allocation/deallocation can be overridden... */
67#ifndef SMTP_STATE_MALLOC
68#define SMTP_STATE_MALLOC(size) mem_malloc(size)
69#define SMTP_STATE_FREE(ptr) mem_free(ptr)
70#endif
71
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* SMTP_OPTS_H */