Merge 1.8.0~pre4 packaging into master
[pkg-k5-afs_openafs.git] / src / kauth / kaopcodes.h
blob06e081307cda8330d7db95e14cdfee5d3bcf0e76
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
11 * Revision 1.5 88/11/18 09:17:53
12 * This is now obsolete, opcodes are defined in kauth.rg, no opcode names
13 * are used.
15 * Revision 1.4 88/09/20 11:37:36
16 * Added IBM Copyright
18 * Revision 1.3 88/08/29 12:46:27
19 * This checks in several new modules and many updates. The AuthServer
20 * at this point works more or less as described in the NAFS document
21 * released in at the Aug 23-24 1988 workshop.
22 * Tickets are as described in the kerberos.ticket file.
23 * Intergrated w/ MIT's des implementation and the Andrew one-way password
24 * encryption. Uses bcrypt for RSECURE connections. Uses R not Rx.
26 * Revision 1.2 88/07/19 16:19:58
27 * Added GetEntry and ListEntry; other internal changes.
28 * */
30 #define LOWEST_OPCODE 501
31 #define KASETPASSWORD 501
32 #define KAAUTHENTICATE 502
33 #define KAGETTICKET 503
34 #define KASETFIELDS 504
35 #define KACREATEUSER 505
36 #define KADELETEUSER 506
37 #define KAGETENTRY 507
38 #define KALISTENTRY 508
39 #define KACHANGEPASSWORD 509
40 #define KAGETSTATS 510
41 #define HIGHEST_OPCODE 510
43 #define NUMBER_OPCODES (HIGHEST_OPCODE-LOWEST_OPCODE+1)
45 #ifdef OPCODE_NAMES
46 static char *opcode_names[NUMBER_OPCODES] = {
47 "SetPassword",
48 "Authenticate",
49 "GetTicket",
50 "SetFields",
51 "CreateUser",
52 "DeleteUser",
53 "GetEntry",
54 "ListEntry",
55 "ChangePW",
56 "GetStats"
58 #endif