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