summaryrefslogtreecommitdiffstats
path: root/src/include/abrtlib.h
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-03-09 16:49:41 +0100
committerKarel Klic <kklic@redhat.com>2011-03-09 16:58:28 +0100
commit43d84e3f11e46b7c9a042ff338024dfc41bb4f22 (patch)
tree783b1122556f15345290ff8b1623812b6e864827 /src/include/abrtlib.h
parent6ec12db137f2d0fe18f059fcef2390512d0b2c3f (diff)
parentc2f2a9f310e7b3bc3725cc8dc7e805fd38c7fbbd (diff)
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/include/abrtlib.h')
-rw-r--r--src/include/abrtlib.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h
index 116f4b36..f64046d9 100644
--- a/src/include/abrtlib.h
+++ b/src/include/abrtlib.h
@@ -82,6 +82,7 @@ int vdprintf(int d, const char *format, va_list ap);
#include "abrt_types.h"
#include "dump_dir.h"
#include "run_event.h"
+#include "event_config.h"
#ifdef __cplusplus
@@ -169,12 +170,17 @@ enum {
EXECFLG_SETGUID = 1 << 7,
EXECFLG_SETSID = 1 << 8,
};
-/* Returns pid */
+/*
+ * env_vec: list of variables to set in environment (if string has
+ * "VAR=VAL" form) or unset in environment (if string has no '=' char).
+ *
+ * Returns pid.
+ */
#define fork_execv_on_steroids abrt_fork_execv_on_steroids
pid_t fork_execv_on_steroids(int flags,
char **argv,
int *pipefds,
- char **unsetenv_vec,
+ char **env_vec,
const char *dir,
uid_t uid);
/* Returns malloc'ed string. NULs are retained, and extra one is appended