source: trunk/third/nmh/h/popsbr.h @ 12455

Revision 12455, 1.2 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1
2/*
3 * popsbr.h -- header for POP client subroutines
4 *
5 * $Id: popsbr.h,v 1.1.1.1 1999-02-07 18:14:06 danw Exp $
6 */
7
8#if 0
9#if !defined(NNTP) && defined(MPOP)
10# define command pop_command
11# define multiline pop_multiline
12#endif
13#endif
14
15#ifdef NNTP
16int pop_set (int, int, int, char *);
17#else
18int pop_set (int, int, int);
19#endif
20
21#ifdef NNTP
22int pop_exists (int (*)());
23#endif
24
25int pop_init (char *, char *, char *, int, int);
26int pop_fd (char *, int, char *, int);
27int pop_stat (int *, int *);
28int pop_retr (int, int (*)());
29int pop_dele (int);
30int pop_noop (void);
31int pop_rset (void);
32int pop_top (int, int, int (*)());
33int pop_quit (void);
34int pop_done (void);
35
36#ifdef BPOP
37int pop_list (int, int *, int *, int *, int *);
38#else
39int pop_list (int, int *, int *, int *);
40#endif
41
42#ifdef BPOP
43int pop_xtnd (int (*)(), char *, ...);
44#endif
45
46#if defined(MPOP) && !defined(NNTP)
47int pop_last (void);
48#endif
49
50#if !defined(NNTP) && defined(MPOP)
51/* otherwise they are static functions */
52int command(const char *, ...);
53int multiline(void);
54#endif
55
56/*
57 * Flags for the various pop authentication methods
58 */
59#define POP_APOP   -1
60#define POP_PASSWD  0
61#define POP_RPOP    1
62#define POP_KPOP    2
Note: See TracBrowser for help on using the repository browser.