agent/src/os/bsd/symtab.h

changeset 4750
39432a1cefdd
parent 3156
f08d439fab8c
child 6876
710a3c8b516e
equal deleted inserted replaced
4719:c8b31b461e1a 4750:39432a1cefdd
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

mercurial