xref: /haiku/src/bin/network/traceroute/as.h (revision 144f17d9e1dbc1b4d1010650a343c5d02f25f81c)
1*144f17d9SAugustin Cavalier /*	$NetBSD: as.h,v 1.1 2001/11/04 23:14:36 atatat Exp $	*/
2*144f17d9SAugustin Cavalier 
3*144f17d9SAugustin Cavalier /*
4*144f17d9SAugustin Cavalier  * Copyright (c) 2001 The NetBSD Foundation, Inc.
5*144f17d9SAugustin Cavalier  * All rights reserved.
6*144f17d9SAugustin Cavalier  *
7*144f17d9SAugustin Cavalier  * This code is derived from software contributed to The NetBSD Foundation
8*144f17d9SAugustin Cavalier  * by Andrew Brown.
9*144f17d9SAugustin Cavalier  *
10*144f17d9SAugustin Cavalier  * Redistribution and use in source and binary forms, with or without
11*144f17d9SAugustin Cavalier  * modification, are permitted provided that the following conditions
12*144f17d9SAugustin Cavalier  * are met:
13*144f17d9SAugustin Cavalier  * 1. Redistributions of source code must retain the above copyright
14*144f17d9SAugustin Cavalier  *    notice, this list of conditions and the following disclaimer.
15*144f17d9SAugustin Cavalier  * 2. Redistributions in binary form must reproduce the above copyright
16*144f17d9SAugustin Cavalier  *    notice, this list of conditions and the following disclaimer in the
17*144f17d9SAugustin Cavalier  *    documentation and/or other materials provided with the distribution.
18*144f17d9SAugustin Cavalier  *
19*144f17d9SAugustin Cavalier  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*144f17d9SAugustin Cavalier  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*144f17d9SAugustin Cavalier  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*144f17d9SAugustin Cavalier  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*144f17d9SAugustin Cavalier  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*144f17d9SAugustin Cavalier  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*144f17d9SAugustin Cavalier  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*144f17d9SAugustin Cavalier  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*144f17d9SAugustin Cavalier  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*144f17d9SAugustin Cavalier  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*144f17d9SAugustin Cavalier  * POSSIBILITY OF SUCH DAMAGE.
30*144f17d9SAugustin Cavalier  */
31*144f17d9SAugustin Cavalier 
32*144f17d9SAugustin Cavalier void *as_setup(const char *);
33*144f17d9SAugustin Cavalier unsigned int as_lookup(void *, char *, sa_family_t);
34*144f17d9SAugustin Cavalier void as_shutdown(void *);
35