/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
*
* Copyright 1990,1991 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.
*
*
* Function prototypes for Kerberos V5 library internal functions.
*/
#ifndef KRB5_INT_FUNC_PROTO__
#define KRB5_INT_FUNC_PROTO__
krb5_principal *);
int *);
const char *attr,
const char *value);
krb5_flags *fields);
#define IS_TGS_PRINC(c, p) \
(krb5_princ_size((c), (p)) == 2 && \
/* Utility functions for zero-terminated enctype lists. */
krb5_enctype **new_list);
krb5_kdc_req *,
void *),
void *gcvt_data,
/*
* Solaris Kerberos
* Modified to return the krb5_kdc_req associated with request_data
* for use by the DTrace probes.
*/
const krb5_ticket_times *timestruct,
const krb5_enctype *ktypes,
krb5_address *const *addrs,
krb5_authdata *const *authorization_data,
krb5_pa_data *const *padata,
const krb5_data *second_ticket,
krb5_kdc_req *,
void *),
void *pacb_data,
krb5_kdc_req **retreq);
/* Solaris Kerberos - see krb5int_make_tgs_request_ext */
krb5_address *const *address,
krb5_kdc_req *,
void *),
void *pacb_data,
krb5_kdc_req **retreq);
krb5_address *const *address,
const char *hostname_used);
const krb5_ticket_times *,
const krb5_enctype *,
krb5_const_principal, krb5_address *const *,
krb5_authdata *const *,
krb5_pa_data *const *, const krb5_data *,
krb5_creds *,
krb5_kdc_req *,
void *),
void *gcvt_data, krb5_response *,
krb5_keyblock **subkey);
/* The subkey field is an output parameter; if a
* tgs-rep is received then the subkey will be filled
* in with the subkey needed to decrypt the TGS
* response. Otherwise it will be set to null.
*/
const krb5_keyblock *, krb5_keyusage,
krb5_kdc_rep ** );
/* Utility functions for zero-terminated enctype lists. */
krb5_enctype **new_list);
#endif /* KRB5_INT_FUNC_PROTO__ */