platform/platform.c: Integrate platform DNS hook
parent
1affb5c169
commit
a77e9efbed
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "platform/amvideo.h"
|
#include "platform/amvideo.h"
|
||||||
#include "platform/config.h"
|
#include "platform/config.h"
|
||||||
|
#include "platform/dns.h"
|
||||||
#include "platform/hwmon.h"
|
#include "platform/hwmon.h"
|
||||||
#include "platform/misc.h"
|
#include "platform/misc.h"
|
||||||
#include "platform/nusec.h"
|
#include "platform/nusec.h"
|
||||||
|
@ -30,6 +31,12 @@ HRESULT platform_hook_init_alls(
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr = dns_platform_hook_init(&cfg->dns);
|
||||||
|
|
||||||
|
if (FAILED(hr)) {
|
||||||
|
return hr;
|
||||||
|
}
|
||||||
|
|
||||||
hr = hwmon_hook_init(&cfg->hwmon);
|
hr = hwmon_hook_init(&cfg->hwmon);
|
||||||
|
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
|
@ -78,6 +85,12 @@ HRESULT platform_hook_init_nu(
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr = dns_platform_hook_init(&cfg->dns);
|
||||||
|
|
||||||
|
if (FAILED(hr)) {
|
||||||
|
return hr;
|
||||||
|
}
|
||||||
|
|
||||||
hr = hwmon_hook_init(&cfg->hwmon);
|
hr = hwmon_hook_init(&cfg->hwmon);
|
||||||
|
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
|
|
Loading…
Reference in New Issue