8 MsgInfoList
* mp
; /* Pointer to message info list */
11 pop_msg(p
,POP_SUCCESS
,
12 "%d messages (%ld octets)",
13 p
->msg_count
-p
->msgs_deleted
,
14 p
->drop_size
-p
->bytes_deleted
);
16 /* Loop through the message information list. Skip deleted messages */
17 for (i
= p
->msg_count
, mp
= p
->mlp
; i
> 0; i
--, mp
++) {
18 if (!(mp
->flags
& DEL_FLAG
))
19 fprintf(p
->output
,"%u\t%s\t%s\t%s\t%s\t%lu\t%u\r\n",
29 /* "." signals the end of a multi-line transmission */
30 fprintf(p
->output
,".\r\n");
35 return pop_msg(p
, POP_FAILURE
, "Command not implemented.");