comparison lib-src/pop.h @ 3650:bdfcf05f635b

[xemacs-hg @ 2006-11-01 20:55:09 by adrian] From: Jerry James <james@xemacs.org> Subject: [PATCH 21.5] POP sync To: XEmacs Patches <xemacs-patches@xemacs.org> Date: Fri, 11 Aug 2006 12:24:54 -0600 Message-ID: <m3k65fb05l.fsf@jerrypc.cs.usu.edu>
author adrian
date Wed, 01 Nov 2006 20:55:14 +0000
parents 023b83f4e54b
children 308d34e9f07d
comparison
equal deleted inserted replaced
3649:60b01bffb67f 3650:bdfcf05f635b
1 /* pop.h: Header file for the "pop.c" client POP3 protocol. 1 /* pop.h: Header file for the "pop.c" client POP3 protocol.
2 Copyright (c) 1991,1993 Free Software Foundation, Inc. 2 Copyright (C) 1991, 1993, 2002, 2003, 2004,
3 2005, 2006 Free Software Foundation, Inc.
3 Written by Jonathan Kamens, jik@security.ov.com. 4 Written by Jonathan Kamens, jik@security.ov.com.
4 5
5 This file is part of XEmacs. 6 This file is part of XEmacs.
6 7
7 XEmacs is free software; you can redistribute it and/or modify 8 XEmacs is free software; you can redistribute it and/or modify
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 16 GNU General Public License for more details.
16 17
17 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
18 along with XEmacs; see the file COPYING. If not, write to 19 along with XEmacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02111-1307, USA. */ 21 Boston, MA 02110-1301, USA. */
22
23 /* Synched up with: FSF 22.0.50. */
21 24
22 #include <stdio.h> 25 #include <stdio.h>
23 26
24 #define GETLINE_MIN 1024 /* the getline buffer starts out this */ 27 #define GETLINE_MIN 1024 /* the getline buffer starts out this */
25 /* size */ 28 /* size */
57 extern popserver pop_open _ARGS((char *host, char *username, char *password, 60 extern popserver pop_open _ARGS((char *host, char *username, char *password,
58 int flags)); 61 int flags));
59 extern int pop_stat _ARGS((popserver server, int *count, int *size)); 62 extern int pop_stat _ARGS((popserver server, int *count, int *size));
60 extern int pop_list _ARGS((popserver server, int message, int **IDs, 63 extern int pop_list _ARGS((popserver server, int message, int **IDs,
61 int **size)); 64 int **size));
62 extern char *pop_retrieve _ARGS((popserver server, int message, int markfrom)); 65 extern int pop_retrieve _ARGS((popserver server, int message, int markfrom,
66 char **));
63 extern int pop_retrieve_first _ARGS((popserver server, int message, 67 extern int pop_retrieve_first _ARGS((popserver server, int message,
64 char **response)); 68 char **response));
65 extern int pop_retrieve_next _ARGS((popserver server, char **line)); 69 extern int pop_retrieve_next _ARGS((popserver server, char **line));
66 extern int pop_retrieve_flush _ARGS((popserver server)); 70 extern int pop_retrieve_flush _ARGS((popserver server));
67 extern int pop_top_first _ARGS((popserver server, int message, int lines, 71 extern int pop_top_first _ARGS((popserver server, int message, int lines,