Fixed a gazillion warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@509 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_dele.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_dele.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
@@ -14,7 +14,8 @@ static char SccsId[] = "@(#)@(#)pop_dele.c 2.1 2.1 3/18/91";
|
|||||||
/*
|
/*
|
||||||
* dele: Delete a message from the POP maildrop
|
* dele: Delete a message from the POP maildrop
|
||||||
*/
|
*/
|
||||||
int pop_dele (POP *p)
|
int
|
||||||
|
pop_dele (POP *p)
|
||||||
{
|
{
|
||||||
MsgInfoList * mp; /* Pointer to message info list */
|
MsgInfoList * mp; /* Pointer to message info list */
|
||||||
int msg_num;
|
int msg_num;
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_dropcopy.c 2.6 2.6 4/3/91";
|
static char SccsId[] = "@(#)@(#)pop_dropcopy.c 2.6 2.6 4/3/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_dropinfo.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_dropinfo.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_get_command.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_get_command.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_get_subcommand.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_get_subcommand.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_init.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_init.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
@@ -21,6 +21,41 @@ AUTH_DAT kdata;
|
|||||||
|
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
|
||||||
|
static
|
||||||
|
int
|
||||||
|
authenticate(POP *p, struct sockaddr_in *addr)
|
||||||
|
{
|
||||||
|
|
||||||
|
#ifdef KERBEROS
|
||||||
|
Key_schedule schedule;
|
||||||
|
KTEXT_ST ticket;
|
||||||
|
char instance[INST_SZ];
|
||||||
|
char version[9];
|
||||||
|
int auth;
|
||||||
|
|
||||||
|
strcpy(instance, "*");
|
||||||
|
auth = krb_recvauth(0L, 0, &ticket, "pop", instance,
|
||||||
|
addr, (struct sockaddr_in *) NULL,
|
||||||
|
&kdata, "", schedule, version);
|
||||||
|
|
||||||
|
if (auth != KSUCCESS) {
|
||||||
|
pop_msg(p, POP_FAILURE, "Kerberos authentication failure: %s",
|
||||||
|
krb_get_err_text(auth));
|
||||||
|
pop_log(p, POP_FAILURE, "%s: (%s.%s@%s) %s", p->client,
|
||||||
|
kdata.pname, kdata.pinst, kdata.prealm, krb_get_err_text(auth));
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
pop_log(p, POP_DEBUG, "%s.%s@%s (%s): ok", kdata.pname,
|
||||||
|
kdata.pinst, kdata.prealm, inet_ntoa(addr->sin_addr));
|
||||||
|
#endif /* DEBUG */
|
||||||
|
|
||||||
|
#endif /* KERBEROS */
|
||||||
|
|
||||||
|
return(POP_SUCCESS);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* init: Start a Post Office Protocol session
|
* init: Start a Post Office Protocol session
|
||||||
*/
|
*/
|
||||||
@@ -190,37 +225,3 @@ pop_init(POP *p,int argcount,char **argmessage)
|
|||||||
|
|
||||||
return(authenticate(p, &cs));
|
return(authenticate(p, &cs));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
authenticate(POP *p, struct sockaddr_in *addr)
|
|
||||||
{
|
|
||||||
|
|
||||||
#ifdef KERBEROS
|
|
||||||
Key_schedule schedule;
|
|
||||||
KTEXT_ST ticket;
|
|
||||||
char instance[INST_SZ];
|
|
||||||
char version[9];
|
|
||||||
int auth;
|
|
||||||
|
|
||||||
strcpy(instance, "*");
|
|
||||||
auth = krb_recvauth(0L, 0, &ticket, "pop", instance,
|
|
||||||
addr, (struct sockaddr_in *) NULL,
|
|
||||||
&kdata, "", schedule, version);
|
|
||||||
|
|
||||||
if (auth != KSUCCESS) {
|
|
||||||
pop_msg(p, POP_FAILURE, "Kerberos authentication failure: %s",
|
|
||||||
krb_get_err_text(auth));
|
|
||||||
pop_log(p, POP_FAILURE, "%s: (%s.%s@%s) %s", p->client,
|
|
||||||
kdata.pname, kdata.pinst, kdata.prealm, krb_get_err_text(auth));
|
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
pop_log(p, POP_DEBUG, "%s.%s@%s (%s): ok", kdata.pname,
|
|
||||||
kdata.pinst, kdata.prealm, inet_ntoa(addr->sin_addr));
|
|
||||||
#endif /* DEBUG */
|
|
||||||
|
|
||||||
#endif /* KERBEROS */
|
|
||||||
|
|
||||||
return(POP_SUCCESS);
|
|
||||||
}
|
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_last.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_last.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_list.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_list.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
@@ -51,7 +51,7 @@ pop_list (POP *p)
|
|||||||
/* Loop through the message information list. Skip deleted messages */
|
/* Loop through the message information list. Skip deleted messages */
|
||||||
for (i = p->msg_count, mp = p->mlp; i > 0; i--, mp++) {
|
for (i = p->msg_count, mp = p->mlp; i > 0; i--, mp++) {
|
||||||
if (!mp->del_flag)
|
if (!mp->del_flag)
|
||||||
(void)fprintf(p->output,"%u %u\r\n",mp->number,mp->length);
|
(void)fprintf(p->output,"%u %lu\r\n",mp->number,mp->length);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* "." signals the end of a multi-line transmission */
|
/* "." signals the end of a multi-line transmission */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_log.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_log.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_lower.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_lower.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_msg.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_msg.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_parse.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_parse.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_pass.c 2.3 2.3 4/2/91";
|
static char SccsId[] = "@(#)@(#)pop_pass.c 2.3 2.3 4/2/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_quit.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_quit.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_rset.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_rset.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_send.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_send.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
@@ -14,6 +14,7 @@ static char SccsId[] = "@(#)@(#)pop_send.c 2.1 2.1 3/18/91";
|
|||||||
/*
|
/*
|
||||||
* sendline: Send a line of a multi-line response to a client.
|
* sendline: Send a line of a multi-line response to a client.
|
||||||
*/
|
*/
|
||||||
|
static
|
||||||
void
|
void
|
||||||
pop_sendline(POP *p, char *buffer)
|
pop_sendline(POP *p, char *buffer)
|
||||||
{
|
{
|
||||||
@@ -23,7 +24,7 @@ pop_sendline(POP *p, char *buffer)
|
|||||||
if (*buffer == POP_TERMINATE) (void)fputc(POP_TERMINATE,p->output);
|
if (*buffer == POP_TERMINATE) (void)fputc(POP_TERMINATE,p->output);
|
||||||
|
|
||||||
/* Look for a <NL> in the buffer */
|
/* Look for a <NL> in the buffer */
|
||||||
if (bp = strchr(buffer,NEWLINE)) *bp = 0;
|
if ((bp = strchr(buffer,NEWLINE))) *bp = 0;
|
||||||
|
|
||||||
/* Send the line to the client */
|
/* Send the line to the client */
|
||||||
(void)fputs(buffer,p->output);
|
(void)fputs(buffer,p->output);
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_stat.c 2.2 2.2 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_stat.c 2.2 2.2 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_updt.c 2.3 2.3 3/20/91";
|
static char SccsId[] = "@(#)@(#)pop_updt.c 2.3 2.3 3/20/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_user.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_user.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_xmit.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_xmit.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)pop_xtnd.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)pop_xtnd.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
@@ -15,8 +15,6 @@ static char SccsId[] = "@(#)@(#)pop_xtnd.c 2.1 2.1 3/18/91";
|
|||||||
* xtnd: Handle extensions to the POP protocol suite
|
* xtnd: Handle extensions to the POP protocol suite
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern xtnd_table * pop_get_subcommand();
|
|
||||||
|
|
||||||
int
|
int
|
||||||
pop_xtnd (POP *p)
|
pop_xtnd (POP *p)
|
||||||
{
|
{
|
||||||
|
@@ -4,15 +4,13 @@
|
|||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#if 0
|
||||||
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
|
||||||
static char SccsId[] = "@(#)@(#)popper.c 2.1 2.1 3/18/91";
|
static char SccsId[] = "@(#)@(#)popper.c 2.1 2.1 3/18/91";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <popper.h>
|
#include <popper.h>
|
||||||
|
|
||||||
extern state_table * pop_get_command();
|
|
||||||
|
|
||||||
int hangup = FALSE ;
|
int hangup = FALSE ;
|
||||||
|
|
||||||
static RETSIGTYPE
|
static RETSIGTYPE
|
||||||
|
@@ -223,16 +223,25 @@ typedef struct { /* POP parameter block */
|
|||||||
parsed list */
|
parsed list */
|
||||||
} POP;
|
} POP;
|
||||||
|
|
||||||
extern int pop_dele();
|
int pop_dele(POP *p);
|
||||||
extern int pop_last();
|
int pop_dropcopy(POP *p, struct passwd *pwp);
|
||||||
extern int pop_list();
|
int pop_dropinfo(POP *p);
|
||||||
extern int pop_pass();
|
int pop_init(POP *p,int argcount,char **argmessage);
|
||||||
extern int pop_quit();
|
int pop_last(POP *p);
|
||||||
extern int pop_rset();
|
int pop_list(POP *p);
|
||||||
extern int pop_send();
|
int pop_parse(POP *p, char *buf);
|
||||||
extern int pop_stat();
|
int pop_pass(POP *p);
|
||||||
extern int pop_updt();
|
int pop_quit(POP *p);
|
||||||
extern int pop_user();
|
int pop_rset(POP *p);
|
||||||
extern int pop_xtnd();
|
int pop_send(POP *p);
|
||||||
extern int pop_xmit();
|
int pop_stat(POP *p);
|
||||||
|
int pop_updt(POP *p);
|
||||||
|
int pop_user(POP *p);
|
||||||
|
int pop_xmit(POP *p);
|
||||||
|
int pop_xtnd(POP *p);
|
||||||
|
state_table *pop_get_command(POP *p, char *mp);
|
||||||
|
void pop_lower(char *buf);
|
||||||
|
xtnd_table *pop_get_subcommand(POP *p);
|
||||||
|
|
||||||
|
int pop_log __P((POP *p, int stat, char *format, ...));
|
||||||
|
int pop_msg __P((POP *p, int stat, char *format, ...));
|
||||||
|
Reference in New Issue
Block a user