%/* % * Copyright 1990-2002 Sun Microsystems, Inc. All rights reserved. % * Use is subject to license terms. % */ % %/* % * 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 %#include %#include %#include % /* * These are the definitions for the interface to KWARND. */ #define MAX_PRINCIPAL_LEN 128 typedef string WARNING_NAME_T; 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;