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:
@@ -13,6 +13,9 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
static xtnd_table subcommands[] = {
|
static xtnd_table subcommands[] = {
|
||||||
{"xmit", 0, 0, pop_xmit},
|
{"xmit", 0, 0, pop_xmit},
|
||||||
|
#ifdef XOVER
|
||||||
|
{"xover", 0, 0, pop_xover},
|
||||||
|
#endif
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -18,6 +18,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <protos.h>
|
#include <protos.h>
|
||||||
#define UIDL
|
#define UIDL
|
||||||
|
#define XOVER
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
#define RETURN_PATH_HANDLING
|
#define RETURN_PATH_HANDLING
|
||||||
#endif
|
#endif
|
||||||
@@ -183,9 +184,14 @@ typedef struct { /* Message information */
|
|||||||
is marked for deletion */
|
is marked for deletion */
|
||||||
int retr_flag; /* Flag indicating if message
|
int retr_flag; /* Flag indicating if message
|
||||||
was retrieved */
|
was retrieved */
|
||||||
#ifdef UIDL
|
#if defined(UIDL) || defined(XOVER)
|
||||||
char *msg_id; /* The POP UIDL uniqueifier */
|
char *msg_id; /* The POP UIDL uniqueifier */
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef XOVER
|
||||||
|
char *subject;
|
||||||
|
char *from;
|
||||||
|
char *date;
|
||||||
|
#endif
|
||||||
} MsgInfoList;
|
} MsgInfoList;
|
||||||
|
|
||||||
typedef struct { /* POP parameter block */
|
typedef struct { /* POP parameter block */
|
||||||
@@ -279,6 +285,9 @@ int pop_xtnd(POP *p);
|
|||||||
#ifdef UIDL
|
#ifdef UIDL
|
||||||
int pop_uidl(POP *p);
|
int pop_uidl(POP *p);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef XOVER
|
||||||
|
int pop_xover(POP *p);
|
||||||
|
#endif
|
||||||
int pop_help(POP *p);
|
int pop_help(POP *p);
|
||||||
state_table *pop_get_command(POP *p, char *mp);
|
state_table *pop_get_command(POP *p, char *mp);
|
||||||
void pop_lower(char *buf);
|
void pop_lower(char *buf);
|
||||||
|
Reference in New Issue
Block a user