Deleted Added
full compact
parseaddr.c (77349) parseaddr.c (82017)
1/*
2 * Copyright (c) 1998-2001 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#ifndef lint
1/*
2 * Copyright (c) 1998-2001 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#ifndef lint
15static char id[] = "@(#)$Id: parseaddr.c,v 8.234.4.12 2001/05/03 17:24:11 gshapiro Exp $";
15static char id[] = "@(#)$Id: parseaddr.c,v 8.234.4.13 2001/08/14 23:08:13 ca Exp $";
16#endif /* ! lint */
17
18#include <sendmail.h>
19
20static void allocaddr __P((ADDRESS *, int, char *));
21static int callsubr __P((char**, int, ENVELOPE *));
22static char *map_lookup __P((STAB *, char *, char **, int *, ENVELOPE *));
23static ADDRESS *buildaddr __P((char **, ADDRESS *, int, ENVELOPE *));

--- 738 unchanged lines hidden (view full) ---

762
763struct match
764{
765 char **match_first; /* first token matched */
766 char **match_last; /* last token matched */
767 char **match_pattern; /* pointer to pattern */
768};
769
16#endif /* ! lint */
17
18#include <sendmail.h>
19
20static void allocaddr __P((ADDRESS *, int, char *));
21static int callsubr __P((char**, int, ENVELOPE *));
22static char *map_lookup __P((STAB *, char *, char **, int *, ENVELOPE *));
23static ADDRESS *buildaddr __P((char **, ADDRESS *, int, ENVELOPE *));

--- 738 unchanged lines hidden (view full) ---

762
763struct match
764{
765 char **match_first; /* first token matched */
766 char **match_last; /* last token matched */
767 char **match_pattern; /* pointer to pattern */
768};
769
770#define MAXMATCH 9 /* max params per rewrite */
771
772
773int
774rewrite(pvp, ruleset, reclevel, e)
775 char **pvp;
776 int ruleset;
777 int reclevel;
778 register ENVELOPE *e;
779{
780 register char *ap; /* address pointer */

--- 2036 unchanged lines hidden ---
770int
771rewrite(pvp, ruleset, reclevel, e)
772 char **pvp;
773 int ruleset;
774 int reclevel;
775 register ENVELOPE *e;
776{
777 register char *ap; /* address pointer */

--- 2036 unchanged lines hidden ---