/usr/include/libcgroup/config.h is in libcgroup-dev 0.37.1-1ubuntu10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #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
/**
* @defgroup group_config 5. Configuration
* @{
*
* @name Configuration file
* @{
*
* @c libcgroup can mount and create control groups and set their parameters as
* specified in a configuration file.
*
* @todo add this description?: These functions are mostly intended
* to be used by internal @c libcgroup tools, however they are fully supported
* and applications can benefit from them.
*/
/**
* Load configuration file and mount and create control groups described there.
* See cgconfig.conf man page for format of the file.
* @param pathname Name of the configuration file to load.
*/
int cgroup_config_load_config(const char *pathname);
/**
* Delete all control groups and unmount all hierarchies.
*/
int cgroup_unload_cgroups(void);
/**
* @}
* @}
*/
__END_DECLS
#endif /*_LIBCGROUP_CONFIG_H*/
|