const char * valvula_get_domain ( const char *  address)

Allows to get the domain part of the provided address.

Parameters
addressThe address that is being queried to report its domain part.
Returns
A reference to the domain or NULL if it fails. If the function receives a domain, the function reports a domain.

Referenced by valvula_address_rule_match().