dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / gss_mechs / mech_krb5 / krb5 / rcache / rcfns.c
blob81626667558607053399cc92cb7e4a382e2dc3d0
1 #pragma ident "%Z%%M% %I% %E% SMI"
3 /*
4 * lib/krb5/rcache/rcfns.c
6 * Copyright 2001 by the Massachusetts Institute of Technology.
7 * All Rights Reserved.
9 * Export of this software from the United States of America may
10 * require a specific license from the United States Government.
11 * It is the responsibility of any person or organization contemplating
12 * export to obtain such a license before exporting.
14 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
15 * distribute this software and its documentation for any purpose and
16 * without fee is hereby granted, provided that the above copyright
17 * notice appear in all copies and that both that copyright notice and
18 * this permission notice appear in supporting documentation, and that
19 * the name of M.I.T. not be used in advertising or publicity pertaining
20 * to distribution of the software without specific, written prior
21 * permission. Furthermore if you modify this software you must label
22 * your software as modified software and not distribute it in such a
23 * fashion that it might be confused with the original M.I.T. software.
24 * M.I.T. makes no representations about the suitability of
25 * this software for any purpose. It is provided "as is" without express
26 * or implied warranty.
30 * Dispatch methods for replay cache code.
33 #include "k5-int.h"
34 #include "rc-int.h"
36 krb5_error_code KRB5_CALLCONV
37 krb5_rc_initialize (krb5_context context, krb5_rcache id, krb5_deltat span)
39 return krb5_x(id->ops->init,(context, id, span));
42 krb5_error_code KRB5_CALLCONV
43 krb5_rc_recover_or_initialize (krb5_context context, krb5_rcache id,
44 krb5_deltat span)
46 return krb5_x(id->ops->recover_or_init,(context, id, span));
49 krb5_error_code KRB5_CALLCONV
50 krb5_rc_recover (krb5_context context, krb5_rcache id)
52 return krb5_x((id)->ops->recover,(context, id));
55 krb5_error_code KRB5_CALLCONV
56 krb5_rc_destroy (krb5_context context, krb5_rcache id)
58 return krb5_x((id)->ops->destroy,(context, id));
61 krb5_error_code KRB5_CALLCONV
62 krb5_rc_close (krb5_context context, krb5_rcache id)
64 return krb5_x((id)->ops->close,(context, id));
67 krb5_error_code KRB5_CALLCONV
68 krb5_rc_store (krb5_context context, krb5_rcache id,
69 krb5_donot_replay *dontreplay)
71 return krb5_x((id)->ops->store,(context, id, dontreplay));
74 krb5_error_code KRB5_CALLCONV
75 krb5_rc_expunge (krb5_context context, krb5_rcache id)
77 return krb5_x((id)->ops->expunge,(context, id));
80 krb5_error_code KRB5_CALLCONV
81 krb5_rc_get_lifespan (krb5_context context, krb5_rcache id,
82 krb5_deltat *spanp)
84 return krb5_x((id)->ops->get_span,(context, id, spanp));
87 char *KRB5_CALLCONV
88 krb5_rc_get_name (krb5_context context, krb5_rcache id)
90 return krb5_xc((id)->ops->get_name,(context, id));
93 krb5_error_code KRB5_CALLCONV
94 krb5_rc_resolve (krb5_context context, krb5_rcache id, char *name)
96 return krb5_x((id)->ops->resolve,(context, id, name));