24 #ifndef __UTIL_HOST_OS_INFO_H__ 25 #define __UTIL_HOST_OS_INFO_H__ 27 #define SC_HINFO_IS_IPV6 0 28 #define SC_HINFO_IS_IPV4 1 void SCHInfoCleanResources(void)
int SCHInfoGetHostOSFlavour(const char *)
Retrieves the host os flavour, given an ipv4/ipv6 address as a string.
void SCHInfoRegisterTests(void)
void SCHInfoLoadFromConfig(void)
Load the host os policy information from the configuration.
int SCHInfoGetIPv6HostOSFlavour(uint8_t *)
Retrieves the host os flavour, given an ipv6 address in the raw address format.
int SCHInfoGetIPv4HostOSFlavour(uint8_t *)
Retrieves the host os flavour, given an ipv4 address in the raw address format.
int SCHInfoAddHostOSInfo(const char *, const char *, int)
Used to add the host-os-info data obtained from the conf.