X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fmts.h;h=1b8f71b5e983da752acf289ec825bf88132ab110;hb=374ece2e88368afd6e0a29c4ee4b75ffa9e28b39;hp=2d2aa958abffc1af303d8845e735a1cbe2598001;hpb=c05210483d82bf5f3786725ff80e12444088a701;p=mmh diff --git a/h/mts.h b/h/mts.h index 2d2aa95..1b8f71b 100644 --- a/h/mts.h +++ b/h/mts.h @@ -6,7 +6,7 @@ /* * Local and UUCP Host Name */ -char *LocalName(void); +char *LocalName(int); char *SystemName(void); /* @@ -19,11 +19,10 @@ extern char *uucplfil; #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME")) #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ()) -#define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME")) -#define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusername ()) char *getusername(void); char *getfullname(void); +char *getlocalmbox(void); /* * Separators @@ -42,16 +41,15 @@ void mts_init (char *); /* * MTS specific variables */ -#if defined (SMTPMTS) -/* whether to speak SMTP to localhost:25 or to /usr/sbin/sendmail */ -#define MTS_SMTP 0 -#define MTS_SENDMAIL 1 +/* whether to speak SMTP, and over the network or directly to sendmail */ +#define MTS_SMTP 0 +#define MTS_SENDMAIL_SMTP 1 +#define MTS_SENDMAIL_PIPE 2 extern int sm_mts; +void save_mts_method (const char *); -extern char *hostable; extern char *sendmail; -#endif /* * SMTP/POP stuff