add vendor-dependent macro initialization hooks
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 6 Mar 1995 04:21:51 +0000 (20:21 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 6 Mar 1995 04:21:51 +0000 (20:21 -0800)
SCCS-vsn: usr.sbin/sendmail/src/main.c 8.88
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.137

usr/src/usr.sbin/sendmail/src/conf.c
usr/src/usr.sbin/sendmail/src/main.c

index e87f080..0dd24bc 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.89.1.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.137 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -987,6 +987,26 @@ init_md(argc, argv)
 #endif
 }
 \f/*
 #endif
 }
 \f/*
+**  INIT_VENDOR_MACROS -- vendor-dependent macro initializations
+**
+**     Called once, on startup.
+**
+**     Parameters:
+**             e -- the global envelope.
+**
+**     Returns:
+**             none.
+**
+**     Side Effects:
+**             vendor-dependent.
+*/
+
+void
+init_vendor_macros(e)
+       register ENVELOPE *e;
+{
+}
+\f/*
 **  GETLA -- get the current load average
 **
 **     This code stolen from la.c.
 **  GETLA -- get the current load average
 **
 **     This code stolen from la.c.
index 603747c..02db9e4 100644 (file)
@@ -13,7 +13,7 @@ static char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)main.c     8.87 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c     8.88 (Berkeley) %G%";
 #endif /* not lint */
 
 #define        _DEFINE
 #endif /* not lint */
 
 #define        _DEFINE
@@ -312,6 +312,7 @@ main(argc, argv, envp)
 
        /* initialize some macros, etc. */
        initmacros(CurEnv);
 
        /* initialize some macros, etc. */
        initmacros(CurEnv);
+       init_vendor_macros(CurEnv);
 
        /* version */
        define('v', Version, CurEnv);
 
        /* version */
        define('v', Version, CurEnv);