diff options
Diffstat (limited to 'src/libcgroup-internal.h')
-rw-r--r-- | src/libcgroup-internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libcgroup-internal.h b/src/libcgroup-internal.h index 705ac88..95ff76c 100644 --- a/src/libcgroup-internal.h +++ b/src/libcgroup-internal.h @@ -19,8 +19,11 @@ __BEGIN_DECLS #include "config.h" +#include <fts.h> #include <libcgroup.h> #include <limits.h> +#include <sys/stat.h> +#include <sys/types.h> #define CGRULES_CONF_FILE "/etc/cgrules.conf" #define CGRULES_MAX_FIELDS_PER_LINE 3 @@ -87,6 +90,12 @@ struct cgroup_rule_list { int len; }; +/*The walk_tree handle */ +struct cgroup_tree_handle { + FTS *fts; + int flags; +}; + /* Internal API */ char *cg_build_path(char *name, char *path, char *type); |