hotspot/agent/src/os/bsd/symtab.h
changeset 16351 032b310a3e2f
parent 10565 dc90c239f4ec
equal deleted inserted replaced
15935:50da9e5eb858 16351:032b310a3e2f
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25 #ifndef _SYMTAB_H_
    25 #ifndef _SYMTAB_H_
    26 #define _SYMTAB_H_
    26 #define _SYMTAB_H_
    27 
    27 
    28 #include <stdint.h>
    28 #include <stdint.h>
    29 
    29 
    30 // interface to manage ELF symbol tables
    30 // interface to manage ELF or MachO symbol tables
    31 
    31 
    32 struct symtab;
    32 struct symtab;
    33 
    33 
    34 // build symbol table for a given ELF file descriptor
    34 // build symbol table for a given ELF or MachO file escriptor
    35 struct symtab* build_symtab(int fd);
    35 struct symtab* build_symtab(int fd);
    36 
    36 
    37 // destroy the symbol table
    37 // destroy the symbol table
    38 void destroy_symtab(struct symtab* symtab);
    38 void destroy_symtab(struct symtab* symtab);
    39 
    39