xref: /freebsd/contrib/tcpdump/strtoaddr.h (revision 9b3ece1c2eb92a881cb2553271e123382bfe31c1)
1*3340d773SGleb Smirnoff /*
2*3340d773SGleb Smirnoff  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
3*3340d773SGleb Smirnoff  * Copyright (c) 1996,1999 by Internet Software Consortium.
4*3340d773SGleb Smirnoff  *
5*3340d773SGleb Smirnoff  * Permission to use, copy, modify, and distribute this software for any
6*3340d773SGleb Smirnoff  * purpose with or without fee is hereby granted, provided that the above
7*3340d773SGleb Smirnoff  * copyright notice and this permission notice appear in all copies.
8*3340d773SGleb Smirnoff  *
9*3340d773SGleb Smirnoff  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
10*3340d773SGleb Smirnoff  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*3340d773SGleb Smirnoff  * MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
12*3340d773SGleb Smirnoff  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*3340d773SGleb Smirnoff  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*3340d773SGleb Smirnoff  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
15*3340d773SGleb Smirnoff  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*3340d773SGleb Smirnoff  */
17*3340d773SGleb Smirnoff 
18*3340d773SGleb Smirnoff /* Text string to address translation routines. */
19*3340d773SGleb Smirnoff 
20*3340d773SGleb Smirnoff int	strtoaddr(const char *src, void *dst);
21*3340d773SGleb Smirnoff int	strtoaddr6(const char *src, void *dst);
22*3340d773SGleb Smirnoff 
23*3340d773SGleb Smirnoff 
24