]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.h
Use result, because (void) didn't prevent warning on FreeBSD 10.
[nmh] / mts / smtp / smtp.h
index 72caaccbee0de559d4f7e0cb524715e6239498c4..953b3dedc40b3619c7b2e4c8791f63b5a4619119 100644 (file)
@@ -16,8 +16,14 @@ struct smtp {
  * prototypes
  */
 /* int client (); */
  * prototypes
  */
 /* int client (); */
-int sm_init (char *, char *, char *, int, int, int, int, int, char *, 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);
 int sm_wadr (char *, char *, char *);
 int sm_waend (void);
 int sm_wtxt (char *, int);
@@ -256,7 +262,7 @@ char *rp_string (int);
 
 
 /*
 
 
 /*
- * The next three give the numeric value withing the field
+ * The next three give the numeric value within the field
  */
 
 /* get the basic part right-shifted */
  */
 
 /* get the basic part right-shifted */