comparison 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
comparison
equal deleted inserted replaced
186:7d1f26e7c728 187:166008a80f03
2 protocol.h 2 protocol.h
3 3
4 Functions related with the NNTP protocol which are useful for both 4 Functions related with the NNTP protocol which are useful for both
5 the server and the client. 5 the server and the client.
6 6
7 $Id: protocol.h 227 2000-10-26 21:21:13Z bears $ 7 $Id: protocol.h 306 2001-09-01 15:57:45Z enz $
8 */ 8 */
9 9
10 #ifndef PRT_H 10 #ifndef PRT_H
11 #define PRT_H 11 #define PRT_H
12 12
31 #define STAT_BODY_FOLLOWS 222 31 #define STAT_BODY_FOLLOWS 222
32 #define STAT_ART_RETRIEVED 223 32 #define STAT_ART_RETRIEVED 223
33 #define STAT_OVERS_FOLLOW 224 33 #define STAT_OVERS_FOLLOW 224
34 #define STAT_NEW_GRP_FOLLOW 231 34 #define STAT_NEW_GRP_FOLLOW 231
35 #define STAT_POST_OK 240 35 #define STAT_POST_OK 240
36 #define STAT_AUTH_ACCEPTED 281 36 #define STAT_AUTH_ACCEPTED 250
37 #define STAT_AUTH_ACCEPTED_DEPREC 281
37 38
38 #define STAT_SEND_ART 340 39 #define STAT_SEND_ART 340
39 #define STAT_MORE_AUTH_REQUIRED 381 40 #define STAT_MORE_AUTH_REQUIRED_DEPREC 381
40 41
41 #define STAT_NO_SUCH_GRP 411 42 #define STAT_NO_SUCH_GRP 411
42 #define STAT_NO_GRP_SELECTED 412 43 #define STAT_NO_GRP_SELECTED 412
43 #define STAT_NO_ART_SELECTED 420 44 #define STAT_NO_ART_SELECTED 420
44 #define STAT_NO_NEXT_ART 421 45 #define STAT_NO_NEXT_ART 421
45 #define STAT_NO_PREV_ART 422 46 #define STAT_NO_PREV_ART 422
46 #define STAT_NO_SUCH_NUMB 423 47 #define STAT_NO_SUCH_NUMB 423
47 #define STAT_NO_SUCH_ID 430 48 #define STAT_NO_SUCH_ID 430
48 #define STAT_ART_REJECTED 437 49 #define STAT_ART_REJECTED 437
49 #define STAT_POST_FAILED 441 50 #define STAT_POST_FAILED 441
50 #define STAT_AUTH_REQUIRED 480 51 #define STAT_AUTH_REQUIRED 450
51 #define STAT_AUTH_REJECTED 482 52 #define STAT_AUTH_REJECTED 452
53 #define STAT_AUTH_REQUIRED_DEPREC 480
54 #define STAT_AUTH_REJECTED_DEPREC 482
52 55
53 #define STAT_NO_SUCH_CMD 500 56 #define STAT_NO_SUCH_CMD 500
54 #define STAT_SYNTAX_ERR 501 57 #define STAT_SYNTAX_ERR 501
55 #define STAT_NO_PERMISSION 502 58 #define STAT_NO_PERMISSION 502
56 #define STAT_PROGRAM_FAULT 503 59 #define STAT_PROGRAM_FAULT 503