libesmtp.h | libesmtp.h | |||
---|---|---|---|---|
skipping to change at line 100 | skipping to change at line 100 | |||
SMTP_EV_EXTNA_DSN = 2000, | SMTP_EV_EXTNA_DSN = 2000, | |||
SMTP_EV_EXTNA_8BITMIME, | SMTP_EV_EXTNA_8BITMIME, | |||
SMTP_EV_EXTNA_STARTTLS, | SMTP_EV_EXTNA_STARTTLS, | |||
SMTP_EV_EXTNA_ETRN, | SMTP_EV_EXTNA_ETRN, | |||
SMTP_EV_EXTNA_CHUNKING, | SMTP_EV_EXTNA_CHUNKING, | |||
SMTP_EV_EXTNA_BINARYMIME, | SMTP_EV_EXTNA_BINARYMIME, | |||
/* Extensions specific events */ | /* Extensions specific events */ | |||
SMTP_EV_DELIVERBY_EXPIRED = 3000, | SMTP_EV_DELIVERBY_EXPIRED = 3000, | |||
/* STARTTLS */ | /* STARTTLS */ | |||
SMTP_EV_WEAK_CIPHER = 3100, | SMTP_EV_WEAK_CIPHER = 3100, | |||
SMTP_EV_STARTTLS_OK, | SMTP_EV_STARTTLS_OK, | |||
SMTP_EV_INVALID_PEER_CERTIFICATE, | SMTP_EV_INVALID_PEER_CERTIFICATE, | |||
SMTP_EV_NO_PEER_CERTIFICATE, | SMTP_EV_NO_PEER_CERTIFICATE, | |||
SMTP_EV_WRONG_PEER_CERTIFICATE | SMTP_EV_WRONG_PEER_CERTIFICATE, | |||
SMTP_EV_NO_CLIENT_CERTIFICATE, | ||||
SMTP_EV_UNUSABLE_CLIENT_CERTIFICATE, | ||||
SMTP_EV_UNUSABLE_CA_LIST | ||||
}; | }; | |||
typedef void (*smtp_eventcb_t) (smtp_session_t session, int event_no, | typedef void (*smtp_eventcb_t) (smtp_session_t session, int event_no, | |||
void *arg, ...); | void *arg, ...); | |||
int smtp_set_eventcb (smtp_session_t session, smtp_eventcb_t cb, void *arg) ; | int smtp_set_eventcb (smtp_session_t session, smtp_eventcb_t cb, void *arg) ; | |||
typedef void (*smtp_monitorcb_t) (const char *buf, int buflen, | typedef void (*smtp_monitorcb_t) (const char *buf, int buflen, | |||
int writing, void *arg); | int writing, void *arg); | |||
int smtp_set_monitorcb (smtp_session_t session, smtp_monitorcb_t cb, void * arg, | int smtp_set_monitorcb (smtp_session_t session, smtp_monitorcb_t cb, void * arg, | |||
int headers); | int headers); | |||
int smtp_start_session (smtp_session_t session); | int smtp_start_session (smtp_session_t session); | |||
int smtp_destroy_session (smtp_session_t session); | int smtp_destroy_session (smtp_session_t session); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 5 lines changed or added | |||