X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fpopsbr.h;h=fc06f0b987067ae0469edb5fb3ca2b9a8bcb23d3;hb=05b7f957ba42e79f49b3a62aea2502168c9abf7a;hp=168b8c612a0c74b32102f139defe8a286dea655f;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/h/popsbr.h b/h/popsbr.h index 168b8c6..fc06f0b 100644 --- a/h/popsbr.h +++ b/h/popsbr.h @@ -3,24 +3,7 @@ * popsbr.h -- header for POP client subroutines */ -#if 0 -#if !defined(NNTP) && defined(MPOP) -# define command pop_command -# define multiline pop_multiline -#endif -#endif - -#ifdef NNTP -int pop_set (int, int, int, char *); -#else -int pop_set (int, int, int); -#endif - -#ifdef NNTP -int pop_exists (int (*)()); -#endif - -int pop_init (char *, char *, char *, char *, int, int, int, int, char *); +int pop_init (char *, char *, char *, char *, char *, int, int, char *); int pop_fd (char *, int, char *, int); int pop_stat (int *, int *); int pop_retr (int, int (*)(char *)); @@ -30,31 +13,5 @@ int pop_rset (void); int pop_top (int, int, int (*)(char *)); int pop_quit (void); int pop_done (void); - -#ifdef BPOP -int pop_list (int, int *, int *, int *, int *); -#else +int pop_set (int, int, int); int pop_list (int, int *, int *, int *); -#endif - -#ifdef BPOP -int pop_xtnd (int (*)(), char *, ...); -#endif - -#if defined(MPOP) && !defined(NNTP) -int pop_last (void); -#endif - -#if !defined(NNTP) && defined(MPOP) -/* otherwise they are static functions */ -int command(const char *, ...); -int multiline(void); -#endif - -/* - * Flags for the various pop authentication methods - */ -#define POP_APOP -1 -#define POP_PASSWD 0 -#define POP_RPOP 1 -#define POP_KPOP 2