123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- #ifndef _LIBCGROUP_CONFIG_H
- #define _LIBCGROUP_CONFIG_H
- #ifndef _LIBCGROUP_H_INSIDE
- #error "Only <libcgroup.h> should be included directly."
- #endif
- #ifndef SWIG
- #include <features.h>
- #endif
- __BEGIN_DECLS
- int cgroup_config_load_config(const char *pathname);
- int cgroup_unload_cgroups(void);
- int cgroup_config_unload_config(const char *pathname, int flags);
- int cgroup_config_set_default(struct cgroup *new_default);
- int cgroup_init_templates_cache(char *pathname);
- int cgroup_reload_cached_templates(char *pathname);
- int cgroup_config_create_template_group(
- struct cgroup *cgroup, char *template_name,
- int flags);
- __END_DECLS
- #endif
|