home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
OFFLINE
/
UQWK18.ZIP
/
UQWK18.TAR
/
uqwk.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-10
|
629b
|
43 lines
#include <stdio.h>
#include <string.h>
#define ALLOCATE
#include "uqwk.h"
/*
* Try to make QWK packets from a mail and/or news spool
*/
main (argc, argv)
int argc;
char *argv[];
{
progname = argv[0];
/* Set up defaults */
DefaultOptions();
/* Look for environment variable overrides */
EnvOptions();
/* Look for command line overrides */
CommandOptions (argc, argv);
/* Initialize files, etc. */
InitStuff();
/* Do reply packet? */
if (strcmp (rep_file, DEF_REP_FILE)) DoReply();
/* Do news? */
if (do_news) DoNews();
/* Mail? */
if (do_mail) DoMail();
/* All done */
CloseStuff();
return (0);
}