1160157Smarcel/*
2160157SmarcelCopyright (c) 2003-2006 Hewlett-Packard Development Company, L.P.
3160157SmarcelPermission is hereby granted, free of charge, to any person
4160157Smarcelobtaining a copy of this software and associated documentation
5160157Smarcelfiles (the "Software"), to deal in the Software without
6160157Smarcelrestriction, including without limitation the rights to use,
7160157Smarcelcopy, modify, merge, publish, distribute, sublicense, and/or sell
8160157Smarcelcopies of the Software, and to permit persons to whom the
9160157SmarcelSoftware is furnished to do so, subject to the following
10160157Smarcelconditions:
11160157Smarcel
12160157SmarcelThe above copyright notice and this permission notice shall be
13160157Smarcelincluded in all copies or substantial portions of the Software.
14160157Smarcel
15160157SmarcelTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16160157SmarcelEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17160157SmarcelOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18160157SmarcelNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19160157SmarcelHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20160157SmarcelWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21160157SmarcelFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22160157SmarcelOTHER DEALINGS IN THE SOFTWARE.
23160157Smarcel*/
24160157Smarcel
25160157Smarcelstruct uwx_env;
26160157Smarcelstruct uwx_symbol_cache;
27160157Smarcel
28160157Smarcelextern int uwx_find_symbol(
29160157Smarcel    struct uwx_env *env,
30160157Smarcel    struct uwx_symbol_cache **symbol_cache_p,
31160157Smarcel    char *module_name,
32160157Smarcel    uint64_t relip,
33160157Smarcel    char **func_name_p,
34160157Smarcel    uint64_t *offset_p);
35160157Smarcel
36160157Smarcelextern void uwx_release_symbol_cache(
37160157Smarcel    struct uwx_env *env,
38160157Smarcel    struct uwx_symbol_cache *symbol_cache);
39