satyr
0.43
Toggle main menu visibility
Loading...
Searching...
No Matches
include
abrt.h
Go to the documentation of this file.
1
/*
2
abrt.h
3
4
Copyright (C) 2012 Red Hat, Inc.
5
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License along
17
with this program; if not, write to the Free Software Foundation, Inc.,
18
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
#ifndef SATYR_ABRT_H
21
#define SATYR_ABRT_H
22
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
#include "
report_type.h
"
33
#include <stdbool.h>
34
#include <sys/types.h>
35
36
/* Forward declaration to avoid the need to include core/unwind.h */
37
struct
sr_core_stracetrace_unwind_state;
38
39
bool
40
sr_abrt_print_report_from_dir(
const
char
*directory,
41
char
**error_message);
42
43
bool
44
sr_abrt_create_core_stacktrace(
const
char
*directory,
45
bool
unused,
46
char
**error_message);
47
bool
48
sr_abrt_create_core_stacktrace_from_gdb(
const
char
*directory,
49
const
char
*gdb_output,
50
bool
unused,
51
char
**error_message);
52
53
54
struct
sr_core_stracetrace_unwind_state *
55
sr_abrt_get_core_stacktrace_from_core_hook_prepare(pid_t thread_id,
56
char
**error_message);
57
58
char
*
59
sr_abrt_get_core_stacktrace_from_core_hook_generate(pid_t thread_id,
60
const
char
*executable,
61
int
signum,
62
struct
sr_core_stracetrace_unwind_state *state,
63
char
**error_message);
64
65
char
*
66
sr_abrt_get_core_stacktrace_from_core_hook(pid_t thread_id,
67
const
char
*executable,
68
int
signum,
69
char
**error_message);
70
71
bool
72
sr_abrt_create_core_stacktrace_from_core_hook(
const
char
*directory,
73
pid_t thread_id,
74
const
char
*executable,
75
int
signum,
76
char
**error_message);
77
78
struct
sr_rpm_package
*
79
sr_abrt_parse_dso_list(
const
char
*text);
80
81
int
82
sr_abrt_rpm_packages_from_dir(
const
char
*directory,
struct
sr_rpm_package
**packages,
83
char
**error_message);
84
85
struct
sr_operating_system
*
86
sr_abrt_operating_system_from_dir(
const
char
*directory,
87
char
**error_message);
88
89
struct
sr_report
*
90
sr_abrt_report_from_dir(
const
char
*directory,
91
char
**error_message);
92
93
/* Deprecated: use sr_report_type_from_type() instead */
94
enum
sr_report_type
95
sr_abrt_type_from_analyzer(
const
char
*analyzer);
96
97
enum
sr_report_type
98
sr_abrt_type_from_type(
const
char
*type);
99
100
#ifdef __cplusplus
101
}
102
#endif
103
104
#endif
report_type.h
Report type.
sr_operating_system
Definition
operating_system.h:37
sr_report
Definition
report.h:47
sr_rpm_package
Definition
rpm.h:67
Generated by
1.17.0