1
0
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:
James Peach 2006-12-31 06:45:24 +00:00 committed by Gerald (Jerry) Carter
parent 49a463a97a
commit 585ee7f31d
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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))) {

View File

@ -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 )
{