summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/abrt_crash_data.h1
-rw-r--r--src/include/abrtlib.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/abrt_crash_data.h b/src/include/abrt_crash_data.h
index 52ae50ca..237a3d01 100644
--- a/src/include/abrt_crash_data.h
+++ b/src/include/abrt_crash_data.h
@@ -38,6 +38,7 @@
#define FILENAME_BACKTRACE "backtrace"
#define FILENAME_MAPS "maps"
#define FILENAME_SMAPS "smaps"
+#define FILENAME_ENVIRON "environ"
#define FILENAME_DUPHASH "global_uuid" /* name is compat, to be renamed to "duphash" */
// Name of the function where the application crashed.
// Optional.
diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h
index e14b742f..e0014593 100644
--- a/src/include/abrtlib.h
+++ b/src/include/abrtlib.h
@@ -224,6 +224,8 @@ char* hex2bin(char *dst, const char *str, int count);
*/
#define get_cmdline abrt_get_cmdline
char* get_cmdline(pid_t pid);
+#define get_environ abrt_get_environ
+char* get_environ(pid_t pid);
/* Returns 1 if abrtd daemon is running, 0 otherwise. */
#define daemon_is_ok abrt_daemon_is_ok