X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/259e3f06a43ed7a515acc5937c671d4876ecc300..6e1d79d58e5da5ba06bc42ebebd2f6f8f2ceb52e:/mts/smtp/smtp.h diff --git a/mts/smtp/smtp.h b/mts/smtp/smtp.h index 2ed5cc22..953b3ded 100644 --- a/mts/smtp/smtp.h +++ b/mts/smtp/smtp.h @@ -16,9 +16,14 @@ struct smtp { * prototypes */ /* int client (); */ -int sm_init (char *, char *, char *, int, int, int, int, int, char *, char *, - const char *, int); -int sm_winit (char *); +/* TLS flags */ +#define S_STARTTLS 0x01 +#define S_INITTLS 0x02 +#define S_TLSENABLEMASK 0x03 +#define S_NOVERIFY 0x04 +int sm_init (char *, char *, char *, int, int, int, int, const char *, + const char *, const char *, int); +int sm_winit (char *, int, int); int sm_wadr (char *, char *, char *); int sm_waend (void); int sm_wtxt (char *, int);