30
  X   ˆl–Ü4ý('ÜZÔâ€vã,ÜÅ£“þ_måœl�É#ÍFÜb*Ó{5ÏÁ{‹„„-i[D<†ªoZƒ›Ù«Â896_‹I|¥Žƒî4ÃVŸÇÆ €    ‹      �VÛnÛH}×W°Æ¢–UNEe¸é"Á¢,°hŸ‚´�Ht<Éè‚™Ñ6©ë_ÎM²e7ˆŸæÂsHRCóªm¤†”¸b�Ð7[XÉ¦‚I6û&øílï2»W“EÄðõ•»þ§Õ¼©ÕoÀþÖ¡£ÙÉI'ðy�°ù(xý «FVL_u’;âèêÂ¬ ñ@²ŸEQAK¢ýËb`	×Àä	™T“Ô,«¦Ök¿þ�øà—%{ò«uÓõ¶¼î4ú�BrPšÍÍåÇšU8
ÐžLã]#Ÿà²©È%|BÑ¢TöNuUÅèÊÅ¨€Aé¡ÀkXw«ßHd%»�›pZ¢*$oƒ›Qwò Ò³)-y}<Ã&ïÁ¥s°ÉÊ–IV˜7Vù~«›!‚`ëe'Ó?©·÷XhøÁõz·Ö\Úð”et,Kò®Ñ‡ñ‘U­@³žÍ¼.Tf!ú@ÌÕ¾ÌñÆœØÚæ0OÝÖ%™Ã{¿·5Îá­ßšÔsxçw¶Ö9œ¬«÷ ö5ÏáìÔláòLçÎ1ô²¾µ®à�uçŽÛ\;R¢tÓgÓ&�5gÏg¾“¥Ïh¾Ü¨Ö¿qxÙ)ÝTü'‚^ï4ÚØ›“Â«} ÷¡âš�U?ÐýˆòÚlýÕÆ˜ÃõÔùž¦0µ>§7°5F	,—Ë\m^$ÃO”�‚V¢ÂºÀ£â{NÓ!õ£êO_ŽN)+ã9-;Üc;5Ú‹²(QðŠk”Ï…0OwûÈíÌÓä`Ô=ÖúiRJ(§¿}‰ñÑ€þ™ù��†÷"1Í{ÏwËÃ!'‹ÞZ¸™´L™?¹¸1^¸‘5p­ÂÄè¹üÉ q_è 1ÛØ=™¯˜P;Ì½–»¶Ã!&`& _AüÊEê½_q¥5¢ÓÀ=©0™úmÔû ~¥ ÉAøŒé—I,»ã˜E
]Í5}<Q êækÂ}üccLÔ
F¨Yü5Kf)Ä•EU™n¾´4Ã.™Â8I¶ß{<ÿ1Ñ™J„ê^²›`cs¯èÃìj”×4^¿†Øªöë×™$} }Ö”GFÞh¶ÆGEŠm2©‹%I‚óm4fq7Ôè×7‰“ê¾áÔ™¡&‰­†·wÒ."RÛ¼ÒLˆ[VØ%Ôþe'˜¤¯®÷·Gå¡ý}ÏŒºý‰«xgX	    @   	ˆl–Ým_J
h¥8 ¸&n6ò˜´o�þB[YÆÂè^eÇY•à?ÅƒhAgÄ_ˆI|¥�+y,ÉÈ u    	/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
 * Copyright (C) 2011 by the Massachusetts Institute of Technology.
 * All rights reserved.
 *
 * Export of this software from the United States of America may
 *   require a specific license from the United States Government.
 *   It is the responsibility of any person or organization contemplating
 *   export to obtain such a license before exporting.
 *
 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
 * distribute this software and its documentation for any purpose and
 * without fee is hereby granted, provided that the above copyright
 * notice appear in all copies and that both that copyright notice and
 * this permission notice appear in supporting documentation, and that
 * the name of M.I.T. not be used in advertising or publicity pertaining
 * to distribution of the software without specific, written prior
 * permission.  Furthermore if you modify this software you must label
 * your software as modified software and not distribute it in such a
 * fashion that it might be confused with the original M.I.T. software.
 * M.I.T. makes no representations about the suitability of
 * this software for any purpose.  It is provided "as is" without express
 * or implied warranty.
 */

/*
 * Declarations for credential cache selection module implementors.
 *
 * The ccselect pluggable interface currently has only one supported major
 * version, which is 1.  Major version 1 has a current minor version number of
 * 1.
 *
 * Credential cache selection modules should define a function named
 * ccselect_<modulename>_initvt, matching the signature:
 *
 *   krb5_error_code
 *   ccselect_modname_initvt(krb5_context context, int maj_ver, int min_ver,
 *                           krb5_plugin_vtable vtable);
 *
 * The initvt function should:
 *
 * - Check that the supplied maj_ver number is supported by the module, or
 *   return KRB5_PLUGIN_VER_NOTSUPP if it is not.
 *
 * - Cast the vtable pointer as appropriate for maj_ver:
 *     maj_ver == 1: Cast to krb5_ccselect_vtable
 *
 * - Initialize the methods of the vtable, stopping as appropriate for the
 *   supplied min_ver.  Optional methods may be left uninitialized.
 *
 * Memory for the vtable is allocated by the caller, not by the module.
 */

#ifndef KRB5_CCSELECT_PLUGIN_H
#define KRB5_CCSELECT_PLUGIN_H

#include <krb5/krb5.h>
#include <krb5/plugin.h>

/* An abstract type for credential cache selection module data. */
typedef struct krb5_ccselect_moddata_st *krb5_ccselect_moddata;

#define KRB5_CCSELECT_PRIORITY_AUTHORITATIVE 2
#define KRB5_CCSELECT_PRIORITY_HEURISTIC     1

/*** Method type declarations ***/

/*
 * Mandatory: Initialize module data and set *priority_out to one of the
 * KRB5_CCSELECT_PRIORITY constants above.  Authoritative modules will be
 * consulted before heuristic ones.
 */
typedef krb5_error_code
(*krb5_ccselect_init_fn)(krb5_context context, krb5_ccselect_moddata *data_out,
                         int *prior