• E
    sendkey: use consistent API convention · 1d575629
    Eric Blake 提交于
    Even though rpc uses 'unsigned int' for the _len parameter that
    passes the length of item<length>, the public libvirt APIs all
    use 'int' and filter out lengths < 0, except for virDomainSendKey.
    
    * include/libvirt/libvirt.h.in (virDomainSendKey): All other APIs
    use int for array length.
    * src/libvirt.c (virDomainSendKey): Adjust.
    * src/driver.h (virDrvDomainSendKey): Likewise.
    * daemon/remote_generator.pl: Likewise.
    1d575629
libvirt.c 423.6 KB