summaryrefslogtreecommitdiff
path: root/include/resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/resolver.h')
-rw-r--r--include/resolver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/resolver.h b/include/resolver.h
index 3b274c9f..ae77039e 100644
--- a/include/resolver.h
+++ b/include/resolver.h
@@ -41,6 +41,8 @@ int connman_resolver_remove_all(const char *interface);
int connman_resolver_append_public_server(const char *server);
int connman_resolver_remove_public_server(const char *server);
+void connman_resolver_flush(void);
+
#define CONNMAN_RESOLVER_PRIORITY_LOW -100
#define CONNMAN_RESOLVER_PRIORITY_DEFAULT 0
#define CONNMAN_RESOLVER_PRIORITY_HIGH 100
@@ -52,6 +54,7 @@ struct connman_resolver {
const char *server);
int (*remove) (const char *interface, const char *domain,
const char *server);
+ void (*flush) (void);
};
int connman_resolver_register(struct connman_resolver *resolver);