Code

src/daemon/common.[ch]: add check_capability() function
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 26 Jan 2016 17:14:09 +0000 (18:14 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 10 Aug 2016 06:05:33 +0000 (08:05 +0200)
commitd3ba4d04f6c5d22ba97ea81cdca2e2acd04dfec1
tree5e2ea093eeed7de8fe6073aa25ffeda433459ede
parentab324851dd66efb814b32d134dd1ae427c22b8fe
src/daemon/common.[ch]: add check_capability() function

This is largely inspired by the capability check done in
src/turbostat.c, so most of the credits go to Vincent Brillault.
src/daemon/common.c
src/daemon/common.h