blob: bb69a520667c62d19c52ef52fa935b06c25e9278 (
plain)
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
|
%/*
% * Copyright 1990-2002 Sun Microsystems, Inc. All rights reserved.
% * Use is subject to license terms.
% */
%
/* %#pragma ident "%Z%%M% %I% %E% SMI" *
%
%/*
% * RPC protocol information for kwarnd, the usermode daemon that
% * assists kinit, kdestroy with kwarnapi. It is kwarnd that executes all
% * kwarnapi calls and sends credential cache expiration warning messages.
% *
% * File generated from kwarnd.x
% */
%
%
%#include <sys/types.h>
%#include <sys/time.h>
%#include <rpc/auth_sys.h>
%#include <locale.h>
%
/*
* These are the definitions for the interface to KWARND.
*/
#define MAX_PRINCIPAL_LEN 128
typedef string WARNING_NAME_T<MAX_PRINCIPAL_LEN>;
typedef unsigned int OM_UINT32;
struct kwarn_add_warning_arg {
WARNING_NAME_T warning_name;
long cred_exp_time; /* time in secs after epoch */
};
struct kwarn_add_warning_res {
OM_UINT32 status; /* status of kwarn call */
};
struct kwarn_del_warning_arg {
WARNING_NAME_T warning_name;
};
struct kwarn_del_warning_res {
OM_UINT32 status; /* status of kwarn call */
};
/*
* The server accepts requests only from the loopback address.
* Unix authentication is used, and the port must be in the reserved range.
*/
program KWARNPROG {
version KWARNVERS {
/*
* Called by the client to add a cred expiration warning
*/
kwarn_add_warning_res
KWARN_ADD_WARNING(kwarn_add_warning_arg) = 1;
/*
* Called by the client to delete a cred expiration warning
*/
kwarn_del_warning_res
KWARN_DEL_WARNING(kwarn_del_warning_arg) = 2;
} = 1;
} = 100134;
|