Qsmtp
0.37
|
function definitions for Qremote's handling of message bodies More...
#include <sys/types.h>
Go to the source code of this file.
Enumerations | |
enum | recode_reasons { recode_8bit = 0x1, recode_long_line = 0x2, recode_qp_body = recode_8bit | recode_long_line, recode_long_header = 0x4, recode_long = recode_long_line | recode_long_header, recode_END } |
Functions | |
unsigned int | need_recode (const char *, off_t) |
void | send_data (unsigned int recodeflag) |
void | send_bdat (unsigned int recodeflag) |
Variables | |
const char * | successmsg [] |
const char * | msgdata |
off_t | msgsize |
function definitions for Qremote's handling of message bodies
enum recode_reasons |
unsigned int need_recode | ( | const char * | buf, |
off_t | len | ||
) |
check if buffer has to be recoded for SMTP transfer
buf | buffer to scan |
len | length of buffer |
void send_bdat | ( | unsigned int | recodeflag | ) |
send the message data as binary chunk
recodeflag | the result of need_recode() for the input data |
void send_data | ( | unsigned int | recodeflag | ) |
send the message data
recodeflag | the result of need_recode() for the input data |