-static struct connman_driver resolvfile_driver = {
- .name = "resolvconf",
- .type = CONNMAN_ELEMENT_TYPE_RESOLVER,
- .priority = CONNMAN_DRIVER_PRIORITY_LOW,
- .probe = resolvfile_probe,
+static struct connman_resolver resolvfile_resolver = {
+ .name = "resolvfile",
+ .priority = CONNMAN_RESOLVER_PRIORITY_LOW,
+ .append = resolvfile_append,