1. 28 2月, 2008 1 次提交
    • R
      virMacAddrCompare for comparing MAC addresses · 92a1e14b
      Richard W.M. Jones 提交于
      	* src/util.c, src/util.h, src/libvirt_sym.version: Added
      	  virMacAddrCompare utility function for comparing MAC
      	  addresses.
      	* src/virsh.c, src/xm_internal.c: Use virMacAddrCompare
      	  to compare addresses.  (Shigeki Sakamoto and Richard Jones).
      92a1e14b
  2. 27 2月, 2008 1 次提交
  3. 26 2月, 2008 1 次提交
  4. 22 2月, 2008 1 次提交
    • J
      Move safewrite and saferead to a separate file. · a178a4e7
      Jim Meyering 提交于
      We currently use safewrite from inside libvirt and don't want to publish
      any such function name.  However, we do want to use it in applications
      like virsh, libvirtd and libvirt_proxy that link with libvirt.  To that
      end, this change moves that function definition (along with the nearly
      identical saferead) into a new file, util-lib.c.  To avoid maintaining
      separate copies of even such small functions, we simply include that new
      file from util.c.  Then, the separate applications that need to use
      safewrite simply compile and link with util-lib.c.
      
      Of course, this does mean that each of those applications will
      containing two copies of these functions.  However, the functions
      are so small that it's not worth worrying about that.
      
      * src/util.c (saferead, safewrite): Move function definitions to
      util-lib.c and include that .c file.
      * src/util-lib.c (saferead, safewrite): New file.  Functions from src/util.c
      with slight change (s/int r =/ssize_t r =/) to reflect read/write return type.
      * src/util-lib.h: Declare the two moved functions.
      * src/util.h: Remove declarations.  Include src/util-lib.h.
      * proxy/Makefile.am (libvirt_proxy_SOURCES): Add src/util-lib.c.
      * qemud/Makefile.am (libvirtd_SOURCES): Likewise.
      * src/Makefile.am (virsh_SOURCES): Add util-lib.c.  Remove some SP-before-TAB.
      a178a4e7
  5. 20 2月, 2008 1 次提交
  6. 08 2月, 2008 1 次提交
    • M
      Fix gcc-4.3.0 "inlining failed" warning. · 3da5504e
      Mark McLoughlin 提交于
      * src/internal.h: move xstrol() variants from here ...
      
      * src/util.[ch]: ... to here and rename to virStrToLong()
      
      * src/libvirt_sym.version: export __virStrToLong_i() for
      virsh and qemud.
      
      * src/nodeinfo.c, src/stats_linux.c, src/virsh.c,
        src/xend_internal.c, qemud/qemud.c: replace xstrtol()
      calls with virStrToLong()
      
      * src/nodeinfo.h: don't include internal.h, which was only
      needed for xstrtol(), but instead include libvirt.h which
      is suffificient for the declarations in the header.
      3da5504e
  7. 21 1月, 2008 1 次提交
  8. 10 1月, 2008 1 次提交
  9. 07 1月, 2008 1 次提交
  10. 03 12月, 2007 1 次提交
  11. 14 8月, 2007 2 次提交
  12. 20 7月, 2007 1 次提交
  13. 29 6月, 2007 1 次提交
  14. 27 6月, 2007 2 次提交
  15. 26 2月, 2007 2 次提交
  16. 29 1月, 2007 1 次提交
  17. 26 1月, 2007 1 次提交
  18. 19 1月, 2007 1 次提交
  19. 09 11月, 2006 1 次提交
  20. 17 8月, 2006 1 次提交
  21. 26 6月, 2006 1 次提交
    • D
      * configure.in libvirt.spec.in docs/examples/* include/Makefile.am · b62cdc14
      Daniel Veillard 提交于
        include/libvirt/virterror.h python/generator.py python/libvir.c
        python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
        src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
        src/xml.c src/xml.h: moved the includes from include/ to
        include/libvirt to reflect the installed include tree. This
        avoid using "" in the includes themselves.
      Daniel
      b62cdc14
  22. 15 6月, 2006 1 次提交
  23. 06 6月, 2006 1 次提交