Skip to content
  • Thomas Haller's avatar
    core,glib-aux: move nm_hostname_manager_validate_hostname() to shared-utils · 05aa7519
    Thomas Haller authored
    This function is badly named, because it has no NMHostnameManager self
    argument. It's just a simple function that entirely operates on a string
    argument.
    
    Move it away from "nm-hostname-manager.h" to "libnm-glib-aux/nm-shared-utils.h".
    
    Hostname handling is complicated enough. Simple string validation
    functions should not obscure the view on the complicated parts.
    05aa7519