libvirt/src/util
Daniel P. Berrange 46992453b9 Annotate many methods with ATTRIBUTE_RETURN_CHECK & fix problems
Nearly all of the methods in src/util/util.h have error codes that
must be checked by the caller to correct detect & report failure.
Add ATTRIBUTE_RETURN_CHECK to ensure compile time validation of
this

* daemon/libvirtd.c: Add explicit check on return value of virAsprintf
* src/conf/domain_conf.c: Add missing check on virParseMacAddr return
  value status & report error
* src/network/bridge_driver.c: Add missing OOM check on virAsprintf
  and report error
* src/qemu/qemu_conf.c: Add missing check on virParseMacAddr return
  value status & report error
* src/security/security_selinux.c: Remove call to virRandomInitialize
  that's done in libvirt.c already
* src/storage/storage_backend_logical.c: Add check & log on virRun
  return status
* src/util/util.c: Add missing checks on virAsprintf/Run status
* src/util/util.h: Annotate all methods with ATTRIBUTE_RETURN_CHECK
  if they return an error status code
* src/vbox/vbox_tmpl.c: Add missing check on virParseMacAddr
* src/xen/xm_internal.c: Add missing checks on virAsprintf
* tests/qemuargv2xmltest.c: Remove bogus call to virRandomInitialize()
2009-11-02 11:09:03 -05:00
..
bridge.c Introduce virStrncpy. 2009-09-22 20:10:00 +02:00
bridge.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
buf.c Avoid crash in virBufferEscapeString 2009-10-15 14:19:11 +02:00
buf.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
cgroup.c LXC fix virCgroupGetValueStr problem with \n 2009-10-19 14:29:42 +02:00
cgroup.h LXC implement memory control APIs 2009-10-07 15:26:23 +02:00
conf.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
conf.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
event.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
event.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
hash.c Remove bogus const annotations to hash iterator 2009-10-19 16:24:12 +01:00
hash.h Remove bogus const annotations to hash iterator 2009-10-19 16:24:12 +01:00
hostusb.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
hostusb.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
iptables.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
iptables.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
logging.c Add accessors for logging filters and outputs 2009-10-08 17:05:01 +02:00
logging.h Add accessors for logging filters and outputs 2009-10-08 17:05:01 +02:00
memory.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
memory.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
network.c Don't use private struct member names of in6_addr 2009-11-02 15:45:05 +01:00
network.h More network utility functions 2009-11-02 15:42:47 +01:00
pci.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
pci.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
qparams.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
qparams.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
stats_linux.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
stats_linux.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
storage_file.c Add virStorageFileGetMetadata() helper 2009-09-30 10:37:00 +01:00
storage_file.h Add virStorageFileGetMetadata() helper 2009-09-30 10:37:00 +01:00
threads-pthread.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads-pthread.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads-win32.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads-win32.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
util.c Annotate many methods with ATTRIBUTE_RETURN_CHECK & fix problems 2009-11-02 11:09:03 -05:00
util.h Annotate many methods with ATTRIBUTE_RETURN_CHECK & fix problems 2009-11-02 11:09:03 -05:00
uuid.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
uuid.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
virterror_internal.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
virterror.c virterror: Add a missing 'break' for VIR_ERR_INVALID_SECRET 2009-10-28 11:30:42 -04:00
xml.c Consolidate virXPathNodeSet() 2009-10-22 10:33:52 +02:00
xml.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00