|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T m
Length: 2700 (0xa8c) Types: TextFile Names: »main.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦2fafebccf⟧ »EurOpenD3/mail/smail3.1.19.tar.Z« └─⟦bcd2bc73f⟧ └─⟦this⟧ »src/main.h«
/* @(#)main.h 3.11 9/1/88 06:12:49 */ /* * Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll * * See the file COPYING, distributed with smail, for restriction * and warranty information. * * namei master id: @(#)main.h 3.11 9/1/88 06:12:49 */ /* * main.h: * interface file for functions in main.c. */ /* functions defined in main.c */ void main(); /* macros used in main.c */ /* values for operation_mode */ enum op_mode { MODE_DEFAULT, /* default operation */ PRINT_VERSION, /* print the current smail version */ DAEMON_MODE, /* operate as a daemon */ DELIVER_MAIL, /* deliver mail normally */ FREEZE_CONFIG, /* freeze a config file */ PRINT_QUEUE, /* print the spool directories */ REBUILD_ALIASES, /* rebuild the system alias file */ SMTP_MODE, /* read smtp on standard input */ BATCH_SMTP_MODE, /* batch smtp on standard input */ TEST_MODE, /* addressing parsing tests */ VERIFY_ADDRS, /* verify use of addresses */ NOOP_MODE, /* do nothing (run queue, if applicable) */ ROGUE_MODE, /* display the rogue tombstone mode */ COPYING_MODE, /* print the COPYING file */ PRINT_VARS_MODE, /* print configuration variables */ }; /* values for error_processing */ enum er_proc { ERROR_DEFAULT, /* use defaults */ DEV_NULL, /* don't say anything on errors */ MAIL_BACK, /* send mail back to sender */ TERMINAL, /* write to stderr */ WRITE_BACK, /* write using write(1) */ }; /* mode used in delivering mail */ enum deliver_mode { DELIVER_DEFAULT, /* use defaults */ FOREGROUND, /* deliver mail in foreground */ BACKGROUND, /* deliver mail in background */ QUEUE_MESSAGE, /* don't perform delivery, just queue */ }; /* types of operation based on program name */ enum prog_type { PROG_SMAIL, /* normal operation */ PROG_RMAIL, /* invoked as "rmail" */ PROG_PATHTO, /* invoked as "pathto" */ PROG_OPTTO, /* invoked as "optto" */ PROG_UUPATH, /* invoked as "uupath" */ PROG_NEWALIASES, /* invoked as "newaliases" */ PROG_SMAILCONF, /* invoked as "smailconf" */ PROG_MAILQ, /* invoked as "mailq" */ PROG_RUNQUEUE, /* invoked as "runqueue" */ PROG_RSMTP, /* invoked as "rsmtp" */ PROG_SMTPD, /* invoked as "smtpd" */ PROG_ROGUE, /* invoked as "rogue" */ }; /* how dots are treated on incoming messages */ enum dot_usage { NO_DOT_PROTOCOL, /* don't do anything special with dots */ HIDDEN_DOTS, /* use the hidden-dot algorithm on input */ DOT_ENDS_MESSAGE, /* a dot on a line by itself ends message */ SMTP_DOTS, /* like HIDDEN_DOTS, though EOF is error */ };