source: mainline/uspace/lib/c/include/rtld/symbol.h@ 9bfa8c8

Last change on this file since 9bfa8c8 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 690 bytes
RevLine 
[1ea99cc]1/*
[d7f7a4a]2 * SPDX-FileCopyrightText: 2008 Jiri Svoboda
[1ea99cc]3 *
[d7f7a4a]4 * SPDX-License-Identifier: BSD-3-Clause
[1ea99cc]5 */
6
[8a1fb09]7/** @addtogroup libc
[1ea99cc]8 * @{
9 */
10/** @file
11 */
12
[4805495]13#ifndef _LIBC_RTLD_SYMBOL_H_
14#define _LIBC_RTLD_SYMBOL_H_
[1ea99cc]15
[90b8d58]16#include <elf/elf.h>
[8a1fb09]17#include <rtld/rtld.h>
[d2bb25e7]18#include <tls.h>
[1ea99cc]19
[0f792c28]20/** Symbol search flags */
21typedef enum {
22 /** No flags */
23 ssf_none = 0,
[5035ba05]24 /** Do not search in the executable */
25 ssf_noexec = 0x1
[0f792c28]26} symbol_search_flags_t;
27
[5035ba05]28extern elf_symbol_t *symbol_bfs_find(const char *, module_t *, module_t **);
[0f792c28]29extern elf_symbol_t *symbol_def_find(const char *, module_t *,
30 symbol_search_flags_t, module_t **);
[d2bb25e7]31extern void *symbol_get_addr(elf_symbol_t *, module_t *, tcb_t *);
[1ea99cc]32
33#endif
34
35/** @}
36 */
Note: See TracBrowser for help on using the repository browser.