diff options
Diffstat (limited to 'include/libcgroup/init.h')
-rw-r--r-- | include/libcgroup/init.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/libcgroup/init.h b/include/libcgroup/init.h new file mode 100644 index 0000000..0e8f0f6 --- /dev/null +++ b/include/libcgroup/init.h @@ -0,0 +1,21 @@ +#ifndef _LIBCGROUP_INIT_H +#define _LIBCGROUP_INIT_H + +#include <features.h> + +__BEGIN_DECLS + +/* Functions and structures that can be used by the application*/ +int cgroup_init(void); + +/* + * Reads the mount to table to give the mount point of a controller + * @controller: Name of the controller + * @mount_point: The string where the mount point is stored. Please note, + * the caller must free mount_point. + */ +int cgroup_get_subsys_mount_point(char *controller, char **mount_point); + +__END_DECLS + +#endif /* _LIBCGROUP_INIT_H */ |