From 9065aab47a6fdfacaab34a93e353f3776e317134 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 17 Oct 2000 23:13:25 +0000 Subject: [PATCH] * krb5.tex: krb5_unparse_name_ext(), krb5_build_principal(), krb5_build_principal_va, krb5_build_printicpal_ext() use unsigned ints. * libos.tex: krb5_read_password() takes an unsigned int * as the final argument. * keytab.tex: krb5_kt_get_name() takes an unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12801 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/api/ChangeLog | 11 +++++++++++ doc/api/keytab.tex | 4 ++-- doc/api/krb5.tex | 8 ++++---- doc/api/libos.tex | 6 +++--- 4 files changed, 20 insertions(+), 9 deletions(-) diff --git a/doc/api/ChangeLog b/doc/api/ChangeLog index c91ab80bf..1fb822c26 100644 --- a/doc/api/ChangeLog +++ b/doc/api/ChangeLog @@ -1,3 +1,14 @@ +2000-10-17 Ezra Peisach + + * krb5.tex: krb5_unparse_name_ext(), krb5_build_principal(), + krb5_build_principal_va, krb5_build_printicpal_ext() use unsigned + ints. + + * libos.tex: krb5_read_password() takes an unsigned int * as the + final argument. + + * keytab.tex: krb5_kt_get_name() takes an unsigned int. + 2000-10-16 Ezra Peisach * krb5.tex (krb5_init_context): Parameter is output only. diff --git a/doc/api/keytab.tex b/doc/api/keytab.tex index ce09f58ff..63e27e538 100644 --- a/doc/api/keytab.tex +++ b/doc/api/keytab.tex @@ -42,7 +42,7 @@ Requires that \funcparam{string_name} be of the form ``type:residual'' and ``type'' is a type known to the library. Errors: badly formatted name. - + \begin{funcdecl}{krb5_kt_default_name}{krb5_error_code}{\funcinout} \funcarg{krb5_context}{context} \funcin @@ -116,7 +116,7 @@ If this routine is not available, then KRB5_KT_NOWRITE is returned. \funcout \funcarg{char *}{name} \funcin -\funcarg{int}{namesize} +\funcarg{unsigned int}{namesize} \end{funcdecl} \funcarg{name} is filled in with the first \funcparam{namesize} bytes of diff --git a/doc/api/krb5.tex b/doc/api/krb5.tex index 8af207c29..93cabbd01 100644 --- a/doc/api/krb5.tex +++ b/doc/api/krb5.tex @@ -352,7 +352,7 @@ unable to allocate memory). \funcarg{krb5_const_principal}{principal} \funcinout \funcarg{char **}{name} -\funcarg{int *}{size} +\funcarg{unsigned int *}{size} \end{funcdecl} \funcname{krb5_unparse_name_ext} is designed for applications which @@ -454,7 +454,7 @@ May also be used on the left size of an assignment. \funcout \funcarg{krb5_principal *}{princ} \funcin -\funcarg{int}{rlen} +\funcarg{unsigned int}{rlen} \funcarg{const char *}{realm} \funcarg{char}{*s1, *s2, ..., 0} \end{funcdecl} @@ -463,7 +463,7 @@ May also be used on the left size of an assignment. \funcout \funcarg{krb5_principal *}{princ} \funcin -\funcarg{int}{rlen} +\funcarg{unsigned int}{rlen} \funcarg{const char *}{realm} \funcarg{va_list}{ap} \end{funcdecl} @@ -487,7 +487,7 @@ The last string must be followed in the argument list by a null pointer. \funcout \funcarg{krb5_principal *}{princ} \funcin -\funcarg{int}{rlen} +\funcarg{unsigned int}{rlen} \funcarg{const char *}{realm} \funcarg{}{int len1, char *s1, int len2, char *s2, ..., 0} \end{funcdecl} diff --git a/doc/api/libos.tex b/doc/api/libos.tex index d3f6fafe1..447044fec 100644 --- a/doc/api/libos.tex +++ b/doc/api/libos.tex @@ -365,7 +365,7 @@ principal is determined internally by calling \funcname{krb5_get_host_realm}. The \funcparam{type} argument controls how \funcname{krb5_sname_to_principal} generates the principal name, \funcparam{ret_princ}, for the named service, \funcparam{sname}. -Currently, two values are supported: KRB5_NT_SRV_HOST, and +Currently, two values are supported: KRB5_NT_SRV_HOST, and KRB5_NT_UNKNOWN. If \funcparam{type} is set to @@ -377,7 +377,7 @@ generated in the form KRB5_NT_SRV_HOST. However, if \funcparam{type} is set to KRB5_NT_UNKNOWN, -while the generated principal name will have the form +while the generated principal name will have the form "sname/hostname@LOCAL.REALM" the hostname will not be canonicalized first. It will appear exactly as it was passed in \funcparam{hostname}. @@ -424,7 +424,7 @@ microseconds portion in \funcparam{*microseconds}.} \funcout \funcarg{char *}{return_pwd} \funcinout -\funcarg{int *}{size_return} +\funcarg{unsigned int *}{size_return} \end{funcdecl} Read a password from the keyboard. The first \funcparam{*size_return} -- 2.26.2