mirror of
https://github.com/samba-team/samba.git
synced 2025-02-18 17:57:55 +03:00
r20427: Rename dnp_open. This conflicts with the dns_open symbol in
libSystem on Mac OS X.
This commit is contained in:
parent
49a463a97a
commit
585ee7f31d
@ -426,7 +426,7 @@ DNS_ERROR dns_add_rrec(TALLOC_CTX *mem_ctx, struct dns_rrec *rec,
|
||||
|
||||
/* from dnssock.c */
|
||||
|
||||
DNS_ERROR dns_open( const char *nameserver, int32 dwType,
|
||||
DNS_ERROR dns_open_connection( const char *nameserver, int32 dwType,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct dns_connection **conn );
|
||||
DNS_ERROR dns_send(struct dns_connection *conn, const struct dns_buffer *buf);
|
||||
|
@ -233,7 +233,7 @@ DNS_ERROR dns_negotiate_sec_ctx( const char *target_realm,
|
||||
return ERROR_DNS_NO_MEMORY;
|
||||
}
|
||||
|
||||
err = dns_open( servername, DNS_TCP, mem_ctx, &conn );
|
||||
err = dns_open_connection( servername, DNS_TCP, mem_ctx, &conn );
|
||||
if (!ERR_DNS_IS_OK(err)) goto error;
|
||||
|
||||
if (!(upcaserealm = talloc_strdup(mem_ctx, target_realm))) {
|
||||
|
@ -134,7 +134,7 @@ static DNS_ERROR dns_udp_open( const char *nameserver,
|
||||
/********************************************************************
|
||||
********************************************************************/
|
||||
|
||||
DNS_ERROR dns_open( const char *nameserver, int32 dwType,
|
||||
DNS_ERROR dns_open_connection( const char *nameserver, int32 dwType,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct dns_connection **conn )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user