14535Seric # include "sendmail.h"
24535Seric 
3*4628Seric static char	SccsId[] =	"@(#)daemon.c	3.2	10/26/81";
44535Seric 
54535Seric /*
64535Seric **  DAEMON.C -- routines to use when running as a daemon.
74535Seric */
84535Seric /*
94535Seric **  GETREQUESTS -- open mail IPC port and get requests.
104535Seric **
114535Seric **	Parameters:
124535Seric **		none.
134535Seric **
144535Seric **	Returns:
154535Seric **		none.
164535Seric **
174535Seric **	Side Effects:
184535Seric **		Waits until some interesting activity occurs.  When
194535Seric **		it does, a child is created to process it, and the
204535Seric **		parent waits for completion.  Return from this
214535Seric **		routine is always in the child.
224535Seric */
234535Seric 
244535Seric getrequests()
254535Seric {
264535Seric 	syserr("Daemon mode not yet implemented");
27*4628Seric 	getrecipients();
284535Seric 	exit(EX_USAGE);
29*4628Seric 	/* initsys(); */
304535Seric }
314535Seric /*
324535Seric **  GETRECIPIENTS -- do a sendto to all recipients.
334535Seric **
344535Seric **	Parameters:
354535Seric **		none.
364535Seric **
374535Seric **	Returns:
384535Seric **		none.
394535Seric **
404535Seric **	Side Effects:
414535Seric **		The set of recipients for this request are
424535Seric **		collected and designated as recipients.
434535Seric */
444535Seric 
454535Seric getrecipients()
464535Seric {
474535Seric 	return;
484535Seric }
49