Lines Matching refs:EXTERN

25 # define EXTERN  macro
27 # define EXTERN extern macro
526 EXTERN MAILER *FileMailer; /* ptr to *file* mailer */
527 EXTERN MAILER *InclMailer; /* ptr to *include* mailer */
528 EXTERN MAILER *LocalMailer; /* ptr to local mailer */
529 EXTERN MAILER *ProgMailer; /* ptr to program mailer */
531 EXTERN MAILER *Mailer[MAXMAILERS * 2 + 1];
533 EXTERN MAILER *Mailer[MAXMAILERS + 1];
674 EXTERN char *AuthMechanisms; /* AUTH mechanisms */
675 EXTERN char *AuthRealm; /* AUTH realm */
676 EXTERN char *SASLInfo; /* file with AUTH info */
677 EXTERN int SASLOpts; /* options for SASL */
678 EXTERN int MaxSLBits; /* max. encryption bits for SASL */
691 EXTERN MACROS_T GlobalMacros;
816 EXTERN int MaxMciCache; /* maximum entries in MCI cache */
817 EXTERN time_t MciCacheTimeout; /* maximum idle time on connections */
818 EXTERN time_t MciInfoTimeout; /* how long 'til we retry down hosts */
1087 EXTERN int NumPriorities; /* pointer into Priorities */
1088 EXTERN struct priority Priorities[MAXPRIORITIES];
1652 EXTERN bool LocalDaemon;
1654 EXTERN bool V6LoopbackAddrFound; /* found an IPv6 loopback address */
1759 EXTERN unsigned long PrivacyFlags; /* privacy flags */
1869 EXTERN struct milter *InputFilters[MAXFILTERS];
1870 EXTERN char *InputFilterList;
1871 EXTERN int MilterLogLevel;
2009 EXTERN char *CACertPath; /* path to CA certificates (dir. with hashes) */
2010 EXTERN char *CACertFile; /* file with CA certificate */
2011 EXTERN char *CltCertFile; /* file with client certificate */
2012 EXTERN char *CltKeyFile; /* file with client private key */
2013 EXTERN char *CipherList; /* list of ciphers */
2014 EXTERN char *CertFingerprintAlgorithm; /* name of fingerprint alg */
2015 EXTERN const EVP_MD *EVP_digest; /* digest for cert fp */
2016 EXTERN char *DHParams; /* file with DH parameters */
2017 EXTERN char *RandFile; /* source of random data */
2018 EXTERN char *SrvCertFile; /* file with server certificate */
2019 EXTERN char *SrvKeyFile; /* file with server private key */
2020 EXTERN char *CRLFile; /* file CRLs */
2022 EXTERN char *CRLPath; /* path to CRLs (dir. with hashes) */
2024 EXTERN unsigned long TLS_Srv_Opts; /* TLS server options */
2025 EXTERN unsigned long Srv_SSL_Options, Clt_SSL_Options; /* SSL options */
2096 EXTERN int volatile CurRunners; /* current number of runner children */
2097 EXTERN int MaxQueueRun; /* maximum number of jobs in one queue run */
2098 EXTERN int MaxQueueChildren; /* max # of forked queue children */
2099 EXTERN int MaxRunnersPerQueue; /* max # proc's active in queue group */
2100 EXTERN int NiceQueueRun; /* nice queue runs to this value */
2101 EXTERN int NumQueue; /* number of queue groups */
2102 EXTERN int QueueFileMode; /* mode on files in mail queue */
2103 EXTERN int QueueMode; /* which queue items to act upon */
2104 EXTERN int QueueSortOrder; /* queue sorting order algorithm */
2105 EXTERN time_t MinQueueAge; /* min delivery interval */
2106 EXTERN time_t MaxQueueAge; /* max delivery interval */
2107 EXTERN time_t QueueIntvl; /* intervals between running the queue */
2108 EXTERN char *QueueDir; /* location of queue directory */
2109 EXTERN QUEUE_CHAR *QueueLimitId; /* limit queue run to id */
2110 EXTERN QUEUE_CHAR *QueueLimitQuarantine; /* limit queue run to quarantine reason */
2111 EXTERN QUEUE_CHAR *QueueLimitRecipient; /* limit queue run to rcpt */
2112 EXTERN QUEUE_CHAR *QueueLimitSender; /* limit queue run to sender */
2113 EXTERN QUEUEGRP *Queue[MAXQUEUEGROUPS + 1]; /* queue groups */
2115 EXTERN int BounceQueue;
2153 EXTERN struct
2335 EXTERN bool AddBcc;
2338 EXTERN bool AddrTypeModes; /* addr_type: extra "mode" information */
2340 EXTERN bool AllowBogusHELO; /* allow syntax errors on HELO command */
2341 EXTERN bool CheckAliases; /* parse addresses during newaliases */
2343 EXTERN int CheckQueueRunners; /* check whether queue runners are OK */
2345 EXTERN bool ColonOkInAddr; /* single colon legal in address */
2347 EXTERN bool ConfigFileRead; /* configuration file has been read */
2349 EXTERN bool DisConnected; /* running with OutChannel redirect to transcript file */
2350 EXTERN bool DontExpandCnames; /* do not $[...$] expand CNAMEs */
2351 EXTERN bool DontInitGroups; /* avoid initgroups() because of NIS cost */
2352 EXTERN bool DontLockReadFiles; /* don't read lock support files */
2353 EXTERN bool DontPruneRoutes; /* don't prune source routes */
2354 EXTERN bool ForkQueueRuns; /* fork for each job when running the queue */
2355 EXTERN bool FromFlag; /* if set, "From" person is explicit */
2356 EXTERN bool FipsMode;
2357 EXTERN bool GrabTo; /* if set, get recipients from msg */
2358 EXTERN bool EightBitAddrOK; /* we'll let 8-bit addresses through */
2359 EXTERN bool HasEightBits; /* has at least one eight bit input byte */
2360 EXTERN bool HasWildcardMX; /* don't use MX records when canonifying */
2361 EXTERN bool HoldErrs; /* only output errors to transcript */
2362 EXTERN bool IgnoreHostStatus; /* ignore long term host status files */
2363 EXTERN bool IgnrDot; /* don't let dot end messages */
2364 EXTERN bool LogUsrErrs; /* syslog user errors (e.g., SMTP RCPT cmd) */
2365 EXTERN bool MatchGecos; /* look for user names in gecos field */
2366 EXTERN bool MeToo; /* send to the sender also */
2367 EXTERN bool NoAlias; /* suppress aliasing */
2368 EXTERN bool NoConnect; /* don't connect to non-local mailers */
2369 EXTERN bool OnlyOneError; /* .... or only want to give one SMTP reply */
2370 EXTERN bool QuickAbort; /* .... but only if we want a quick abort */
2372 EXTERN bool RejectNUL; /* reject NUL input byte? */
2375 EXTERN bool RequiresDirfsync; /* requires fsync() for directory */
2377 EXTERN bool volatile RestartWorkGroup; /* daemon needs to restart some work groups */
2378 EXTERN bool RrtImpliesDsn; /* turn Return-Receipt-To: into DSN */
2379 EXTERN bool SaveFrom; /* save leading "From" lines */
2380 EXTERN bool SendMIMEErrors; /* send error messages in MIME format */
2381 EXTERN bool SevenBitInput; /* force 7-bit data on input */
2382 EXTERN bool SingleLineFromHeader; /* force From: header to be one line */
2383 EXTERN bool SingleThreadDelivery; /* single thread hosts on delivery */
2384 EXTERN bool SoftBounce; /* replace 5xy by 4xy (for testing) */
2385 EXTERN bool volatile StopRequest; /* stop sending output */
2386 EXTERN bool SuprErrs; /* set if we are suppressing errors */
2387 EXTERN bool TryNullMXList; /* if we are the best MX, try host directly */
2388 EXTERN bool UseMSP; /* mail submission: group writable queue ok? */
2389 EXTERN bool WorkAroundBrokenAAAA; /* some nameservers return SERVFAIL on AAAA queries */
2390 EXTERN bool UseErrorsTo; /* use Errors-To: header (back compat) */
2391 EXTERN bool UseNameServer; /* using DNS -- interpret h_errno & MX RRs */
2392 EXTERN bool UseCompressedIPv6Addresses; /* for more specific zero-subnet matches */
2393 EXTERN char InetMode; /* default network for daemon mode */
2394 EXTERN char OpMode; /* operation mode, see below */
2395 EXTERN char SpaceSub; /* substitution for <lwsp> */
2397 EXTERN int BadRcptShutdown; /* Shutdown connection for rejected RCPTs */
2398 EXTERN int BadRcptShutdownGood; /* above even when there are good RCPTs */
2400 EXTERN int BadRcptThrottle; /* Throttle rejected RCPTs per SMTP message */
2402 EXTERN unsigned int BadRcptThrottleDelay; /* delay for BadRcptThrottle */
2406 EXTERN int CheckpointInterval; /* queue file checkpoint interval */
2407 EXTERN int ConfigLevel; /* config file level */
2408 EXTERN int ConnRateThrottle; /* throttle for SMTP connection rate */
2409 EXTERN int volatile CurChildren; /* current number of daemonic children */
2410 EXTERN int CurrentLA; /* current load average */
2411 EXTERN int DefaultNotify; /* default DSN notification flags */
2412 EXTERN int DelayLA; /* load average to delay connections */
2413 EXTERN int DontProbeInterfaces; /* don't probe interfaces for names */
2414 EXTERN int Errors; /* set if errors (local to single pass) */
2415 EXTERN int ExitStat; /* exit status code */
2416 EXTERN int FastSplit; /* fast initial splitting of envelopes */
2417 EXTERN int FileMode; /* mode on files */
2418 EXTERN int LineNumber; /* line number in current input */
2419 EXTERN int LogLevel; /* level of logging to perform */
2420 EXTERN int MaxAliasRecursion; /* maximum depth of alias recursion */
2421 EXTERN int MaxChildren; /* maximum number of daemonic children */
2422 EXTERN int MaxForwardEntries; /* maximum number of forward entries */
2423 EXTERN int MaxHeadersLength; /* max length of headers */
2424 EXTERN int MaxHopCount; /* max # of hops until bounce */
2425 EXTERN int MaxMacroRecursion; /* maximum depth of macro recursion */
2426 EXTERN int MaxMimeFieldLength; /* maximum MIME field length */
2427 EXTERN int MaxMimeHeaderLength; /* maximum MIME header length */
2428 EXTERN int MaxNOOPCommands; /* max "noise" commands before slowdown */
2430 EXTERN int MaxRcptPerMsg; /* max recipients per SMTP message */
2431 EXTERN int MaxRuleRecursion; /* maximum depth of ruleset recursion */
2433 EXTERN char *MessageAccept; /* "Message accepted for delivery" reply text */
2436 EXTERN int MimeMode; /* MIME processing mode */
2437 EXTERN int NoRecipientAction;
2440 EXTERN int Numfilesys; /* number of queue file systems */
2441 EXTERN int *PNumFileSys;
2444 EXTERN int NumFileSys; /* number of queue file systems */
2447 EXTERN int QueueLA; /* load average starting forced queueing */
2448 EXTERN int RefuseLA; /* load average refusing connections */
2449 EXTERN time_t RejectLogInterval; /* time btwn log msgs while refusing */
2451 EXTERN long QueueLowMem; /* low memory starting forced queueing */
2452 EXTERN long RefuseLowMem; /* low memory refusing connections */
2453 EXTERN char *MemoryResource;/* memory resource to look up */
2455 EXTERN int SuperSafe; /* be extra careful, even if expensive */
2456 EXTERN int VendorCode; /* vendor-specific operation enhancements */
2457 EXTERN int Verbose; /* set if blow-by-blow desired */
2458 EXTERN gid_t DefGid; /* default gid to run as */
2459 EXTERN gid_t RealGid; /* real gid of caller */
2460 EXTERN gid_t RunAsGid; /* GID to become for bulk of run */
2461 EXTERN gid_t EffGid; /* effective gid */
2463 EXTERN key_t ShmKey; /* shared memory key */
2464 EXTERN char *ShmKeyFile; /* shared memory key file */
2466 EXTERN pid_t CurrentPid; /* current process id */
2467 EXTERN pid_t DaemonPid; /* process id of daemon */
2468 EXTERN pid_t PidFilePid; /* daemon/queue runner who wrote pid file */
2469 EXTERN uid_t DefUid; /* default uid to run as */
2470 EXTERN uid_t RealUid; /* real uid of caller */
2471 EXTERN uid_t RunAsUid; /* UID to become for bulk of run */
2472 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */
2473 EXTERN size_t DataFileBufferSize; /* size of buf for in-core data file */
2474 EXTERN time_t DeliverByMin; /* deliver by minimum time */
2475 EXTERN time_t DialDelay; /* delay between dial-on-demand tries */
2476 EXTERN time_t SafeAlias; /* interval to wait until @:@ in alias file */
2477 EXTERN time_t ServiceCacheMaxAge; /* refresh interval for cache */
2478 EXTERN size_t XscriptFileBufferSize; /* size of buf for in-core transcript file */
2479 EXTERN MODE_T OldUmask; /* umask when sendmail starts up */
2480 EXTERN long MaxMessageSize; /* advertised max size we will accept */
2481 EXTERN long MinBlocksFree; /* min # of blocks free on queue fs */
2482 EXTERN long QueueFactor; /* slope of queue function */
2483 EXTERN long WkClassFact; /* multiplier for message class -> priority */
2484 EXTERN long WkRecipFact; /* multiplier for # of recipients -> priority */
2485 EXTERN long WkTimeFact; /* priority offset each time this job is run */
2486 EXTERN char *ControlSocketName; /* control socket filename [control.c] */
2487 EXTERN char *CurHostName; /* current host we are dealing with */
2488 EXTERN char *DeadLetterDrop; /* path to dead letter office */
2489 EXTERN char *DefUser; /* default user to run as (from DefUid) */
2490 EXTERN char *DefaultCharSet; /* default character set for MIME */
2491 EXTERN char *DoubleBounceAddr; /* where to send double bounces */
2492 EXTERN char *ErrMsgFile; /* file to prepend to all error messages */
2493 EXTERN char *FallbackMX; /* fall back MX host */
2494 EXTERN char *FallbackSmartHost; /* fall back smart host */
2495 EXTERN char *FileName; /* name to print on error messages */
2496 EXTERN char *ForwardPath; /* path to search for .forward files */
2497 EXTERN char *HeloName; /* hostname to announce in HELO */
2498 EXTERN char *HelpFile; /* location of SMTP help file */
2499 EXTERN char *HostStatDir; /* location of host status information */
2500 EXTERN char *HostsFile; /* path to /etc/hosts file */
2502 EXTERN char *MustQuoteChars; /* quote these characters in phrases */
2503 EXTERN char *MyHostName; /* name of this host for SMTP messages */
2504 EXTERN char *OperatorChars; /* operators (old $o macro) */
2505 EXTERN char *PidFile; /* location of proc id file [conf.c] */
2506 EXTERN char *PostMasterCopy; /* address to get errs cc's */
2507 EXTERN char *ProcTitlePrefix; /* process title prefix */
2508 EXTERN char *RealHostName; /* name of host we are talking to */
2509 EXTERN char *RealUserName; /* real user name of caller */
2510 EXTERN char *volatile RestartRequest;/* a sendmail restart has been requested */
2511 EXTERN char *RunAsUserName; /* user to become for bulk of run */
2512 EXTERN char *SafeFileEnv; /* chroot location for file delivery */
2513 EXTERN char *ServiceSwitchFile; /* backup service switch */
2514 EXTERN char *volatile ShutdownRequest;/* a sendmail shutdown has been requested */
2515 EXTERN bool volatile IntSig;
2516 EXTERN char *SmtpGreeting; /* SMTP greeting message (old $e macro) */
2517 EXTERN char *SmtpPhase; /* current phase in SMTP processing */
2518 EXTERN char SmtpError[MAXLINE]; /* save failure error messages */
2519 EXTERN char *StatFile; /* location of statistics summary */
2520 EXTERN char *TimeZoneSpec; /* override time zone specification */
2521 EXTERN char *UdbSpec; /* user database source spec */
2522 EXTERN char *UnixFromLine; /* UNIX From_ line (old $l macro) */
2523 EXTERN char **ExternalEnviron; /* saved user (input) environment */
2524 EXTERN char **SaveArgv; /* argument vector for re-execing */
2525 EXTERN BITMAP256 DontBlameSendmail; /* DontBlameSendmail bits */
2526 EXTERN SM_FILE_T *InChannel; /* input connection */
2527 EXTERN SM_FILE_T *OutChannel; /* output connection */
2528 EXTERN SM_FILE_T *TrafficLogFile; /* file in which to log all traffic */
2530 EXTERN void *HesiodContext;
2532 EXTERN ENVELOPE *CurEnv; /* envelope currently being processed */
2533 EXTERN char *RuleSetNames[MAXRWSETS]; /* ruleset number to name */
2534 EXTERN char *UserEnviron[MAXUSERENVIRON + 1];
2535 EXTERN struct rewrite *RewriteRules[MAXRWSETS];
2536 EXTERN struct termescape TermEscape; /* terminal escape codes */
2537 EXTERN SOCKADDR ConnectOnlyTo; /* override connection address (for testing) */
2538 EXTERN SOCKADDR RealHostAddr; /* address of host we are talking to */
2542 EXTERN int ConnectionRateWindowSize;
2544 EXTERN bool SSLEngineInitialized;
2862 #undef EXTERN