summaryrefslogtreecommitdiff
path: root/gweb/gresolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gweb/gresolv.h')
-rw-r--r--gweb/gresolv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gweb/gresolv.h b/gweb/gresolv.h
index 3402df9..fac14f5 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
}