|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 1126 (0x466) Types: TextFile Names: »smtplib.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦2fafebccf⟧ »EurOpenD3/mail/smail3.1.19.tar.Z« └─⟦bcd2bc73f⟧ └─⟦this⟧ »src/transports/smtplib.h«
/* @(#)smtplib.h 1.1 12/17/88 21:29:45 */ /* * Copyright (C) 1987, 1988 by Ronald S. Karr and Landon Curt Noll * * See the file COPYING, distributed with smail, for restriction * and warranty information. */ /* * smtplib.h: * interface file for routines in smtplib.c. */ /* values returned by functions in smtplib.c */ #define SMTP_SUCCEED 0 #define SMTP_FAIL (-1) #define SMTP_AGAIN (-2) /* * the following structure is passed around between SMTP functions and * should be initialized as necessary to describe the SMTP connection * characteristics. * * NOTE: If "in" is set to NULL, then we will be producing batch SMTP. */ struct smtp { FILE *in; /* input channel from remote server */ FILE *out; /* output channel to remote server */ unsigned short_timeout; /* timeout period for short commands */ unsigned long_timeout; /* normal SMTP read timeout period */ char *nl; /* line terminator string */ struct transport *tp; /* associated transport */ }; /* functions defined in smtplib.c */ extern int smtp_startup(); extern int smtp_send(); extern void smtp_shutdown();