chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: make sure we free the dbus error only if we actually use one
[elogind.git]
/
src
/
cgroup.h
diff --git
a/src/cgroup.h
b/src/cgroup.h
index 05c858c425c4e10d28c8dee6e6f6e5c1ca50ecd8..e38d7e79e6f3283702c67266b3ae87a4ce4c0987 100644
(file)
--- a/
src/cgroup.h
+++ b/
src/cgroup.h
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
#ifndef foocgrouphfoo
#define foocgrouphfoo
#ifndef foocgrouphfoo
#define foocgrouphfoo
@@
-58,8
+58,8
@@
void cgroup_bonding_free_list(CGroupBonding *first);
int cgroup_bonding_install(CGroupBonding *b, pid_t pid);
int cgroup_bonding_install_list(CGroupBonding *first, pid_t pid);
int cgroup_bonding_install(CGroupBonding *b, pid_t pid);
int cgroup_bonding_install_list(CGroupBonding *first, pid_t pid);
-int cgroup_bonding_kill(CGroupBonding *b, int sig);
-int cgroup_bonding_kill_list(CGroupBonding *first, int sig);
+int cgroup_bonding_kill(CGroupBonding *b, int sig
, Set *s
);
+int cgroup_bonding_kill_list(CGroupBonding *first, int sig
, Set *s
);
void cgroup_bonding_trim(CGroupBonding *first, bool delete_root);
void cgroup_bonding_trim_list(CGroupBonding *first, bool delete_root);
void cgroup_bonding_trim(CGroupBonding *first, bool delete_root);
void cgroup_bonding_trim_list(CGroupBonding *first, bool delete_root);
@@
-74,7
+74,7
@@
char *cgroup_bonding_to_string(CGroupBonding *b);
#include "manager.h"
int manager_setup_cgroup(Manager *m);
#include "manager.h"
int manager_setup_cgroup(Manager *m);
-
int manager_shutdown_cgroup(Manager *m
);
+
void manager_shutdown_cgroup(Manager *m, bool delete
);
int cgroup_notify_empty(Manager *m, const char *group);
int cgroup_notify_empty(Manager *m, const char *group);