Add support for xover.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1589 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-04-18 00:36:35 +00:00
parent bab8258a2d
commit b86b203978
2 changed files with 13 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ RCSID("$Id$");
static xtnd_table subcommands[] = {
{"xmit", 0, 0, pop_xmit},
#ifdef XOVER
{"xover", 0, 0, pop_xover},
#endif
{NULL}
};

View File

@@ -18,6 +18,7 @@
#include <config.h>
#include <protos.h>
#define UIDL
#define XOVER
#define DEBUG
#define RETURN_PATH_HANDLING
#endif
@@ -183,9 +184,14 @@ typedef struct { /* Message information */
is marked for deletion */
int retr_flag; /* Flag indicating if message
was retrieved */
#ifdef UIDL
#if defined(UIDL) || defined(XOVER)
char *msg_id; /* The POP UIDL uniqueifier */
#endif
#ifdef XOVER
char *subject;
char *from;
char *date;
#endif
} MsgInfoList;
typedef struct { /* POP parameter block */
@@ -279,6 +285,9 @@ int pop_xtnd(POP *p);
#ifdef UIDL
int pop_uidl(POP *p);
#endif
#ifdef XOVER
int pop_xover(POP *p);
#endif
int pop_help(POP *p);
state_table *pop_get_command(POP *p, char *mp);
void pop_lower(char *buf);