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