Classes | Macros | Enumerations | Functions | Variables
smtp.h File Reference
#include "pingpong.h"
#include "curl_sasl.h"
Include dependency graph for smtp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SMTP
 
struct  smtp_conn
 

Macros

#define SMTP_EOB   "\x0d\x0a\x2e\x0d\x0a"
 
#define SMTP_EOB_FIND_LEN   3
 
#define SMTP_EOB_LEN   5
 
#define SMTP_EOB_REPL   "\x0d\x0a\x2e\x2e"
 
#define SMTP_EOB_REPL_LEN   4
 

Enumerations

enum  smtpstate {
  SMTP_STOP, SMTP_SERVERGREET, SMTP_EHLO, SMTP_HELO,
  SMTP_STARTTLS, SMTP_UPGRADETLS, SMTP_AUTH, SMTP_COMMAND,
  SMTP_MAIL, SMTP_RCPT, SMTP_DATA, SMTP_POSTDATA,
  SMTP_QUIT, SMTP_LAST
}
 

Functions

CURLcode Curl_smtp_escape_eob (struct connectdata *conn, const ssize_t nread)
 

Variables

const struct Curl_handler Curl_handler_smtp
 
const struct Curl_handler Curl_handler_smtps
 

Macro Definition Documentation

#define SMTP_EOB   "\x0d\x0a\x2e\x0d\x0a"

Definition at line 81 of file smtp.h.

#define SMTP_EOB_FIND_LEN   3

Definition at line 83 of file smtp.h.

#define SMTP_EOB_LEN   5

Definition at line 82 of file smtp.h.

#define SMTP_EOB_REPL   "\x0d\x0a\x2e\x2e"

Definition at line 86 of file smtp.h.

#define SMTP_EOB_REPL_LEN   4

Definition at line 87 of file smtp.h.

Enumeration Type Documentation

enum smtpstate
Enumerator
SMTP_STOP 
SMTP_SERVERGREET 
SMTP_EHLO 
SMTP_HELO 
SMTP_STARTTLS 
SMTP_UPGRADETLS 
SMTP_AUTH 
SMTP_COMMAND 
SMTP_MAIL 
SMTP_RCPT 
SMTP_DATA 
SMTP_POSTDATA 
SMTP_QUIT 
SMTP_LAST 

Definition at line 31 of file smtp.h.

Function Documentation

CURLcode Curl_smtp_escape_eob ( struct connectdata conn,
const ssize_t  nread 
)

Definition at line 1533 of file smtp.c.

Variable Documentation

const struct Curl_handler Curl_handler_smtp

Definition at line 113 of file smtp.c.

const struct Curl_handler Curl_handler_smtps


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17