From 14f465f816db485afe0ba7a8ea1eaeb9879fc369 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 19 Apr 1990 14:31:05 +0000 Subject: [PATCH] add const to function signatures where appropriate add functions formerly in libkrb. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@517 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/los-proto.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/include/krb5/los-proto.h b/src/include/krb5/los-proto.h index 85e905849..578139cd0 100644 --- a/src/include/krb5/los-proto.h +++ b/src/include/krb5/los-proto.h @@ -48,17 +48,25 @@ int krb5_net_write krb5_error_code krb5_os_localaddr PROTOTYPE((krb5_address ***)); krb5_error_code krb5_sendto_kdc - PROTOTYPE((krb5_data *, - krb5_data *, + PROTOTYPE((const krb5_data *, + const krb5_data *, krb5_data * )); krb5_error_code krb5_get_krbhst - PROTOTYPE((krb5_data *, + PROTOTYPE((const krb5_data *, char *** )); krb5_error_code krb5_free_krbhst PROTOTYPE((char ** )); krb5_error_code krb5_aname_to_localname - PROTOTYPE((krb5_principal, - int, + PROTOTYPE((const krb5_principal, + const int, char * )); +krb5_error_code krb5_get_default_realm + PROTOTYPE((const int, + char * )); +krb5_error_code krb5_get_host_realm + PROTOTYPE((const char *, + char *** )); +krb5_error_code krb5_free_host_realm + PROTOTYPE((char * const * )); #endif /* KRB5_LIBOS_PROTO__ */ -- 2.26.2