recipient.c (132943) | recipient.c (141858) |
---|---|
1/* 2 * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 */ 13 14#include <sendmail.h> 15 | 1/* 2 * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 */ 13 14#include <sendmail.h> 15 |
16SM_RCSID("@(#)$Id: recipient.c,v 8.336 2004/07/23 20:45:02 gshapiro Exp $") | 16SM_RCSID("@(#)$Id: recipient.c,v 8.337 2004/08/03 19:57:23 ca Exp $") |
17 | 17 |
18static void includetimeout __P((void)); | 18static void includetimeout __P((int)); |
19static ADDRESS *self_reference __P((ADDRESS *)); 20static int sortexpensive __P((ADDRESS *, ADDRESS *)); 21static int sortbysignature __P((ADDRESS *, ADDRESS *)); 22static int sorthost __P((ADDRESS *, ADDRESS *)); 23 24typedef int sortfn_t __P((ADDRESS *, ADDRESS *)); 25 26/* --- 1842 unchanged lines hidden (view full) --- 1869 (void) sm_io_close(fp, SM_TIME_DEFAULT); 1870 FileName = oldfilename; 1871 LineNumber = oldlinenumber; 1872 e->e_to = oldto; 1873 return rval; 1874} 1875 1876static void | 19static ADDRESS *self_reference __P((ADDRESS *)); 20static int sortexpensive __P((ADDRESS *, ADDRESS *)); 21static int sortbysignature __P((ADDRESS *, ADDRESS *)); 22static int sorthost __P((ADDRESS *, ADDRESS *)); 23 24typedef int sortfn_t __P((ADDRESS *, ADDRESS *)); 25 26/* --- 1842 unchanged lines hidden (view full) --- 1869 (void) sm_io_close(fp, SM_TIME_DEFAULT); 1870 FileName = oldfilename; 1871 LineNumber = oldlinenumber; 1872 e->e_to = oldto; 1873 return rval; 1874} 1875 1876static void |
1877includetimeout() | 1877includetimeout(ignore) 1878 int ignore; |
1878{ 1879 /* 1880 ** NOTE: THIS CAN BE CALLED FROM A SIGNAL HANDLER. DO NOT ADD 1881 ** ANYTHING TO THIS ROUTINE UNLESS YOU KNOW WHAT YOU ARE 1882 ** DOING. 1883 */ 1884 1885 errno = ETIMEDOUT; --- 156 unchanged lines hidden --- | 1879{ 1880 /* 1881 ** NOTE: THIS CAN BE CALLED FROM A SIGNAL HANDLER. DO NOT ADD 1882 ** ANYTHING TO THIS ROUTINE UNLESS YOU KNOW WHAT YOU ARE 1883 ** DOING. 1884 */ 1885 1886 errno = ETIMEDOUT; --- 156 unchanged lines hidden --- |