/usr/src/openafs-1.6.15/include/afs/kauth.h is in openafs-modules-dkms 1.6.15-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 | /* Machine generated file -- Do NOT edit */
#ifndef _RXGEN_KAUTH_
#define _RXGEN_KAUTH_
#ifdef KERNEL
/* The following 'ifndefs' are not a good solution to the vendor's omission of surrounding all system includes with 'ifndef's since it requires that this file is included after the system includes...*/
#include <afsconfig.h>
#include "afs/param.h"
#ifdef UKERNEL
#include "afs/sysincludes.h"
#include "rx/xdr.h"
#include "rx/rx.h"
#include "rx/rx_globals.h"
#include <ubik.h>
#else /* UKERNEL */
#include "h/types.h"
#ifndef SOCK_DGRAM /* XXXXX */
#include "h/socket.h"
#endif
struct ubik_client;
#ifndef DTYPE_SOCKET /* XXXXX */
#ifndef AFS_LINUX22_ENV
#include "h/file.h"
#endif
#endif
#ifndef S_IFMT /* XXXXX */
#include "h/stat.h"
#endif
#if defined (AFS_OBSD_ENV) && !defined (MLEN)
#include "sys/mbuf.h"
#endif
#ifndef IPPROTO_UDP /* XXXXX */
#include "netinet/in.h"
#endif
#ifndef DST_USA /* XXXXX */
#include "h/time.h"
#endif
#ifndef AFS_LINUX22_ENV
#include "rpc/types.h"
#endif /* AFS_LINUX22_ENV */
#ifndef XDR_GETLONG /* XXXXX */
#ifdef AFS_LINUX22_ENV
#ifndef quad_t
#define quad_t __quad_t
#define u_quad_t __u_quad_t
#endif
#endif
#include "rx/xdr.h"
#endif /* XDR_GETLONG */
#endif /* UKERNEL */
#include "afs/rxgen_consts.h"
#include "afs_osi.h"
#include "rx/rx.h"
#include "rx/rx_globals.h"
#else /* KERNEL */
#include <afs/param.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <rx/xdr.h>
#include <rx/rx.h>
#include <rx/rx_globals.h>
#include <afs/rxgen_consts.h>
#include <ubik.h>
#endif /* KERNEL */
#ifdef AFS_NT40_ENV
#ifndef AFS_RXGEN_EXPORT
#define AFS_RXGEN_EXPORT __declspec(dllimport)
#endif /* AFS_RXGEN_EXPORT */
#else /* AFS_NT40_ENV */
#define AFS_RXGEN_EXPORT
#endif /* AFS_NT40_ENV */
struct ka_CBS {
afs_int32 SeqLen;
char *SeqBody;
};
typedef struct ka_CBS ka_CBS;
bool_t xdr_ka_CBS(XDR *xdrs, ka_CBS *objp);
struct ka_BBS {
afs_int32 MaxSeqLen;
afs_int32 SeqLen;
char *SeqBody;
};
typedef struct ka_BBS ka_BBS;
bool_t xdr_ka_BBS(XDR *xdrs, ka_BBS *objp);
#define MAXKAKVNO 127
#define KAFNORMAL 0x001
#define KAFFREE 0x002
#define KAFOLDKEYS 0x010
#define KAFSPECIAL 0x100
#define KAFASSOCROOT 0x200
#define KAFASSOC 0x400
#define KAFADMIN 0x004
#define KAFNOTGS 0x008
#define KAFNOSEAL 0x020
#define KAFNOCPW 0x040
#define KAFNEWASSOC 0x080
#define KAF_SETTABLE_FLAGS (KAFADMIN | KAFNOTGS | KAFNOSEAL | KAFNOCPW | KAFNEWASSOC)
struct EncryptionKey {
char key[8];
};
typedef struct EncryptionKey EncryptionKey;
bool_t xdr_EncryptionKey(XDR *xdrs, EncryptionKey *objp);
#define KAMAJORVERSION 5
#define KAMINORVERSION 2
#ifndef NEVERDATE
#define NEVERDATE 037777777777 /* a date that will never come */
#endif
#ifndef Date
#define Date afs_uint32
#endif
#if !defined(AFS_HPUX_ENV) && !defined(AFS_NT40_ENV) && !defined(AFS_LINUX20_ENV)
#define AUTH_DBM_LOG
#endif
typedef char *kaname;
bool_t xdr_kaname(XDR *xdrs, kaname *objp);
struct kaident {
char name[64];
char instance[64];
};
typedef struct kaident kaident;
bool_t xdr_kaident(XDR *xdrs, kaident *objp);
struct kaentryinfo {
afs_int32 minor_version;
afs_int32 flags;
afs_uint32 user_expiration;
afs_uint32 modification_time;
struct kaident modification_user;
afs_uint32 change_password_time;
afs_int32 max_ticket_lifetime;
afs_int32 key_version;
EncryptionKey key;
afs_uint32 keyCheckSum;
afs_uint32 misc_auth_bytes;
afs_int32 reserved3;
afs_int32 reserved4;
};
typedef struct kaentryinfo kaentryinfo;
bool_t xdr_kaentryinfo(XDR *xdrs, kaentryinfo *objp);
struct kasstats {
afs_int32 minor_version;
afs_int32 allocs;
afs_int32 frees;
afs_int32 cpws;
afs_int32 reserved1;
afs_int32 reserved2;
afs_int32 reserved3;
afs_int32 reserved4;
};
typedef struct kasstats kasstats;
bool_t xdr_kasstats(XDR *xdrs, kasstats *objp);
struct katimeval {
afs_int32 tv_sec;
afs_int32 tv_usec;
};
typedef struct katimeval katimeval;
bool_t xdr_katimeval(XDR *xdrs, katimeval *objp);
struct karpcstats {
int requests;
int aborts;
};
typedef struct karpcstats karpcstats;
bool_t xdr_karpcstats(XDR *xdrs, karpcstats *objp);
struct kadstats {
afs_int32 minor_version;
afs_int32 host;
afs_uint32 start_time;
afs_int32 hashTableUtilization;
struct karpcstats Authenticate;
struct karpcstats ChangePassword;
struct karpcstats GetTicket;
struct karpcstats CreateUser;
struct karpcstats SetPassword;
struct karpcstats SetFields;
struct karpcstats DeleteUser;
struct karpcstats GetEntry;
struct karpcstats ListEntry;
struct karpcstats GetStats;
struct karpcstats GetPassword;
struct karpcstats GetRandomKey;
struct karpcstats Debug;
struct karpcstats UAuthenticate;
struct karpcstats UGetTicket;
struct karpcstats Unlock;
struct karpcstats LockStatus;
afs_int32 string_checks;
afs_int32 reserved1;
afs_int32 reserved2;
afs_int32 reserved3;
afs_int32 reserved4;
};
typedef struct kadstats kadstats;
bool_t xdr_kadstats(XDR *xdrs, kadstats *objp);
#define KADEBUGKCINFOSIZE 25
struct ka_kcInfo {
afs_uint32 used;
afs_int32 kvno;
char primary;
char keycksum;
char principal[64];
};
typedef struct ka_kcInfo ka_kcInfo;
bool_t xdr_ka_kcInfo(XDR *xdrs, ka_kcInfo *objp);
struct ka_debugInfo {
afs_int32 minorVersion;
afs_int32 host;
afs_uint32 startTime;
int noAuth;
afs_uint32 lastTrans;
char lastOperation[16];
char lastAuth[256];
char lastUAuth[256];
char lastTGS[256];
char lastUTGS[256];
char lastAdmin[256];
char lastTGSServer[256];
char lastUTGSServer[256];
afs_uint32 nextAutoCPW;
int updatesRemaining;
afs_uint32 dbHeaderRead;
afs_int32 dbVersion;
afs_int32 dbFreePtr;
afs_int32 dbEofPtr;
afs_int32 dbKvnoPtr;
afs_int32 dbSpecialKeysVersion;
afs_int32 cheader_lock;
afs_int32 keycache_lock;
afs_int32 kcVersion;
int kcSize;
int kcUsed;
struct ka_kcInfo kcInfo[KADEBUGKCINFOSIZE];
afs_int32 reserved1;
afs_int32 reserved2;
afs_int32 reserved3;
afs_int32 reserved4;
};
typedef struct ka_debugInfo ka_debugInfo;
bool_t xdr_ka_debugInfo(XDR *xdrs, ka_debugInfo *objp);
#define KAA_STATINDEX 18
extern int KAA_Authenticate_old(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern int ubik_KAA_Authenticate_old(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern afs_int32 SKAA_Authenticate_old(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern int KAA_Authenticate(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern int ubik_KAA_Authenticate(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern afs_int32 SKAA_Authenticate(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern int KAA_AuthenticateV2(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern int ubik_KAA_AuthenticateV2(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern afs_int32 SKAA_AuthenticateV2(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_uint32 start_time,
/*IN */ afs_uint32 end_time,
/*IN */ struct ka_CBS * request,
/*I/O*/ struct ka_BBS * answer);
extern int KAA_ChangePassword(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * arequest,
/*I/O*/ struct ka_BBS * oanswer);
extern int ubik_KAA_ChangePassword(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * arequest,
/*I/O*/ struct ka_BBS * oanswer);
extern afs_int32 SKAA_ChangePassword(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * arequest,
/*I/O*/ struct ka_BBS * oanswer);
#define KAT_STATINDEX 19
extern int KAT_GetTicket_old(
/*IN */ struct rx_connection *z_conn,
/*IN */ afs_int32 kvno,
/*IN */ kaname auth_domain,
/*IN */ struct ka_CBS * aticket,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * atimes,
/*I/O*/ struct ka_BBS * oanswer);
extern int ubik_KAT_GetTicket_old(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ afs_int32 kvno,
/*IN */ kaname auth_domain,
/*IN */ struct ka_CBS * aticket,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * atimes,
/*I/O*/ struct ka_BBS * oanswer);
extern afs_int32 SKAT_GetTicket_old(
/*IN */ struct rx_call *z_call,
/*IN */ afs_int32 kvno,
/*IN */ kaname auth_domain,
/*IN */ struct ka_CBS * aticket,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * atimes,
/*I/O*/ struct ka_BBS * oanswer);
extern int KAT_GetTicket(
/*IN */ struct rx_connection *z_conn,
/*IN */ afs_int32 kvno,
/*IN */ kaname auth_domain,
/*IN */ struct ka_CBS * aticket,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * atimes,
/*I/O*/ struct ka_BBS * oanswer);
extern int ubik_KAT_GetTicket(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ afs_int32 kvno,
/*IN */ kaname auth_domain,
/*IN */ struct ka_CBS * aticket,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * atimes,
/*I/O*/ struct ka_BBS * oanswer);
extern afs_int32 SKAT_GetTicket(
/*IN */ struct rx_call *z_call,
/*IN */ afs_int32 kvno,
/*IN */ kaname auth_domain,
/*IN */ struct ka_CBS * aticket,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ struct ka_CBS * atimes,
/*I/O*/ struct ka_BBS * oanswer);
#define KAM_STATINDEX 20
extern int KAM_SetPassword(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 kvno,
/*IN */ EncryptionKey password);
extern int ubik_KAM_SetPassword(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 kvno,
/*IN */ EncryptionKey password);
extern afs_int32 SKAM_SetPassword(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 kvno,
/*IN */ EncryptionKey password);
extern int KAM_SetFields(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 flags,
/*IN */ afs_uint32 user_expiration,
/*IN */ afs_int32 max_ticket_lifetime,
/*IN */ afs_int32 maxAssociates,
/*IN */ afs_uint32 misc_auth_bytes,
/*IN */ afs_int32 spare2);
extern int ubik_KAM_SetFields(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 flags,
/*IN */ afs_uint32 user_expiration,
/*IN */ afs_int32 max_ticket_lifetime,
/*IN */ afs_int32 maxAssociates,
/*IN */ afs_uint32 misc_auth_bytes,
/*IN */ afs_int32 spare2);
extern afs_int32 SKAM_SetFields(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 flags,
/*IN */ afs_uint32 user_expiration,
/*IN */ afs_int32 max_ticket_lifetime,
/*IN */ afs_int32 maxAssociates,
/*IN */ afs_uint32 misc_auth_bytes,
/*IN */ afs_int32 spare2);
extern int KAM_CreateUser(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ EncryptionKey password);
extern int ubik_KAM_CreateUser(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ EncryptionKey password);
extern afs_int32 SKAM_CreateUser(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ EncryptionKey password);
extern int KAM_DeleteUser(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance);
extern int ubik_KAM_DeleteUser(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance);
extern afs_int32 SKAM_DeleteUser(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance);
extern int KAM_GetEntry(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 major_version,
/*OUT*/ struct kaentryinfo * entry);
extern int ubik_KAM_GetEntry(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 major_version,
/*OUT*/ struct kaentryinfo * entry);
extern afs_int32 SKAM_GetEntry(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 major_version,
/*OUT*/ struct kaentryinfo * entry);
extern int KAM_ListEntry(
/*IN */ struct rx_connection *z_conn,
/*IN */ afs_int32 previous_index,
/*OUT*/ afs_int32 * index,
/*OUT*/ afs_int32 * count,
/*OUT*/ kaident * name);
extern int ubik_KAM_ListEntry(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ afs_int32 previous_index,
/*OUT*/ afs_int32 * index,
/*OUT*/ afs_int32 * count,
/*OUT*/ kaident * name);
extern afs_int32 SKAM_ListEntry(
/*IN */ struct rx_call *z_call,
/*IN */ afs_int32 previous_index,
/*OUT*/ afs_int32 * index,
/*OUT*/ afs_int32 * count,
/*OUT*/ kaident * name);
extern int KAM_GetStats(
/*IN */ struct rx_connection *z_conn,
/*IN */ afs_int32 major_version,
/*OUT*/ afs_int32 * admin_accounts,
/*OUT*/ struct kasstats * statics,
/*OUT*/ struct kadstats * dynamics);
extern int ubik_KAM_GetStats(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ afs_int32 major_version,
/*OUT*/ afs_int32 * admin_accounts,
/*OUT*/ struct kasstats * statics,
/*OUT*/ struct kadstats * dynamics);
extern afs_int32 SKAM_GetStats(
/*IN */ struct rx_call *z_call,
/*IN */ afs_int32 major_version,
/*OUT*/ afs_int32 * admin_accounts,
/*OUT*/ struct kasstats * statics,
/*OUT*/ struct kadstats * dynamics);
extern int KAM_Debug(
/*IN */ struct rx_connection *z_conn,
/*IN */ afs_int32 major_version,
/*IN */ int checkDB,
/*OUT*/ struct ka_debugInfo * info);
extern int ubik_KAM_Debug(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ afs_int32 major_version,
/*IN */ int checkDB,
/*OUT*/ struct ka_debugInfo * info);
extern afs_int32 SKAM_Debug(
/*IN */ struct rx_call *z_call,
/*IN */ afs_int32 major_version,
/*IN */ int checkDB,
/*OUT*/ struct ka_debugInfo * info);
extern int KAM_GetPassword(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*OUT*/ EncryptionKey * password);
extern int ubik_KAM_GetPassword(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*OUT*/ EncryptionKey * password);
extern afs_int32 SKAM_GetPassword(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*OUT*/ EncryptionKey * password);
extern int KAM_GetRandomKey(
/*IN */ struct rx_connection *z_conn,
/*OUT*/ EncryptionKey * password);
extern int ubik_KAM_GetRandomKey(
struct ubik_client *aclient, afs_int32 aflags,
/*OUT*/ EncryptionKey * password);
extern afs_int32 SKAM_GetRandomKey(
/*IN */ struct rx_call *z_call,
/*OUT*/ EncryptionKey * password);
extern int KAM_Unlock(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 spare1,
/*IN */ afs_int32 spare2,
/*IN */ afs_int32 spare3,
/*IN */ afs_int32 spare4);
extern int ubik_KAM_Unlock(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 spare1,
/*IN */ afs_int32 spare2,
/*IN */ afs_int32 spare3,
/*IN */ afs_int32 spare4);
extern afs_int32 SKAM_Unlock(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*IN */ afs_int32 spare1,
/*IN */ afs_int32 spare2,
/*IN */ afs_int32 spare3,
/*IN */ afs_int32 spare4);
extern int KAM_LockStatus(
/*IN */ struct rx_connection *z_conn,
/*IN */ kaname name,
/*IN */ kaname instance,
/*OUT*/ afs_int32 * lockeduntil,
/*IN */ afs_int32 spare1,
/*IN */ afs_int32 spare2,
/*IN */ afs_int32 spare3,
/*IN */ afs_int32 spare4);
extern int ubik_KAM_LockStatus(
struct ubik_client *aclient, afs_int32 aflags,
/*IN */ kaname name,
/*IN */ kaname instance,
/*OUT*/ afs_int32 * lockeduntil,
/*IN */ afs_int32 spare1,
/*IN */ afs_int32 spare2,
/*IN */ afs_int32 spare3,
/*IN */ afs_int32 spare4);
extern afs_int32 SKAM_LockStatus(
/*IN */ struct rx_call *z_call,
/*IN */ kaname name,
/*IN */ kaname instance,
/*OUT*/ afs_int32 * lockeduntil,
/*IN */ afs_int32 spare1,
/*IN */ afs_int32 spare2,
/*IN */ afs_int32 spare3,
/*IN */ afs_int32 spare4);
extern int KAA_ExecuteRequest(struct rx_call *);
extern int KAT_ExecuteRequest(struct rx_call *);
extern int KAM_ExecuteRequest(struct rx_call *);
/* Opcode-related useful stats for package: KAA_ */
#define KAA_LOWEST_OPCODE 1
#define KAA_HIGHEST_OPCODE 22
#define KAA_NUMBER_OPCODES 4
#define KAA_NO_OF_STAT_FUNCS 4
AFS_RXGEN_EXPORT
extern const char *KAA_function_names[];
/* Opcode-related useful stats for package: KAT_ */
#define KAT_LOWEST_OPCODE 3
#define KAT_HIGHEST_OPCODE 23
#define KAT_NUMBER_OPCODES 2
#define KAT_NO_OF_STAT_FUNCS 2
AFS_RXGEN_EXPORT
extern const char *KAT_function_names[];
/* Opcode-related useful stats for package: KAM_ */
#define KAM_LOWEST_OPCODE 4
#define KAM_HIGHEST_OPCODE 15
#define KAM_NUMBER_OPCODES 12
#define KAM_NO_OF_STAT_FUNCS 12
AFS_RXGEN_EXPORT
extern const char *KAM_function_names[];
#endif /* _RXGEN_KAUTH_ */
|