SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.48
-static char sccsid[] = "@(#)conf.c 8.47 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c 8.48 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
** Returns:
** TRUE -- if ok.
** FALSE -- if vendor code could not be processed.
** Returns:
** TRUE -- if ok.
** FALSE -- if vendor code could not be processed.
+**
+** Side Effects:
+** It is reasonable to set mode flags here to tweak
+** processing in other parts of the code if necessary.
+** For example, if you are a vendor that uses $%y to
+** indicate YP lookups, you could enable that here.
*/
bool
setvendor(vendor)
char *vendor;
{
*/
bool
setvendor(vendor)
char *vendor;
{
- return (strcasecmp(vendor, "Berkeley") == 0);
+ if (strcasecmp(vendor, "Berkeley") == 0)
+ return TRUE;
+
+ /* add vendor extensions here */
+
+ return FALSE;
}
\f/*
** STRTOL -- convert string to long integer
}
\f/*
** STRTOL -- convert string to long integer