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