X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fresolver.h;h=70a02adeaed254654d3874263732b7e3f4d032ba;hb=0e83b35474b8e01ccbaff484665a6f525ecd67fa;hp=0ada1b1bbd866575a42007e98228ae23563c3a70;hpb=a7212a3e398a7f51067068e48749a662a1c052f1;p=platform%2Fupstream%2Fconnman.git diff --git a/include/resolver.h b/include/resolver.h old mode 100644 new mode 100755 index 0ada1b1..70a02ad --- a/include/resolver.h +++ b/include/resolver.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2010 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2012 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -32,15 +32,13 @@ extern "C" { * @short_description: Functions for registering resolver modules */ -int connman_resolver_append(const char *interface, const char *domain, +int connman_resolver_append(int index, const char *domain, const char *server); -int connman_resolver_append_lifetime(const char *interface, const char *domain, +int connman_resolver_append_lifetime(int index, const char *domain, const char *server, unsigned int lifetime); -int connman_resolver_remove(const char *interface, const char *domain, +int connman_resolver_remove(int index, const char *domain, const char *server); -int connman_resolver_remove_all(const char *interface); - -void connman_resolver_flush(void); +int connman_resolver_remove_all(int index); #ifdef __cplusplus }