/* kprin2prin.c */
struct type_KRB5_PrincipalName *krb5_principal2KRB5_PrincipalName
- PROTOTYPE((const krb5_principal , int *));
+ PROTOTYPE((krb5_const_principal , int *));
/* kpriv2priv.c */
struct type_KRB5_KRB__PRIV *krb5_priv2KRB5_KRB__PRIV
const krb5_ticket_times *,
const krb5_enctype,
const krb5_cksumtype,
- const krb5_principal,
+ krb5_const_principal,
krb5_address * const *,
krb5_authdata * const *,
const krb5_data *,
krb5_ccache,
krb5_creds * ));
krb5_error_code krb5_mk_req
- PROTOTYPE((const krb5_principal,
+ PROTOTYPE((krb5_const_principal,
const krb5_flags,
const krb5_checksum *,
krb5_ccache,
krb5_data * ));
krb5_error_code krb5_rd_req_simple
PROTOTYPE((const krb5_data *,
- const krb5_principal,
+ krb5_const_principal,
const krb5_address *,
krb5_tkt_authent * ));
krb5_error_code krb5_rd_req
PROTOTYPE((const krb5_data *,
- const krb5_principal,
+ krb5_const_principal,
const krb5_address *,
krb5_const_pointer,
krb5_error_code (* )(krb5_pointer,
krb5_tkt_authent * ));
krb5_error_code krb5_rd_req_decoded
PROTOTYPE((const krb5_ap_req *,
- const krb5_principal,
+ krb5_const_principal,
const krb5_address *,
krb5_const_pointer,
krb5_error_code (* )(krb5_pointer,
PROTOTYPE((const char *,
krb5_principal * ));
krb5_error_code krb5_unparse_name
- PROTOTYPE((const krb5_principal,
+ PROTOTYPE((krb5_const_principal,
char ** ));
krb5_error_code krb5_unparse_name_ext
- PROTOTYPE((const krb5_principal,
+ PROTOTYPE((krb5_const_principal,
char **,
int *));
krb5_boolean krb5_address_search
PROTOTYPE((const krb5_address *,
const krb5_address *));
krb5_boolean krb5_principal_compare
- PROTOTYPE((const krb5_principal,
- const krb5_principal));
+ PROTOTYPE((krb5_const_principal,
+ krb5_const_principal));
int krb5_fulladdr_order
PROTOTYPE((const krb5_fulladdr *,
const krb5_fulladdr *));
PROTOTYPE((const krb5_data *,
krb5_data **));
krb5_error_code krb5_copy_principal
- PROTOTYPE((const krb5_principal,
+ PROTOTYPE((krb5_const_principal,
krb5_principal *));
krb5_error_code krb5_copy_addresses
PROTOTYPE((krb5_address * const *,
krb5_error_code krb5_free_krbhst
PROTOTYPE((char * const * ));
krb5_error_code krb5_aname_to_localname
- PROTOTYPE((const krb5_principal,
+ PROTOTYPE((krb5_const_principal,
const int,
char * ));
krb5_error_code krb5_get_default_realm
struct type_KRB5_PrincipalName *
krb5_principal2KRB5_PrincipalName(val, error)
-const krb5_principal val;
+krb5_const_principal val;
register int *error;
{
register int i;
*/
krb5_error_code
krb5_copy_principal(inprinc, outprinc)
-const krb5_principal inprinc;
+krb5_const_principal inprinc;
krb5_principal *outprinc;
{
krb5_error_code retval;
const krb5_cksumtype,
krb5_creds * ));
krb5_error_code krb5_walk_realm_tree
- PROTOTYPE((const krb5_principal,
- const krb5_principal,
+ PROTOTYPE((krb5_const_principal,
+ krb5_const_principal,
krb5_principal **));
void krb5_free_realm_tree
PROTOTYPE((const krb5_principal *));
krb5_error_code
krb5_mk_req(server, ap_req_options, checksum, ccache, outbuf)
-const krb5_principal server;
+krb5_const_principal server;
const krb5_flags ap_req_options;
const krb5_checksum *checksum;
krb5_ccache ccache;
krb5_boolean
krb5_principal_compare(princ1, princ2)
-const krb5_principal princ1;
-const krb5_principal princ2;
+krb5_const_principal princ1;
+krb5_const_principal princ2;
{
register krb5_data **p1, **p2;
krb5_rd_req(inbuf, server, sender_addr, fetchfrom, keyproc, keyprocarg,
rcache, authdat)
const krb5_data *inbuf;
-const krb5_principal server;
+krb5_const_principal server;
const krb5_address *sender_addr;
krb5_const_pointer fetchfrom;
krb5_error_code (*keyproc) PROTOTYPE((krb5_pointer,
krb5_rd_req_decoded(req, server, sender_addr, fetchfrom, keyproc, keyprocarg,
rcache, tktauthent)
const krb5_ap_req *req;
-const krb5_principal server;
+krb5_const_principal server;
const krb5_address *sender_addr;
krb5_const_pointer fetchfrom;
krb5_error_code (*keyproc) PROTOTYPE((krb5_pointer,
krb5_error_code
krb5_rd_req_simple(inbuf, server, sender_addr, authdat)
const krb5_data *inbuf;
-const krb5_principal server;
+krb5_const_principal server;
const krb5_address *sender_addr;
krb5_tkt_authent *authdat;
{
DECLARG(const krb5_ticket_times *,timestruct),
DECLARG(const krb5_enctype, etype),
DECLARG(const krb5_cksumtype, sumtype),
- DECLARG(const krb5_principal, sname),
+ DECLARG(krb5_const_principal, sname),
DECLARG(krb5_address * const *, addrs),
DECLARG(krb5_authdata * const *,authorization_data),
DECLARG(const krb5_data *,second_ticket),
OLDDECLARG(const krb5_ticket_times *,timestruct)
OLDDECLARG(const krb5_enctype, etype)
OLDDECLARG(const krb5_cksumtype, sumtype)
-OLDDECLARG(const krb5_principal, sname)
+OLDDECLARG(krb5_const_principal, sname)
OLDDECLARG(krb5_address * const *, addrs)
OLDDECLARG(krb5_authdata * const *,authorization_data)
OLDDECLARG(const krb5_data *,second_ticket)
krb5_error_code
krb5_walk_realm_tree(client, server, tree)
-const krb5_principal client, server;
+krb5_const_principal client, server;
krb5_principal **tree;
{
krb5_error_code retval;
*/
krb5_error_code
krb5_aname_to_localname(aname, lnsize, lname)
-const krb5_principal aname;
+krb5_const_principal aname;
const int lnsize;
char *lname;
{
*/
krb5_error_code
krb5_aname_to_localname(aname, lnsize, lname)
-const krb5_principal aname;
+krb5_const_principal aname;
const int lnsize;
char *lname;
{