libvirt/src/remote
Andrea Bolognani 6c0d0210cb src: Make virStr*cpy*() functions return an int
Currently, the functions return a pointer to the
destination buffer on success or NULL on failure.

Not only does this kind of error handling look quite
alien in the context of libvirt, where most functions
return zero on success and a negative int on failure,
but it's also somewhat pointless because unless there's
been a failure the returned pointer will be the same
one passed in by the user, thus offering no additional
value.

Change the functions so that they return an int
instead.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2018-07-23 14:27:30 +02:00
..
libvirtd.aug rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
libvirtd.conf log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
libvirtd.init.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.libxl.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.lxc.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.pod daemon: move libvirtd POD manpage into src/remote/ 2018-02-22 12:21:09 +00:00
libvirtd.policy Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
libvirtd.qemu.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.rules daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.sasl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.service.in libvirtd: Add service dependency on systemd-logind 2018-06-12 13:29:42 -04:00
libvirtd.sysconf daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysctl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.uml.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.upstart daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
lxc_protocol.x Add ACL annotations to all RPC messages 2013-06-24 15:24:36 +01:00
Makefile.inc.am remote: always build generated source files 2018-04-20 11:48:30 +01:00
qemu_protocol.x qemu: wire up RPC for qemu monitor events 2014-03-20 11:25:37 -06:00
remote_daemon_config.c daemon: Raise an error if 'max_workers' < 1 in libvirtd.conf 2018-07-21 07:46:45 -04:00
remote_daemon_config.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_dispatch.c src: Use VIR_STRDUP() wherever possible 2018-07-23 14:27:23 +02:00
remote_daemon_dispatch.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_stream.c stream: Access stream->prog instead of a hard-coded global variable 2018-03-15 17:12:28 -04:00
remote_daemon_stream.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon.c nwfilter: convert virt drivers to use public API for nwfilter bindings 2018-06-26 18:17:23 +01:00
remote_daemon.h remote: use a separate connection for storage APIs 2018-04-09 15:24:31 +01:00
remote_driver.c src: Make virStr*cpy*() functions return an int 2018-07-23 14:27:30 +02:00
remote_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
remote_protocol.x remote: add support for nwfilter binding objects 2018-06-26 11:22:07 +01:00
test_libvirtd.aug.in log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
virt-guest-shutdown.target.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00