util: Remove virsysfs and instead enhance virFileReadValue* functions
It is no longer needed thanks to the great virfilewrapper.c. And this
way we don't have to add a new set of functions for each prefixed
path.
While on that, add two functions that weren't there before, string and
scaled integer reading ones. Also increase the length of the string
being read by one to accompany for the optional newline at the
end (i.e. change INT_STRLEN_BOUND to INT_BUFSIZE_BOUND).
Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
Showing
src/util/virsysfs.c
已删除
100644 → 0
src/util/virsysfs.h
已删除
100644 → 0
src/util/virsysfspriv.h
已删除
100644 → 0
想要评论请 注册 或 登录