]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.h
Added NMH_ADDL_CPPFLAGS macro in new m4/cppflags.m4, to remove
[nmh] / mts / smtp / smtp.h
index 12fdedba35b6929f0b859071495454912cee016c..2ed5cc22c176ba00ef1325da169a2e2f6e1f765d 100644 (file)
@@ -1,16 +1,8 @@
 
 /*
  * smtp.h -- definitions for the nmh SMTP Interface
 
 /*
  * smtp.h -- definitions for the nmh SMTP Interface
- *
- * $Id$
  */
 
  */
 
-/* various modes for SMTP */
-#define        S_MAIL  0
-#define        S_SEND  1
-#define        S_SOML  2
-#define        S_SAML  3
-
 /* length is the length of the string in text[], which is also NUL
  * terminated, so s.text[s.length] should always be 0.
  */
 /* length is the length of the string in text[], which is also NUL
  * terminated, so s.text[s.length] should always be 0.
  */
@@ -24,8 +16,9 @@ struct smtp {
  * prototypes
  */
 /* int client (); */
  * prototypes
  */
 /* int client (); */
-int sm_init (char *, char *, char *, int, int, int, int, int, int, char *, char *, int);
-int sm_winit (int, char *);
+int sm_init (char *, char *, char *, int, int, int, int, int, char *, char *,
+             const char *, int);
+int sm_winit (char *);
 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);
@@ -264,7 +257,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 */