libvirt/src/util
Miloslav Trmač 39c814ff46 Use helper functions to format the journal iov array
This simplifies the top-level code, at the cost of using a little more
stack space.  The primary benefit is being able to send more fields
without knowing in advance how many of them, and of which types, these
fields will be, and without having to individually add buffer variables.

The code imposes an upper limit on the total number of iovs/buffers
used, and fields that wouldn't fit are silently dropped.  This is not
significant in this patch, but will affect the following one.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2012-11-14 20:20:02 -07:00
..
bitmap.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
bitmap.h bitmap: add virBitmapCountBits 2012-10-25 11:19:23 -06:00
buf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
buf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
cgroup.c Various typos and misspellings 2012-10-12 00:03:43 +02:00
cgroup.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
command.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
command.h Move virProcess{Kill,Abort,TranslateStatus} into virprocess.{c,h} 2012-09-26 10:09:57 +01:00
conf.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
dnsmasq.c network: always create dnsmasq hosts and addnhosts files, even if empty 2012-10-20 21:29:19 -04:00
dnsmasq.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
ebtables.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
ebtables.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
event_poll.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
event_poll.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
event.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
event.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
hooks.c hooks: let virCommand do the error reporting 2012-10-09 08:41:53 -06:00
hooks.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
hostusb.c qemu: Add option to treat missing USB devices as success 2012-10-11 15:11:41 +02:00
hostusb.h qemu: Add option to treat missing USB devices as success 2012-10-11 15:11:41 +02:00
iohelper.c iohelper: Don't report errors on special FDs 2012-11-05 16:55:42 +01:00
iptables.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
iptables.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
json.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
json.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
keymaps.csv Rsync keymaps.csv file with GTK-VNC 2012-01-12 20:44:55 +00:00
logging.c Use helper functions to format the journal iov array 2012-11-14 20:20:02 -07:00
logging.h Add metadata to virLogOutputFunc 2012-11-14 19:14:07 -07:00
memory.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
memory.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
pci.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
pci.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
processinfo.c Various typos and misspellings 2012-10-12 00:03:43 +02:00
processinfo.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
sexpr.c Convert (nearly) all files in src/util/ to use virReportError() 2012-07-18 16:31:35 +01:00
sexpr.h build: fix PROBE() usage of intptr_t 2012-08-09 15:40:42 -06:00
stats_linux.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
stats_linux.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_file.c storage: fix broken backing chain 2012-11-08 16:03:36 -07:00
storage_file.h storage: let format probing work on root-squash NFS 2012-10-22 09:04:57 -06:00
sysinfo.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
sysinfo.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threadpool.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threadpool.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threads-pthread.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threads-pthread.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threads-win32.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threads-win32.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threads.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
threads.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
util.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
util.h Add systemd journal support 2012-09-28 16:02:56 +01:00
uuid.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
uuid.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
viratomic.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
viratomic.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
viraudit.c Add a metadata parameter to virLog{, V}Message 2012-11-14 19:08:31 -07:00
viraudit.h Change logging category parameter into an enum 2012-09-28 10:39:28 +01:00
virauth.c Fix crash accessing a NULL URI when looking up auth credentials 2012-09-21 10:13:53 +01:00
virauth.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virauthconfig.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virauthconfig.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virdbus.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virdbus.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virfile.c qemu: Report errors from iohelper 2012-10-29 17:04:26 +01:00
virfile.h qemu: Report errors from iohelper 2012-10-29 17:04:26 +01:00
virhash.c Fix some typos in messages, docs and comments. 2012-08-22 15:34:07 -06:00
virhash.h Implement virHashRemoveAll function 2012-04-19 10:21:43 -04:00
virhashcode.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virhashcode.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkeycode-mapgen.py Fix keymap used to talk with QEMU 2011-08-26 14:18:57 +01:00
virkeycode.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkeycode.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkeyfile.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkeyfile.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virlockspace.c util: fix index when building lock owners array 2012-11-14 12:43:49 -05:00
virlockspace.h Add JSON serialization of virLockSpacePtr objects for process re-exec() 2012-10-16 15:45:55 +01:00
virmacaddr.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virmacaddr.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdev.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdev.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevbandwidth.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevbandwidth.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevbridge.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevbridge.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevmacvlan.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
virnetdevmacvlan.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevopenvswitch.c openvswitch: Add utility functions for getting and setting Open vSwitch per-port data 2012-10-23 15:26:04 -04:00
virnetdevopenvswitch.h openvswitch: Add utility functions for getting and setting Open vSwitch per-port data 2012-10-23 15:26:04 -04:00
virnetdevtap.c network: fix dnsmasq/radvd binding to IPv6 on recent kernels 2012-09-27 11:17:52 -06:00
virnetdevtap.h network: fix dnsmasq/radvd binding to IPv6 on recent kernels 2012-09-27 11:17:52 -06:00
virnetdevveth.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevveth.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevvlan.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevvlan.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevvportprofile.c Correct checking of virStrcpyStatic() return value 2012-10-03 21:17:13 -04:00
virnetdevvportprofile.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetlink.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetlink.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnodesuspend.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnodesuspend.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virobject.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virobject.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virpidfile.c Don't assume pid_t is the same size as an int 2012-11-01 09:16:04 +00:00
virpidfile.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virprocess.c Don't assume pid_t is the same size as an int 2012-11-01 09:16:04 +00:00
virprocess.h Move most of qemuProcessKill into virProcessKillPainfully 2012-09-27 10:11:44 +01:00
virrandom.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virrandom.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsocketaddr.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
virsocketaddr.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virterror_internal.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virterror.c Add a metadata parameter to virLog{, V}Message 2012-11-14 19:08:31 -07:00
virtime.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
virtime.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virtypedparam.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virtypedparam.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
viruri.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
viruri.h Fix crash accessing a NULL URI when looking up auth credentials 2012-09-21 10:13:53 +01:00
xml.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
xml.h xml: print uuids in the warning 2012-10-29 14:38:43 +01:00