From 6a3813781d9e1fa6598ede1a7b7bc29fadead70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 24 Apr 2005 07:46:59 +0000 Subject: [PATCH] =?UTF-8?q?spelling,=20from=20Bj=C3=B6rn=20Sandell=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14905 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_address.3 | 24 +++++++++++------------- lib/krb5/krb5_aname_to_localname.3 | 6 +++--- lib/krb5/krb5_data.3 | 22 +++++++++++----------- lib/krb5/krb5_get_krbhst.3 | 10 +++++----- lib/krb5/krb5_krbhst_init.3 | 8 ++++---- lib/krb5/krb5_set_default_realm.3 | 2 +- 6 files changed, 35 insertions(+), 37 deletions(-) diff --git a/lib/krb5/krb5_address.3 b/lib/krb5/krb5_address.3 index 1546478a5..fdb9f9927 100644 --- a/lib/krb5/krb5_address.3 +++ b/lib/krb5/krb5_address.3 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2003 Kungliga Tekniska Högskolan +.\" Copyright (c) 2003, 2005 Kungliga Tekniska Högskolan .\" (Royal Institute of Technology, Stockholm, Sweden). .\" All rights reserved. .\" @@ -31,7 +31,7 @@ .\" .\" $Id$ .\" -.Dd March 11, 2002 +.Dd April 24, 2005 .Dt KRB5_ADDRESS 3 .Os HEIMDAL .Sh NAME @@ -244,11 +244,9 @@ and the .Fa h_addr_list component. .Fa Sa_size -should be initially contain the size of the +should initially contain the size of the .Fa sa , and after the call, it will contain the actual length of the address. -.Fa sa -argument. .Pp .Fn krb5_h_addr2addr works like @@ -256,14 +254,14 @@ works like with the exception that it operates on a .Li krb5_address instead of a -.Li struct sockaddr +.Li struct sockaddr . .Pp .Fn krb5_anyaddr fills in a .Li "struct sockaddr" .Fa sa that can be used to -.Xf bind 3 +.Xf bind 2 to. .Fa Sa_size should be initially contain the size of the @@ -273,27 +271,27 @@ and after the call, it will contain the actual length of the address. .Fn krb5_print_address prints the address in .Fa addr -to the a string +to the string .Fa string that have the length .Fa len . If .Fa ret_len -if not +is not .Dv NULL , -it will be filled in length of the string if size where unlimited (not +it will be filled with the length of the string if size where unlimited (not included the final .Ql \e0 ) . .Pp .Fn krb5_parse_address -Returns the resolving a hostname in +Returns the resolved a hostname in .Fa string to the .Li krb5_addresses .Fa addresses . .Pp .Fn krb5_address_order -compares to addresses +compares the addresses .Fa addr1 and .Fa addr2 @@ -307,7 +305,7 @@ compares the addresses .Fa addr1 and .Fa addr2 . -returns +Returns .Dv TRUE if the two addresses are the same. .Pp diff --git a/lib/krb5/krb5_aname_to_localname.3 b/lib/krb5/krb5_aname_to_localname.3 index 32a38be45..368459a39 100644 --- a/lib/krb5/krb5_aname_to_localname.3 +++ b/lib/krb5/krb5_aname_to_localname.3 @@ -31,7 +31,7 @@ .\" .\" $Id$ .\" -.Dd March 17, 2003 +.Dd April 24, 2005 .Dt KRB5_ANAME_TO_LOCALNAME 3 .Os HEIMDAL .Sh NAME @@ -57,9 +57,9 @@ and then returns the local name of the principal. .Pp If .Fa name -isn't in one of the local realms and error is returned. +isn't in one of the local realms an error is returned. .Pp -If size +If the size .Fa ( lnsize ) of the local name .Fa ( lname ) diff --git a/lib/krb5/krb5_data.3 b/lib/krb5/krb5_data.3 index 4961bd17a..9c55840bb 100644 --- a/lib/krb5/krb5_data.3 +++ b/lib/krb5/krb5_data.3 @@ -31,18 +31,18 @@ .\" .\" $Id$ .\" -.Dd March 20, 2003 +.Dd April 24, 2005 .Dt KRB5_DATA 3 .Os HEIMDAL .Sh NAME -.Nm krb5_data -.Nm krb5_data_zero -.Nm krb5_data_free -.Nm krb5_free_data_contents -.Nm krb5_free_data -.Nm krb5_data_alloc -.Nm krb5_data_realloc -.Nm krb5_data_copy +.Nm krb5_data , +.Nm krb5_data_zero , +.Nm krb5_data_free , +.Nm krb5_free_data_contents , +.Nm krb5_free_data , +.Nm krb5_data_alloc , +.Nm krb5_data_realloc , +.Nm krb5_data_copy , .Nm krb5_copy_data .Nd operates on the Kerberos datatype krb5_data .Sh LIBRARY @@ -101,13 +101,13 @@ frees the data in .Fa p and .Fa p -itself . +itself. .Pp .Fn krb5_data_alloc allocates .Fa len bytes in -.Fa p +.Fa p . Returns 0 or an error. .Pp .Fn krb5_data_realloc diff --git a/lib/krb5/krb5_get_krbhst.3 b/lib/krb5/krb5_get_krbhst.3 index f1e0da1df..148f28dd5 100644 --- a/lib/krb5/krb5_get_krbhst.3 +++ b/lib/krb5/krb5_get_krbhst.3 @@ -31,14 +31,14 @@ .\" .\" $Id$ .\" -.Dd June 17, 2001 +.Dd April 24, 2005 .Dt KRB5_GET_KRBHST 3 .Os HEIMDAL .Sh NAME -.Nm krb5_get_krbhst -.Nm krb5_get_krb_admin_hst -.Nm krb5_get_krb_changepw_hst -.Nm krb5_get_krb524hst +.Nm krb5_get_krbhst , +.Nm krb5_get_krb_admin_hst , +.Nm krb5_get_krb_changepw_hst , +.Nm krb5_get_krb524hst , .Nm krb5_free_krbhst .Nd lookup Kerberos KDC hosts .Sh LIBRARY diff --git a/lib/krb5/krb5_krbhst_init.3 b/lib/krb5/krb5_krbhst_init.3 index 3f2228663..8dfef997b 100644 --- a/lib/krb5/krb5_krbhst_init.3 +++ b/lib/krb5/krb5_krbhst_init.3 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2001 Kungliga Tekniska Högskolan +.\" Copyright (c) 2001-2005 Kungliga Tekniska Högskolan .\" (Royal Institute of Technology, Stockholm, Sweden). .\" All rights reserved. .\" @@ -31,7 +31,7 @@ .\" .\" $Id$ .\" -.Dd June 17, 2001 +.Dd April 24, 2005 .Dt KRB5_KRBHST_INIT 3 .Os HEIMDAL .Sh NAME @@ -110,7 +110,7 @@ this is a large message, so use transport that can handle that. .Pp For each call to .Fn krb5_krbhst_next -information a new host is returned. The former function returns in +information on a new host is returned. The former function returns in .Fa host a pointer to a structure containing information about the host, such as protocol, hostname, and port: @@ -155,7 +155,7 @@ that will return a that can then be used for communicating with the server mentioned. .Sh EXAMPLES The following code will print the KDCs of the realm -.Dq MY.REALM . +.Dq MY.REALM : .Bd -literal -offset indent krb5_krbhst_handle handle; char host[MAXHOSTNAMELEN]; diff --git a/lib/krb5/krb5_set_default_realm.3 b/lib/krb5/krb5_set_default_realm.3 index f5f58bb0a..d314b82bf 100644 --- a/lib/krb5/krb5_set_default_realm.3 +++ b/lib/krb5/krb5_set_default_realm.3 @@ -94,7 +94,7 @@ frees all memory allocated by .Pp .Fn krb5_get_default_realm returns the first default realm for this host. -The realm returned should be free with +The realm returned should be freed with .Fn free . .Pp .Fn krb5_get_default_realms