diff options
author | Zhang zhengguang <zhengguang.zhang@intel.com> | 2014-07-17 10:37:39 +0800 |
---|---|---|
committer | Zhang zhengguang <zhengguang.zhang@intel.com> | 2014-07-17 10:37:39 +0800 |
commit | 1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7 (patch) | |
tree | 6e991827d28537f7f40f20786c2354fd04a9fdad /gweb/gresolv.h | |
parent | fbe905ab58ecc31fe64c410c5f580cadc30e7f04 (diff) | |
download | connman-1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7.tar.gz connman-1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7.tar.bz2 connman-1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7.zip |
Imported Upstream version 1.24upstream/1.24
Diffstat (limited to 'gweb/gresolv.h')
-rw-r--r-- | gweb/gresolv.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gweb/gresolv.h b/gweb/gresolv.h index 3402df96..fac14f54 100644 --- a/gweb/gresolv.h +++ b/gweb/gresolv.h @@ -22,6 +22,7 @@ #ifndef __G_RESOLV_H #define __G_RESOLV_H +#include <stdbool.h> #include <stdint.h> #include <glib.h> @@ -58,16 +59,16 @@ void g_resolv_unref(GResolv *resolv); void g_resolv_set_debug(GResolv *resolv, GResolvDebugFunc func, gpointer user_data); -gboolean g_resolv_add_nameserver(GResolv *resolv, const char *address, +bool g_resolv_add_nameserver(GResolv *resolv, const char *address, uint16_t port, unsigned long flags); void g_resolv_flush_nameservers(GResolv *resolv); guint g_resolv_lookup_hostname(GResolv *resolv, const char *hostname, GResolvResultFunc func, gpointer user_data); -gboolean g_resolv_cancel_lookup(GResolv *resolv, guint id); +bool g_resolv_cancel_lookup(GResolv *resolv, guint id); -gboolean g_resolv_set_address_family(GResolv *resolv, int family); +bool g_resolv_set_address_family(GResolv *resolv, int family); #ifdef __cplusplus } |