# include "sendmail.h" static char SccsId[] = "@(#)daemon.c 3.1 10/17/81"; /* ** DAEMON.C -- routines to use when running as a daemon. */ static int DaemonPipe; /* ** GETREQUESTS -- open mail IPC port and get requests. ** ** Parameters: ** none. ** ** Returns: ** none. ** ** Side Effects: ** Waits until some interesting activity occurs. When ** it does, a child is created to process it, and the ** parent waits for completion. Return from this ** routine is always in the child. */ getrequests() { syserr("Daemon mode not yet implemented"); exit(EX_USAGE); } /* ** GETRECIPIENTS -- do a sendto to all recipients. ** ** Parameters: ** none. ** ** Returns: ** none. ** ** Side Effects: ** The set of recipients for this request are ** collected and designated as recipients. */ getrecipients() { return; }