1 krb5_expand_hostname - Canonicalize a hostname, possibly using name service.
2 ==============================================================================
6 .. c:function:: krb5_error_code krb5_expand_hostname(krb5_context context, const char * host, char ** canonhost_out)
13 **[in]** **context** - Library context
15 **[in]** **host** - Input hostname
17 **[out]** **canonhost_out** - Canonicalized hostname
32 This function canonicalizes orig_hostname, possibly using name service lookups if configuration permits. Use :c:func:`krb5_free_string()` to free *canonhost_out* when it is no longer needed.