summaryrefslogtreecommitdiff
path: root/execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-10 17:47:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-10 18:00:34 +0200
commit43d0fcbd3f54a5f3c5636acf9b54f19a07de7a18 (patch)
treea55586f842ab4bd3626af827c744112728660e26 /execute.h
parent26fd040d4a8024f1777154c275796e235a0f7451 (diff)
execute: introduce exec_command_done() to free data from static ExecCommand structs
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/execute.h b/execute.h
index 18948173b8..b4bb9600d1 100644
--- a/execute.h
+++ b/execute.h
@@ -162,6 +162,9 @@ int exec_spawn(ExecCommand *command,
struct CGroupBonding *cgroup_bondings,
pid_t *ret);
+void exec_command_done(ExecCommand *c);
+void exec_command_done_array(ExecCommand *c, unsigned n);
+
void exec_command_free_list(ExecCommand *c);
void exec_command_free_array(ExecCommand **c, unsigned n);