-: 0:Source:rcfns.c -: 0:Graph:/var/tsitkova/Sources/v10/trunk/src/lib/krb5/rcache/rcfns.so.gcno -: 0:Data:/var/tsitkova/Sources/v10/trunk/src/lib/krb5/rcache/rcfns.so.gcda -: 0:Runs:1602 -: 0:Programs:1 -: 1:/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ -: 2:/* lib/krb5/rcache/rcfns.c */ -: 3:/* -: 4: * Copyright 2001 by the Massachusetts Institute of Technology. -: 5: * All Rights Reserved. -: 6: * -: 7: * Export of this software from the United States of America may -: 8: * require a specific license from the United States Government. -: 9: * It is the responsibility of any person or organization contemplating -: 10: * export to obtain such a license before exporting. -: 11: * -: 12: * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -: 13: * distribute this software and its documentation for any purpose and -: 14: * without fee is hereby granted, provided that the above copyright -: 15: * notice appear in all copies and that both that copyright notice and -: 16: * this permission notice appear in supporting documentation, and that -: 17: * the name of M.I.T. not be used in advertising or publicity pertaining -: 18: * to distribution of the software without specific, written prior -: 19: * permission. Furthermore if you modify this software you must label -: 20: * your software as modified software and not distribute it in such a -: 21: * fashion that it might be confused with the original M.I.T. software. -: 22: * M.I.T. makes no representations about the suitability of -: 23: * this software for any purpose. It is provided "as is" without express -: 24: * or implied warranty. -: 25: */ -: 26: -: 27:/* -: 28: * Dispatch methods for replay cache code. -: 29: */ -: 30: -: 31:#include "k5-int.h" -: 32:#include "rc-int.h" -: 33: -: 34:krb5_error_code KRB5_CALLCONV 4: 35:krb5_rc_initialize (krb5_context context, krb5_rcache id, krb5_deltat span) -: 36:{ 4: 37: return krb5_x(id->ops->init,(context, id, span)); -: 38:} -: 39: -: 40:krb5_error_code KRB5_CALLCONV 962: 41:krb5_rc_recover_or_initialize (krb5_context context, krb5_rcache id, -: 42: krb5_deltat span) -: 43:{ 962: 44: return krb5_x(id->ops->recover_or_init,(context, id, span)); -: 45:} -: 46: -: 47:krb5_error_code KRB5_CALLCONV 8: 48:krb5_rc_recover (krb5_context context, krb5_rcache id) -: 49:{ 8: 50: return krb5_x((id)->ops->recover,(context, id)); -: 51:} -: 52: -: 53:krb5_error_code KRB5_CALLCONV 4: 54:krb5_rc_destroy (krb5_context context, krb5_rcache id) -: 55:{ 4: 56: return krb5_x((id)->ops->destroy,(context, id)); -: 57:} -: 58: -: 59:krb5_error_code KRB5_CALLCONV 946: 60:krb5_rc_close (krb5_context context, krb5_rcache id) -: 61:{ 946: 62: return krb5_x((id)->ops->close,(context, id)); -: 63:} -: 64: -: 65:krb5_error_code KRB5_CALLCONV 62: 66:krb5_rc_store (krb5_context context, krb5_rcache id, -: 67: krb5_donot_replay *dontreplay) -: 68:{ 62: 69: return krb5_x((id)->ops->store,(context, id, dontreplay)); -: 70:} -: 71: -: 72:krb5_error_code KRB5_CALLCONV #####: 73:krb5_rc_expunge (krb5_context context, krb5_rcache id) -: 74:{ #####: 75: return krb5_x((id)->ops->expunge,(context, id)); -: 76:} -: 77: -: 78:krb5_error_code KRB5_CALLCONV #####: 79:krb5_rc_get_lifespan (krb5_context context, krb5_rcache id, -: 80: krb5_deltat *spanp) -: 81:{ #####: 82: return krb5_x((id)->ops->get_span,(context, id, spanp)); -: 83:} -: 84: -: 85:char *KRB5_CALLCONV 48: 86:krb5_rc_get_name (krb5_context context, krb5_rcache id) -: 87:{ 48: 88: return krb5_xc((id)->ops->get_name,(context, id)); -: 89:} -: 90: -: 91:krb5_error_code KRB5_CALLCONV 974: 92:krb5_rc_resolve (krb5_context context, krb5_rcache id, char *name) -: 93:{ 974: 94: return krb5_x((id)->ops->resolve,(context, id, name)); -: 95:}