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
Line 
1/*
2 * SPDX-FileCopyrightText: 2008 Jiri Svoboda
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/** @addtogroup libc
8 * @{
9 */
10/** @file
11 */
12
13#ifndef _LIBC_RTLD_SYMBOL_H_
14#define _LIBC_RTLD_SYMBOL_H_
15
16#include <elf/elf.h>
17#include <rtld/rtld.h>
18#include <tls.h>
19
20/** Symbol search flags */
21typedef enum {
22 /** No flags */
23 ssf_none = 0,
24 /** Do not search in the executable */
25 ssf_noexec = 0x1
26} symbol_search_flags_t;
27
28extern elf_symbol_t *symbol_bfs_find(const char *, module_t *, module_t **);
29extern elf_symbol_t *symbol_def_find(const char *, module_t *,
30 symbol_search_flags_t, module_t **);
31extern void *symbol_get_addr(elf_symbol_t *, module_t *, tcb_t *);
32
33#endif
34
35/** @}
36 */
Note: See TracBrowser for help on using the repository browser.