diff options
author | Theodore Tso <tytso@mit.edu> | 1994-08-09 02:13:15 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1994-08-09 02:13:15 +0000 |
commit | 8404900f651f30e54ac908bf54d1e2eb3c6d630d (patch) | |
tree | 45d1f0e40d3ab1881c65f0eb9cd828eab8133a5b /src/appl/mailquery/pop.h | |
parent | aa9d934827a728b1cc43571f57608f2e6ad827dc (diff) | |
download | krb5-8404900f651f30e54ac908bf54d1e2eb3c6d630d.tar.gz krb5-8404900f651f30e54ac908bf54d1e2eb3c6d630d.tar.xz krb5-8404900f651f30e54ac908bf54d1e2eb3c6d630d.zip |
Added John Brezak's port of mailquery to krb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4073 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/mailquery/pop.h')
-rw-r--r-- | src/appl/mailquery/pop.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/appl/mailquery/pop.h b/src/appl/mailquery/pop.h new file mode 100644 index 0000000000..e7ffc4ff23 --- /dev/null +++ b/src/appl/mailquery/pop.h @@ -0,0 +1,35 @@ +/* + * (c) Copyright 1994 HEWLETT-PACKARD COMPANY + * + * To anyone who acknowledges that this file is provided + * "AS IS" without any express or implied warranty: + * permission to use, copy, modify, and distribute this + * file for any purpose is hereby granted without fee, + * provided that the above copyright notice and this + * notice appears in all copies, and that the name of + * Hewlett-Packard Company not be used in advertising or + * publicity pertaining to distribution of the software + * without specific, written prior permission. Hewlett- + * Packard Company makes no representations about the + * suitability of this software for any purpose. + * + * $Id$ + * + */ + +/* defines for pop library */ + +#define NOTOK (-1) +#define OK 0 +#define DONE 1 + +#define DEFMAILHOST "mailhost" + +int pop_init(), pop_getline(); +char *get_errmsg(); +int pop_command(); +int pop_stat(); +int pop_retr(); +char *concat(); + +extern char Errmsg[]; |