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>
This commit is contained in:
parent
3571066dee
commit
3c20c8427f
@ -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);
|
||||
|
@ -23,13 +23,6 @@
|
||||
#include "socket.h"
|
||||
#include "common-utils.h"
|
||||
|
||||
int32_t
|
||||
gf_resolve_ip6 (const char *hostname,
|
||||
uint16_t port,
|
||||
int family,
|
||||
void **dnscache,
|
||||
struct addrinfo **addr_info);
|
||||
|
||||
static int32_t
|
||||
af_inet_bind_to_port_lt_ceiling (int fd, struct sockaddr *sockaddr,
|
||||
socklen_t sockaddr_len, int ceiling)
|
||||
|
Loading…
x
Reference in New Issue
Block a user