1305100Scy/* 2305100Scy * Copyright (c) 1997-2014 Erez Zadok 3305100Scy * Copyright (c) 1990 Jan-Simon Pendry 4305100Scy * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 5305100Scy * Copyright (c) 1990 The Regents of the University of California. 6305100Scy * All rights reserved. 7305100Scy * 8305100Scy * This code is derived from software contributed to Berkeley by 9305100Scy * Jan-Simon Pendry at Imperial College, London. 10305100Scy * 11305100Scy * Redistribution and use in source and binary forms, with or without 12305100Scy * modification, are permitted provided that the following conditions 13305100Scy * are met: 14305100Scy * 1. Redistributions of source code must retain the above copyright 15305100Scy * notice, this list of conditions and the following disclaimer. 16305100Scy * 2. Redistributions in binary form must reproduce the above copyright 17305100Scy * notice, this list of conditions and the following disclaimer in the 18305100Scy * documentation and/or other materials provided with the distribution. 19305100Scy * 3. Neither the name of the University nor the names of its contributors 20305100Scy * may be used to endorse or promote products derived from this software 21305100Scy * without specific prior written permission. 22305100Scy * 23305100Scy * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24305100Scy * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25305100Scy * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26305100Scy * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27305100Scy * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28305100Scy * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29305100Scy * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30305100Scy * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31305100Scy * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32305100Scy * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33305100Scy * SUCH DAMAGE. 34305100Scy * 35305100Scy * 36305100Scy * File: am-utils/amd/info_sun.c 37305100Scy * 38305100Scy */ 39305100Scy 40305100Scy/* 41305100Scy * Get info from Sun automount-style /etc/auto_master, possibly following 42305100Scy * into multiple info services (via /etc/nsswitch.conf). 43305100Scy */ 44305100Scy 45305100Scy#ifdef HAVE_CONFIG_H 46305100Scy# include <config.h> 47305100Scy#endif /* HAVE_CONFIG_H */ 48305100Scy#include <am_defs.h> 49305100Scy#include <amd.h> 50305100Scy#include <sun_map.h> 51305100Scy 52305100Scy 53305100Scy/* XXX: just a placeholder. fill in */ 54