X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fpop3.h;h=578482b70a4f7b36a29d6e7aa4d9d51db6cc5647;hb=HEAD;hp=6f018ce816fb99f8658a03a014302f044d514953;hpb=eaca75aa6c133cc6ff3d707f7ae8dbfbe51a6d2a;p=dockapps%2Fwmnotify.git diff --git a/src/pop3.h b/src/pop3.h index 6f018ce..578482b 100644 --- a/src/pop3.h +++ b/src/pop3.h @@ -1,4 +1,10 @@ -/* pop3.h */ +/* + * pop3.h + * + * Copyright (C) 2003 Hugo Villeneuve + * + * This file is released under the GPLv2 + */ #ifndef POP3_H #define POP3_H 1 @@ -12,7 +18,6 @@ #include #include - /* Exported variables */ #undef _SCOPE_ #ifdef POP3_M @@ -21,23 +26,16 @@ # define _SCOPE_ extern #endif -/* POP3 responses may be up to 512 characters long, including the terminating - CRLF. */ -#define POP3_IN_BUF_SIZE 512 +#define POP3_ENDL "\r\n" /* CRLF */ #define POP3_CMD_USERNAME "USER" #define POP3_CMD_PASSWORD "PASS" #define POP3_CMD_STAT "STAT" #define POP3_CMD_QUIT "QUIT" -#define POP3_ENDL "\r\n" /* CRLF */ - #define POP3_RSP_SUCCESS "+OK" #define POP3_RSP_FAILURE "-ERR" - -int -POP3_CheckForNewMail( void ); - +int POP3_CheckForNewMail(void); #endif /* POP3_H */