mirror of https://gitee.com/openkylin/libvirt.git
25534052bc
# Convert uses of isspace to c_isspace, isdigit to c_isdigit, etc. re=$(man isspace|grep is.....,.is|sed 's/ -.*//' \ |tr -s ', \n' \||sed 's/^|//;s/|$//') git grep -l -E "$re"|grep -Ev 'Chan|gnulib' \ |xargs perl -pi -e 's/\b('"$re"')\b/c_$1/g' # Remove all uses of to_uchar git grep -l to_uchar|xargs perl -pi -e 's/to_uchar\((.*?)\)/$1/g' * src/util.h (to_uchar): Remove definition. (TOLOWER): Remove definition. (__virMacAddrCompare): Use c_tolower, not TOLOWER. Globally: Where needed, change <ctype.h> to <c-ctype.h>. Remove unnecessary inclusion of <ctype.h>. Ensure the global changes are never needed again: * Makefile.maint (sc_avoid_ctype_macros): Prohibit use of ctype macros. Recommend c-ctype.h instead. (sc_prohibit_c_ctype_without_use): New rule. (sc_prohibit_ctype_h): New rule. Disallow use of <ctype.h>. |
||
---|---|---|
build-aux | ||
docs | ||
gnulib | ||
include | ||
m4 | ||
po | ||
proxy | ||
python | ||
qemud | ||
scripts | ||
src | ||
tests | ||
.cvsignore | ||
.x-sc_avoid_if_before_free | ||
.x-sc_avoid_write | ||
.x-sc_no_have_config_h | ||
.x-sc_require_config_h | ||
.x-sc_trailing_blank | ||
AUTHORS | ||
COPYING.LIB | ||
ChangeLog | ||
GNUmakefile | ||
HACKING | ||
Makefile.am | ||
Makefile.cfg | ||
Makefile.maint | ||
NEWS | ||
README | ||
RENAMES | ||
TODO | ||
acinclude.m4 | ||
autobuild.sh | ||
autogen.sh | ||
bootstrap | ||
configure.in | ||
libvirt.pc.in | ||
libvirt.spec.in | ||
virsh.1 |
README
LibVirt : simple API for virtualization Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). It is free software available under the GNU Lesser General Public License. Virtualization of the Linux Operating System means the ability to run multiple instances of Operating Systems concurrently on a single hardware system where the basic resources are driven by a Linux instance. The library aim at providing long term stable C API initially for the Xen paravirtualization but should be able to integrate other virtualization mechanisms if needed. Daniel Veillard <veillard@redhat.com>