Removed old garbage and added SKEY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@857 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
/* LINTLIBRARY */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Header file for the POP programs
|
* Header file for the POP programs
|
||||||
*/
|
*/
|
||||||
@@ -92,19 +90,17 @@
|
|||||||
#define K_LOCK_UN LOCK_UN /* Unlock */
|
#define K_LOCK_UN LOCK_UN /* Unlock */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NULLCP ((char *) 0)
|
#ifndef TRUE
|
||||||
#define SPACE 32
|
|
||||||
#define TAB 9
|
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#define NEWLINE '\n'
|
#endif
|
||||||
|
|
||||||
#define MAXUSERNAMELEN 65
|
#define MAXUSERNAMELEN 65
|
||||||
#define MAXDROPLEN 64
|
#define MAXDROPLEN 64
|
||||||
#define MAXLINELEN 1024
|
#define MAXLINELEN 1024
|
||||||
#define MAXMSGLINELEN 1024
|
#define MAXMSGLINELEN 1024
|
||||||
#define MAXCMDLEN 4
|
#define MAXCMDLEN 4
|
||||||
#define MAXPARMCOUNT 5
|
#define MAXPARMCOUNT 10
|
||||||
#define MAXPARMLEN 10
|
#define MAXPARMLEN 10
|
||||||
#define ALLOC_MSGS 20
|
#define ALLOC_MSGS 20
|
||||||
#define MAIL_COMMAND "/usr/lib/sendmail"
|
#define MAIL_COMMAND "/usr/lib/sendmail"
|
||||||
@@ -121,6 +117,10 @@
|
|||||||
#include <maillock.h>
|
#include <maillock.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(SKEY)
|
||||||
|
#include <skey.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(KRB4_MAILDIR)
|
#if defined(KRB4_MAILDIR)
|
||||||
#define POP_MAILDIR KRB4_MAILDIR
|
#define POP_MAILDIR KRB4_MAILDIR
|
||||||
#elif defined(_PATH_MAILDIR)
|
#elif defined(_PATH_MAILDIR)
|
||||||
@@ -146,8 +146,6 @@
|
|||||||
#define POP_TERMINATE '.'
|
#define POP_TERMINATE '.'
|
||||||
#define POP_TIMEOUT 120 /* timeout connection after this many secs */
|
#define POP_TIMEOUT 120 /* timeout connection after this many secs */
|
||||||
|
|
||||||
extern int errno;
|
|
||||||
|
|
||||||
extern int pop_timeout;
|
extern int pop_timeout;
|
||||||
|
|
||||||
extern int hangup;
|
extern int hangup;
|
||||||
@@ -252,6 +250,13 @@ typedef struct { /* POP parameter block */
|
|||||||
int parm_count; /* Number of parameters in
|
int parm_count; /* Number of parameters in
|
||||||
parsed list */
|
parsed list */
|
||||||
int kerberosp; /* Using KPOP? */
|
int kerberosp; /* Using KPOP? */
|
||||||
|
#ifdef KERBEROS
|
||||||
|
AUTH_DAT kdata;
|
||||||
|
#endif
|
||||||
|
#ifdef SKEY
|
||||||
|
struct skey sk; /* Skey state */
|
||||||
|
int permit_passwd; /* allow cleartext pwd? */
|
||||||
|
#endif
|
||||||
} POP;
|
} POP;
|
||||||
|
|
||||||
int pop_dele(POP *p);
|
int pop_dele(POP *p);
|
||||||
@@ -273,6 +278,7 @@ int pop_xtnd(POP *p);
|
|||||||
#ifdef UIDL
|
#ifdef UIDL
|
||||||
int pop_uidl(POP *p);
|
int pop_uidl(POP *p);
|
||||||
#endif
|
#endif
|
||||||
|
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);
|
||||||
xtnd_table *pop_get_subcommand(POP *p);
|
xtnd_table *pop_get_subcommand(POP *p);
|
||||||
|
Reference in New Issue
Block a user