1: /*
2: * Copyright (c) 1989 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #ifndef lint
8: static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
9: static char SccsId[] = "@(#)@(#)pop_stat.c 2.2 2.2 3/18/91";
10: #endif not lint
11:
12: #include <stdio.h>
13: #include <sys/types.h>
14: #include "popper.h"
15:
16: /*
17: * stat: Display the status of a POP maildrop to its client
18: */
19:
20: int pop_stat (p)
21: POP * p;
22: {
23: #ifdef DEBUG
24: if (p->debug) pop_log(p,POP_DEBUG,"%u message(s) (%ld octets).",p->msg_count-p->msgs_deleted,p->drop_size-p->bytes_deleted);
25: #endif DEBUG
26: return (pop_msg (p,POP_SUCCESS,
27: "%u %ld",p->msg_count-p->msgs_deleted,p->drop_size-p->bytes_deleted));
28: }
Defined functions
Defined variables
SccsId
defined in line
9;
never used