2 % * Copyright 1990-2002 Sun Microsystems, Inc. All rights reserved.
3 % * Use is subject to license terms.
6 /* %#pragma ident "%Z%%M% %I% %E% SMI" *
9 % * RPC protocol information for kwarnd, the usermode daemon that
10 % * assists kinit, kdestroy with kwarnapi. It is kwarnd that executes all
11 % * kwarnapi calls and sends credential cache expiration warning messages.
14 % * File generated from kwarnd.x
18 %#include <sys/types.h>
19 %#include <sys/time.h>
20 %#include <rpc/auth_sys.h>
24 * These are the definitions for the interface to KWARND.
27 #define MAX_PRINCIPAL_LEN 128
29 typedef string WARNING_NAME_T<MAX_PRINCIPAL_LEN>;
31 typedef unsigned int OM_UINT32;
33 struct kwarn_add_warning_arg {
34 WARNING_NAME_T warning_name;
35 long cred_exp_time; /* time in secs after epoch */
38 struct kwarn_add_warning_res {
39 OM_UINT32 status; /* status of kwarn call */
42 struct kwarn_del_warning_arg {
43 WARNING_NAME_T warning_name;
46 struct kwarn_del_warning_res {
47 OM_UINT32 status; /* status of kwarn call */
51 * The server accepts requests only from the loopback address.
52 * Unix authentication is used, and the port must be in the reserved range.
59 * Called by the client to add a cred expiration warning
62 KWARN_ADD_WARNING(kwarn_add_warning_arg) = 1;
65 * Called by the client to delete a cred expiration warning
68 KWARN_DEL_WARNING(kwarn_del_warning_arg) = 2;