libvirt/src/locking
Michal Privoznik 607806f87f Fix const correctness
In many places we define a variable as a 'const char *' when in fact
we modify it just a few lines below. Or even free it. We should not do
that.

There's one exception though, in xenSessionFree() xenapi_utils.c. We
are freeing the xen_session structure which is defined in
xen/api/xen_common.h public header. The structure contains session_id
which is type of 'const char *' when in fact it should have been just
'char *'. So I'm leaving this unmodified, just noticing the fact in
comment.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-07-16 12:07:24 +02:00
..
domain_lock.c locking: Add APIs to lock individual image files 2014-07-09 10:38:56 +02:00
domain_lock.h locking: Add APIs to lock individual image files 2014-07-09 10:38:56 +02:00
libvirt_lockd.aug Add support for locking based on SCSI volume ID 2012-12-13 15:26:58 +00:00
libvirt_sanlock.aug sanlock: Introduce 'user' and 'group' conf variables 2012-10-30 10:12:10 +01:00
lock_daemon_config.c Indent top-level labels by one space in src/locking/ 2014-03-25 14:58:39 +01:00
lock_daemon_config.h Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
lock_daemon_dispatch.c Indent top-level labels by one space in src/locking/ 2014-03-25 14:58:39 +01:00
lock_daemon_dispatch.h Implement dispatch functions for lock protocol in virtlockd 2012-12-13 15:26:57 +00:00
lock_daemon.c Make autostart of virtlockd actually work 2014-04-28 13:30:41 +01:00
lock_daemon.h Rename threads.{c,h} to virthread.{c,h} 2012-12-21 11:19:49 +00:00
lock_driver_lockd.c Fix const correctness 2014-07-16 12:07:24 +02:00
lock_driver_nop.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
lock_driver_nop.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
lock_driver_sanlock.c Use virBufferCheckError everywhere we report OOM error 2014-07-03 10:48:14 +02:00
lock_driver.h Convert 'int i' to 'size_t i' in src/locking/ files 2013-07-10 17:55:16 +01:00
lock_manager.c Use virFileFindResource to locate lock manager plugins 2014-04-25 11:59:46 +01:00
lock_manager.h Use virFileFindResource to locate lock manager plugins 2014-04-25 11:59:46 +01:00
lock_protocol.x Fix typos in src/* 2014-04-21 16:49:08 -06:00
lockd.conf Remove unnecessary empty first lines 2014-06-06 10:52:05 +02:00
sanlock_helper.c Indent top-level labels by one space in src/locking/ 2014-03-25 14:58:39 +01:00
sanlock.conf Remove unnecessary empty first lines 2014-06-06 10:52:05 +02:00
test_libvirt_lockd.aug.in Add support for locking based on SCSI volume ID 2012-12-13 15:26:58 +00:00
test_libvirt_sanlock.aug.in sanlock: Introduce 'user' and 'group' conf variables 2012-10-30 10:12:10 +01:00
test_virtlockd.aug.in test_virtlockd.aug.in: Use the correct file 2013-09-03 17:03:30 +02:00
virtlockd.aug Process virtlockd.conf instead of libvirtd.conf 2013-08-30 17:37:12 +02:00
virtlockd.conf Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
virtlockd.init.in virtlockd: improve initscripts 2013-12-10 12:02:37 +01:00
virtlockd.pod.in Revert "virtlockd: treat SIGHUP like SIGUSR1" 2013-12-10 15:49:06 +01:00
virtlockd.service.in Add Documentation fields to systemd service files 2014-01-09 09:32:55 +01:00
virtlockd.socket.in virtlockd: improve systemd units 2013-12-10 12:02:37 +01:00
virtlockd.sysconf Introduce basic infrastructure for virtlockd daemon 2012-12-13 15:26:57 +00:00