home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <string.h>
- #include "project.h"
- delmail (mailno, llstart)
- int mailno;
- struct ll * llstart;
- {
- struct ll * llentry ;
- if (cmddbg == TRUE)
- printf("CALL delmail (mailno = %d, llstart = OMITTED)", mailno) ;
- if ((llentry = llnofind(mailno, llstart)) == NULL)
- return ;
- llentry->status = DELETED ;
- }
- /* undelete the mail from the internal linked lists */
- udelmail (mailno, llptr)
- int mailno;
- struct ll * llptr;
- {
- struct ll * llentry ;
- if (cmddbg == TRUE)
- printf("CALL udelmail (mailno = %d, llptr = OMITTED)", mailno) ;
- if ((llentry = llnofind(mailno, llptr)) == NULL)
- return ;
- llentry->status = ACTIVE ;
- }
- /* end of functions for working the mailbox in view */
-
-