X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/25967c79a7c6f91ccdaa982a6c3e0d9c12f90412..e00dc84d4ef84f1b939c8090d49729b41377421d:/uip/popsbr.h diff --git a/uip/popsbr.h b/uip/popsbr.h index 1e825317..3e70fe75 100644 --- a/uip/popsbr.h +++ b/uip/popsbr.h @@ -1,13 +1,18 @@ -/* popsbr.h -- header for POP client subroutines - */ +/* popsbr.h -- POP client subroutines + * + * This code is Copyright (c) 2017, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ /* TLS flags */ -#define P_INITTLS 0x01 -#define P_NOVERIFY 0x02 -int pop_init (char *, char *, char *, char *, int, int, char *, int, - const char *); -int pop_stat (int *, int *); -int pop_retr (int, int (*)(void *, char *), void *); -int pop_dele (int); -int pop_quit (void); -int pop_done (void); +#define P_STARTTLS 0x01 +#define P_INITTLS 0x02 +#define P_TLSENABLEMASK 0x03 +#define P_NOVERIFY 0x04 + +int pop_init(char *, char *, char *, char *, int, int, char *, int, const char *); +int pop_stat(int *, int *); +int pop_retr(int, int (*)(void *, char *), void *); +int pop_dele(int); +int pop_quit(void); +int pop_done(void);