-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.h
More file actions
35 lines (29 loc) · 707 Bytes
/
Copy pathinfo.h
File metadata and controls
35 lines (29 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* Copyright (c) 2015-2016 SUSE Linux GmbH
*
* Licensed under the GNU General Public License Version 2
* as published by the Free Software Foundation.
*
* See http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* for details.
*
* Author: Joerg Roedel <jroedel@suse.de>
*/
#ifndef __INFO_H
#define __INFO_H
#include <string>
struct info_options {
bool functions;
bool objects;
bool global;
bool local;
bool verbose;
std::string fn_name;
inline info_options()
: functions(true), objects(false), global(true),
local(false), verbose(false), fn_name()
{ }
};
void print_symbol_info(const char*, struct info_options);
void print_one_symbol_info(const char*, std::string);
#endif