diff options
Diffstat (limited to 'crypto/heimdal/lib/krb5/copy_host_realm.c')
-rw-r--r-- | crypto/heimdal/lib/krb5/copy_host_realm.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/crypto/heimdal/lib/krb5/copy_host_realm.c b/crypto/heimdal/lib/krb5/copy_host_realm.c index 38fdfa8..8c4f39b 100644 --- a/crypto/heimdal/lib/krb5/copy_host_realm.c +++ b/crypto/heimdal/lib/krb5/copy_host_realm.c @@ -33,13 +33,22 @@ #include "krb5_locl.h" -RCSID("$Id: copy_host_realm.c,v 1.4 2001/05/14 06:14:45 assar Exp $"); +RCSID("$Id: copy_host_realm.c 22057 2007-11-11 15:13:13Z lha $"); -/* +/** * Copy the list of realms from `from' to `to'. + * + * @param context Kerberos 5 context. + * @param from list of realms to copy from. + * @param to list of realms to copy to, free list of krb5_free_host_realm(). + * + * @return Returns 0 to indicate success. Otherwise an kerberos et + * error code is returned, see krb5_get_error_message(). + * + * @ingroup krb5 */ -krb5_error_code +krb5_error_code KRB5_LIB_FUNCTION krb5_copy_host_realm(krb5_context context, const krb5_realm *from, krb5_realm **to) |