DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T s

⟦22f77f6c4⟧ TextFile

    Length: 3625 (0xe29)
    Types: TextFile
    Names: »static.c«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Lib/pp/static.c« 

TextFile

/* static.c: static configuration */

# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Lib/pp/RCS/static.c,v 5.0 90/09/20 16:11:34 pp Exp Locker: pp $";
# endif

/*
 * $Header: /cs/research/pp/hubris/pp-beta/Lib/pp/RCS/static.c,v 5.0 90/09/20 16:11:34 pp Exp Locker: pp $
 *
 * $Log:	static.c,v $
 * Revision 5.0  90/09/20  16:11:34  pp
 * rcsforce : 5.0 public release
 * 
 */



#include "util.h"
#include "chan.h"
#include "list_bpt.h"


#define CH_MAXTABLES    80
#define TB_MAXTABLES    80


CHAN            *ch_all[CH_MAXTABLES];
Table           *tb_all[TB_MAXTABLES];
LIST_BPT        *bodies_all = NULLIST_BPT;

int             ch_maxchans  = CH_MAXTABLES;
int             tb_maxtables = TB_MAXTABLES;


char            *aquedir = "addr/";
char            *bquedir = "base";
char            *chndfldir = "chans";
char            *formdfldir = "format";
char            *loc_dom_mta = "bogus";
char            *loc_dom_site = "bogus";
char            *loc_or = "";
char            *mquedir = "msg/";
char            *postmaster = "***INVALID***";
char            *ppdbm = "ppdbm";
char            *pplogin = "pp";   /* -- login user id of pp -- */
char            *pptsapd_addr = "Internet=localhost+20001";
char            *tquedir = "tmp/";
char            *delim1 = "\1\1\1\1\n";
char            *delim2 = "\1\1\1\1\n";
char            *mboxname = "ppmailbox";
char            *qmgr_hostname = "localhost";
char            *authchannel = "block";
char            *authloglevel = "low";
char            *wrndfldir = "warnings"; /* relative to tbldfldir */

int		return_interval_norm = 24 * 3;	/* return after 3 days */
int		return_interval_high = 24 * 1; /* return time 1 day */
int		return_interval_low = 24 * 7; /* return time 7 days */
int		warn_interval = 24 * 1;		/* warn after 1 */
int		warn_number = 2;		/* 2 warnings */

/* hardwired in names */
char            *dr_file = "report.";
char            *uucpin_chan = "uucp-in";
char            *local_822_chan = "822-local";
char            *alias_tbl = "aliases";
char            *channel_tbl = "channel";
char            *list_tbl = "list";
char            *user_tbl = "users";
char            *or_tbl = "or";
char            *or2rfc_tbl = "or2rfc";
char            *rfc2or_tbl = "rfc2or";
char		*rfc1148gateway_tbl = "rfc1148gate";
char            *chan_auth_tbl = "auth.channel";
char            *mta_auth_tbl = "auth.mta";
char            *user_auth_tbl = "auth.user";
char            *hdr_822_bp = "hdr.822";
char		*hdr_p2_bp = "hdr.p2";
char		*hdr_p22_bp = "hdr.p22";
char		*hdr_ipn_bp = "hdr.ipn";
char            *ia5_bp = "ia5";
char		*qmgr_auth_tbl = "auth.qmgr";
char		*cont_822 = "822";
char		*cont_p2 = "p2";
char		*cont_p22 = "p22";
char		*mailfilter = ".mailfilter";
char		*sysmailfilter = "/usr/local/lib/mailfilter";

/* used in distribution list stuff */
char		*loc_dist_prefix = "dist-";
char		*list_tbl_comment = "Comment:";

/* used in locking */
char	*lockdir = "/tmp";
int	lockstyle = LOCK_FLOCK;
int	lock_break_time = 30 * 60; /* 30 mins grace time */

/* -- Logging info -- */

static LLog oper_log = {
	"oper", NULLCP, NULLCP,
	LLOG_FATAL | LLOG_EXCEPTIONS | LLOG_NOTICE, LLOG_FATAL, -1,
	LLOGCLS | LLOGCRT, NOTOK
};

static LLog stat_log = {
	"stat", NULLCP, NULLCP,
	LLOG_FATAL | LLOG_EXCEPTIONS | LLOG_NOTICE, LLOG_FATAL, -1,
	LLOGCLS | LLOGCRT, NOTOK
};

static LLog norm_log = {
	"norm", NULLCP, NULLCP,
	LLOG_FATAL | LLOG_EXCEPTIONS | LLOG_NOTICE, LLOG_FATAL, -1,
	LLOGCLS | LLOGCRT, NOTOK
};

LLog    *pp_log_norm = &norm_log;
LLog    *pp_log_oper = &oper_log;
LLog    *pp_log_stat = &stat_log;