1 # include "sendmail.h" 2 3 static char SccsId[] = "@(#)daemon.c 3.1 10/17/81"; 4 5 /* 6 ** DAEMON.C -- routines to use when running as a daemon. 7 */ 8 9 static int DaemonPipe; 10 /* 11 ** GETREQUESTS -- open mail IPC port and get requests. 12 ** 13 ** Parameters: 14 ** none. 15 ** 16 ** Returns: 17 ** none. 18 ** 19 ** Side Effects: 20 ** Waits until some interesting activity occurs. When 21 ** it does, a child is created to process it, and the 22 ** parent waits for completion. Return from this 23 ** routine is always in the child. 24 */ 25 26 getrequests() 27 { 28 syserr("Daemon mode not yet implemented"); 29 exit(EX_USAGE); 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