summaryrefslogtreecommitdiffstats
path: root/include/libcgroup/init.h
blob: 0e8f0f64836734f7c8de678ce116950e807b8004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 */