Mercurial > noffle
diff src/protocol.h @ 187:166008a80f03 noffle
[svn] src/client.c,src/protocol.h: perform authentication at connect time,
accept new and deprecated authentication status codes.
author | enz |
---|---|
date | Sat, 01 Sep 2001 16:57:45 +0100 |
parents | 1c7303c71f66 |
children | 24d4cd032da5 |
line wrap: on
line diff
--- a/src/protocol.h Sun Aug 05 09:27:17 2001 +0100 +++ b/src/protocol.h Sat Sep 01 16:57:45 2001 +0100 @@ -4,7 +4,7 @@ Functions related with the NNTP protocol which are useful for both the server and the client. - $Id: protocol.h 227 2000-10-26 21:21:13Z bears $ + $Id: protocol.h 306 2001-09-01 15:57:45Z enz $ */ #ifndef PRT_H @@ -33,10 +33,11 @@ #define STAT_OVERS_FOLLOW 224 #define STAT_NEW_GRP_FOLLOW 231 #define STAT_POST_OK 240 -#define STAT_AUTH_ACCEPTED 281 +#define STAT_AUTH_ACCEPTED 250 +#define STAT_AUTH_ACCEPTED_DEPREC 281 #define STAT_SEND_ART 340 -#define STAT_MORE_AUTH_REQUIRED 381 +#define STAT_MORE_AUTH_REQUIRED_DEPREC 381 #define STAT_NO_SUCH_GRP 411 #define STAT_NO_GRP_SELECTED 412 @@ -47,8 +48,10 @@ #define STAT_NO_SUCH_ID 430 #define STAT_ART_REJECTED 437 #define STAT_POST_FAILED 441 -#define STAT_AUTH_REQUIRED 480 -#define STAT_AUTH_REJECTED 482 +#define STAT_AUTH_REQUIRED 450 +#define STAT_AUTH_REJECTED 452 +#define STAT_AUTH_REQUIRED_DEPREC 480 +#define STAT_AUTH_REJECTED_DEPREC 482 #define STAT_NO_SUCH_CMD 500 #define STAT_SYNTAX_ERR 501