|
Packit |
514978 |
.\"
|
|
Packit |
514978 |
.\" Copyright (C) 2004-2009 by Daniel Stenberg
|
|
Packit |
514978 |
.\"
|
|
Packit |
514978 |
.\" Permission to use, copy, modify, and distribute this
|
|
Packit |
514978 |
.\" software and its documentation for any purpose and without
|
|
Packit |
514978 |
.\" fee is hereby granted, provided that the above copyright
|
|
Packit |
514978 |
.\" notice appear in all copies and that both that copyright
|
|
Packit |
514978 |
.\" notice and this permission notice appear in supporting
|
|
Packit |
514978 |
.\" documentation, and that the name of M.I.T. not be used in
|
|
Packit |
514978 |
.\" advertising or publicity pertaining to distribution of the
|
|
Packit |
514978 |
.\" software without specific, written prior permission.
|
|
Packit |
514978 |
.\" M.I.T. makes no representations about the suitability of
|
|
Packit |
514978 |
.\" this software for any purpose. It is provided "as is"
|
|
Packit |
514978 |
.\" without express or implied warranty.
|
|
Packit |
514978 |
.\"
|
|
Packit |
514978 |
.TH ARES_DUP 3 "26 May 2009"
|
|
Packit |
514978 |
.SH NAME
|
|
Packit |
514978 |
ares_dup \- Duplicate a resolver channel
|
|
Packit |
514978 |
.SH SYNOPSIS
|
|
Packit |
514978 |
.nf
|
|
Packit |
514978 |
.B #include <ares.h>
|
|
Packit |
514978 |
.PP
|
|
Packit |
514978 |
.B int ares_dup(ares_channel *\fIdest\fP, ares_channel \fIsource\fP)
|
|
Packit |
514978 |
.fi
|
|
Packit |
514978 |
.SH DESCRIPTION
|
|
Packit |
514978 |
The \fBares_dup(3)\fP function duplicates an existing communications channel
|
|
Packit |
514978 |
for name service lookups. If it returns successfully, \fBares_dup(3)\fP will
|
|
Packit |
514978 |
set the variable pointed to by \fIdest\fP to a handle used to identify the
|
|
Packit |
514978 |
name service channel. The caller should invoke \fIares_destroy(3)\fP on the
|
|
Packit |
514978 |
handle when the channel is no longer needed.
|
|
Packit |
514978 |
.SH SEE ALSO
|
|
Packit |
514978 |
.BR ares_destroy(3),
|
|
Packit |
514978 |
.BR ares_init(3),
|
|
Packit |
514978 |
.BR ares_library_init(3)
|
|
Packit |
514978 |
.SH AVAILABILITY
|
|
Packit |
514978 |
\fIares_dup(3)\fP was added in c-ares 1.6.0
|
|
Packit |
514978 |
.SH AUTHOR
|
|
Packit |
514978 |
Daniel Stenberg
|
|
Packit |
514978 |
|