summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-13 19:25:04 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-13 19:25:04 +0100
commitaad2c32df36c15ccafaadd5c0f7f71aff4c21995 (patch)
tree74753a68cc3bc5eb3f10aee407388dbec26337fd /include
parent1854341db894fd9efc8aa5eabe32b3a101ec605c (diff)
downloadconnman-aad2c32df36c15ccafaadd5c0f7f71aff4c21995.tar.gz
connman-aad2c32df36c15ccafaadd5c0f7f71aff4c21995.tar.bz2
connman-aad2c32df36c15ccafaadd5c0f7f71aff4c21995.zip
Add improved resolver framework
Diffstat (limited to 'include')
-rw-r--r--include/resolver.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/resolver.h b/include/resolver.h
index 5c023758..d849e08a 100644
--- a/include/resolver.h
+++ b/include/resolver.h
@@ -39,11 +39,19 @@ extern "C" {
struct connman_resolver {
const char *name;
int priority;
+ int (*append) (const char *interface, const char *domain,
+ const char *server);
+ int (*remove) (const char *interface, const char *domain,
+ const char *server);
};
extern int connman_resolver_register(struct connman_resolver *resolver);
extern void connman_resolver_unregister(struct connman_resolver *resolver);
+extern int connman_resolver_append(const char *interface, const char *domain,
+ const char *server);
+extern int connman_resolver_remove_all(const char *interface);
+
#ifdef __cplusplus
}
#endif