1 # include "sendmail.h"
2 
3 static char	SccsId[] =	"@(#)daemon.c	3.2	10/26/81";
4 
5 /*
6 **  DAEMON.C -- routines to use when running as a daemon.
7 */
8 /*
9 **  GETREQUESTS -- open mail IPC port and get requests.
10 **
11 **	Parameters:
12 **		none.
13 **
14 **	Returns:
15 **		none.
16 **
17 **	Side Effects:
18 **		Waits until some interesting activity occurs.  When
19 **		it does, a child is created to process it, and the
20 **		parent waits for completion.  Return from this
21 **		routine is always in the child.
22 */
23 
24 getrequests()
25 {
26 	syserr("Daemon mode not yet implemented");
27 	getrecipients();
28 	exit(EX_USAGE);
29 	/* initsys(); */
30 }
31 /*
32 **  GETRECIPIENTS -- do a sendto to all recipients.
33 **
34 **	Parameters:
35 **		none.
36 **
37 **	Returns:
38 **		none.
39 **
40 **	Side Effects:
41 **		The set of recipients for this request are
42 **		collected and designated as recipients.
43 */
44 
45 getrecipients()
46 {
47 	return;
48 }
49