diff options
author | Justin Clift <jclift@redhat.com> | 2014-02-06 16:24:25 +0100 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-02-13 11:20:34 -0800 |
commit | 3c20c8427f0062c88cb90bac3c345addc8bbfb73 (patch) | |
tree | 4c1e2cd997e5bb5818f5a17937a8cc637fc91cc7 /libglusterfs/src | |
parent | 3571066deedfe858ef37f09d6ad2160e5dd7b803 (diff) |
Clean up some weirdness with the gf_resolve inet defines
Change-Id: I6bf6101aa0b5d6624891a8ebed2ac1fec2e11e1c
Reviewed-on: http://review.gluster.org/6948
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/common-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index e3b019b9e85..f877590f4ca 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -115,7 +115,8 @@ typedef int (*gf_cmp) (void *, void *); void gf_global_variable_init(void); -in_addr_t gf_resolve_ip (const char *hostname, void **dnscache); +int32_t gf_resolve_ip6 (const char *hostname, uint16_t port, int family, + void **dnscache, struct addrinfo **addr_info); void gf_log_dump_graph (FILE *specfp, glusterfs_graph_t *graph); void gf_print_trace (int32_t signal, glusterfs_ctx_t *ctx); |