NetBurner 3.1
ssl_pop3.h
Go to the documentation of this file.
1 /*NB_REVISION*/
2 
3 /*NB_COPYRIGHT*/
4 
15 #ifndef _SSL_POP3_H_
16 #define _SSL_POP3_H_
17 
18 #include <nettypes.h>
19 #include <pop3.h>
20 
21 /*
22  * Debugging
23  */
24 /* Library debugging switch */
25 /* #define SSL_POP3_DEBUG ( 1 ) */
26 
27 #ifdef SSL_POP3_DEBUG
28 #define SSL_POP3_DEBUG_IPRINTF(...) \
29  { \
30  iprintf("%s:%d", __FUNCTION__, __LINE__); \
31  iprintf(__VA_ARGS__); \
32  iprintf("\r\n"); \
33  }
34 #else /* #ifdef SSL_POP3_DEBUG */
35 #define SSL_POP3_DEBUG_IPRINTF(...) ((void)0)
36 #endif /* #ifdef SSL_POP3_DEBUG */
37 
38 #ifdef __cplusplus
39 extern "C"
40 {
41 #endif
42 
61  int SSL_POP3_InitializeSession(IPADDR server_address, uint16_t port, PCSTR UserName, PCSTR PassWord, uint32_t time_out);
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* #ifndef _SSL_POP3_H_ */
68 
Used to hold and manipulate IPv4 and IPv6 addresses in dual stack mode.
Definition: ipv6_addr.h:28
NetBurner POP3 API.
int SSL_POP3_InitializeSession(IPADDR server_address, uint16_t port, PCSTR UserName, PCSTR PassWord, uint32_t time_out)
Initialize Post Office Protocol Version 3 (POP3) on a SSL socket.