/*++ /* NAME /* postscreen_misc 3 /* SUMMARY /* postscreen misc routines /* SYNOPSIS /* #include <postscreen.h> /* /* char *psc_format_delta_time(buf, tv, delta) /* VSTRING *buf; /* struct timeval tv; /* DELTA_TIME *delta; /* /* void psc_conclude(state) /* PSC_STATE *state; /* /* void psc_hangup_event(state) /* PSC_STATE *state; /* DESCRIPTION /* psc_format_delta_time() computes the time difference between /* tv (past) and the present, formats the time difference with /* sub-second resolution in a human-readable way, and returns /* the integer time difference in seconds through the delta /* argument. /* /* psc_conclude() logs when a client passes all necessary tests, /* updates the postscreen cache for any testes that were passed, /* and either forwards the connection to a real SMTP server or /* replies with the text in state->error_reply and hangs up the /* connection (by default, state->error_reply is set to a /* default 421 reply). /* /* psc_hangup_event() cleans up after a client connection breaks /* unexpectedly. If logs the test where the break happened, /* and how much time as spent in that test before the connection /* broke. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.