1a565ca59SJohn Polstra /*- 24d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 31de7b4b8SPedro F. Giffuni * 4a565ca59SJohn Polstra * Copyright (c) 1998 John D. Polstra 5a565ca59SJohn Polstra * All rights reserved. 6a565ca59SJohn Polstra * 7a565ca59SJohn Polstra * Redistribution and use in source and binary forms, with or without 8a565ca59SJohn Polstra * modification, are permitted provided that the following conditions 9a565ca59SJohn Polstra * are met: 10a565ca59SJohn Polstra * 1. Redistributions of source code must retain the above copyright 11a565ca59SJohn Polstra * notice, this list of conditions and the following disclaimer. 12a565ca59SJohn Polstra * 2. Redistributions in binary form must reproduce the above copyright 13a565ca59SJohn Polstra * notice, this list of conditions and the following disclaimer in the 14a565ca59SJohn Polstra * documentation and/or other materials provided with the distribution. 15a565ca59SJohn Polstra * 16a565ca59SJohn Polstra * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17a565ca59SJohn Polstra * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18a565ca59SJohn Polstra * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19a565ca59SJohn Polstra * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20a565ca59SJohn Polstra * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21a565ca59SJohn Polstra * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22a565ca59SJohn Polstra * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23a565ca59SJohn Polstra * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24a565ca59SJohn Polstra * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25a565ca59SJohn Polstra * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26a565ca59SJohn Polstra * SUCH DAMAGE. 27a565ca59SJohn Polstra */ 28a565ca59SJohn Polstra 29a565ca59SJohn Polstra #ifndef LDCONFIG_H 30a565ca59SJohn Polstra #define LDCONFIG_H 1 31a565ca59SJohn Polstra 32a565ca59SJohn Polstra #include <sys/cdefs.h> 333f2c6f55SKonstantin Belousov #include <stdbool.h> 34a565ca59SJohn Polstra 353f2c6f55SKonstantin Belousov extern bool insecure; /* -i flag, needed here for elfhints.c */ 36643dcf40SJohn Polstra 37a565ca59SJohn Polstra __BEGIN_DECLS 3885429990SWarner Losh void list_elf_hints(const char *); 39*e0dfecadSStefan Eßer void update_elf_hints(const char *, int, char **, bool, bool); 40a565ca59SJohn Polstra __END_DECLS 41a565ca59SJohn Polstra 42a565ca59SJohn Polstra #endif 43