Mercurial > archived > louis > perso > liblxcstats
view probes/probes.h @ 12:dbf24a82f625 default tip
Fix doxygen comments and add a Doxyfile
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Fri, 07 Jan 2011 21:49:31 +0100 |
parents | 3a1977ecccc7 |
children |
line wrap: on
line source
#ifndef _LXC_STATS_PROBES_H_ # define _LXC_STATS_PROBES_H_ struct lxcst; struct _lxcst_probe { int (*fn)(struct lxcst *); const char *name; }; /** * The array of available probe functions. */ extern const struct _lxcst_probe _lxcst_probes[]; /** * Read the cpuacct files and fill the cpuacct field of the struct lxcst. * * @param [in,out] c The container to work on. * * @return 0 on success, -1 otherwise */ int _lxcst_probe_cpuacct(struct lxcst *c); /** * Read the cpuacct files and fill the memory field of the struct lxcst. * * @param [in,out] c The container to work on. * * @return 0 on success, -1 otherwise */ int _lxcst_probe_memory(struct lxcst *c); #endif