X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.h;h=c88620ea726b2c7d8d3ca1c21e17910b77acce04;hb=56a34bc502bde807ab722ee5f20d4db2901a5b23;hp=772035d71fe1fe7751dfee113106aa1e6c39c943;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/mts/smtp/smtp.h b/mts/smtp/smtp.h index 772035d..c88620e 100644 --- a/mts/smtp/smtp.h +++ b/mts/smtp/smtp.h @@ -1,8 +1,6 @@ /* * smtp.h -- definitions for the nmh SMTP Interface - * - * $Id$ */ /* various modes for SMTP */ @@ -11,6 +9,9 @@ #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. + */ struct smtp { int code; int length; @@ -21,7 +22,7 @@ struct smtp { * prototypes */ /* int client (); */ -int sm_init (char *, char *, int, int, int, int, int); +int sm_init (char *, char *, char *, int, int, int, int, int, int, char *, char *, int); int sm_winit (int, char *); int sm_wadr (char *, char *, char *); int sm_waend (void); @@ -30,11 +31,6 @@ int sm_wtend (void); int sm_end (int); char *rp_string (int); -#ifdef MPOP -int sm_bulk (char *); -#endif - - /* The remainder of this file is derived from "mmdf.h" */ /*