[PATCH v2 10/28] Rename hooks.{c,h} to virhook.{c,h}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

---
 daemon/libvirtd.c               | 2 +-
 po/POTFILES.in                  | 2 +-
 src/Makefile.am                 | 2 +-
 src/lxc/lxc_driver.c            | 2 +-
 src/lxc/lxc_process.c           | 2 +-
 src/qemu/qemu_driver.c          | 2 +-
 src/qemu/qemu_migration.c       | 2 +-
 src/qemu/qemu_process.c         | 2 +-
 src/util/{hooks.c => virhook.c} | 2 +-
 src/util/{hooks.h => virhook.h} | 0
 10 files changed, 9 insertions(+), 9 deletions(-)
 rename src/util/{hooks.c => virhook.c} (99%)
 rename src/util/{hooks.h => virhook.h} (100%)

diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
index 9b0e45a..2a2897a 100644
--- a/daemon/libvirtd.c
+++ b/daemon/libvirtd.c
@@ -53,7 +53,7 @@
 #include "threads.h"
 #include "remote.h"
 #include "remote_driver.h"
-#include "hooks.h"
+#include "virhook.h"
 #include "uuid.h"
 #include "viraudit.h"
 #include "locking/lock_manager.h"
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e1fcb1b..be3f5d8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -138,7 +138,6 @@ src/storage/storage_driver.c
 src/test/test_driver.c
 src/uml/uml_conf.c
 src/uml/uml_driver.c
-src/util/hooks.c
 src/util/hostusb.c
 src/util/iohelper.c
 src/util/iptables.c
@@ -161,6 +160,7 @@ src/util/virdnsmasq.c
 src/util/vireventpoll.c
 src/util/virfile.c
 src/util/virhash.c
+src/util/virhook.c
 src/util/virinitctl.c
 src/util/virkeyfile.c
 src/util/virlockspace.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 0505d69..5df6fff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -53,7 +53,6 @@ augeastest_DATA =
 # These files are not related to driver APIs. Simply generic
 # helper APIs for various purposes
 UTIL_SOURCES =							\
-		util/hooks.c util/hooks.h			\
 		util/iptables.c util/iptables.h			\
 		util/json.c util/json.h				\
 		util/logging.c util/logging.h			\
@@ -85,6 +84,7 @@ UTIL_SOURCES =							\
 		util/virevent.c util/virevent.h			\
 		util/vireventpoll.c util/vireventpoll.h		\
 		util/virfile.c util/virfile.h			\
+		util/virhook.c util/virhook.h			\
 		util/virnodesuspend.c util/virnodesuspend.h	\
 		util/virobject.c util/virobject.h		\
 		util/virpidfile.c util/virpidfile.h		\
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index 67d6bdb..6f29768 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -52,7 +52,7 @@
 #include "nodeinfo.h"
 #include "uuid.h"
 #include "stats_linux.h"
-#include "hooks.h"
+#include "virhook.h"
 #include "virfile.h"
 #include "virpidfile.h"
 #include "fdstream.h"
diff --git a/src/lxc/lxc_process.c b/src/lxc/lxc_process.c
index e5f1ce2..fa53217 100644
--- a/src/lxc/lxc_process.c
+++ b/src/lxc/lxc_process.c
@@ -43,8 +43,8 @@
 #include "virterror_internal.h"
 #include "logging.h"
 #include "vircommand.h"
-#include "hooks.h"
 #include "lxc_hostdev.h"
+#include "virhook.h"
 
 #define VIR_FROM_THIS VIR_FROM_LXC
 
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 8c1fa60..a499cb5 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -79,7 +79,7 @@
 #include "cpu/cpu.h"
 #include "sysinfo.h"
 #include "domain_nwfilter.h"
-#include "hooks.h"
+#include "virhook.h"
 #include "storage_file.h"
 #include "virfile.h"
 #include "fdstream.h"
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 5dcbb07..d7cdcaf 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -49,7 +49,7 @@
 #include "rpc/virnetsocket.h"
 #include "storage_file.h"
 #include "viruri.h"
-#include "hooks.h"
+#include "virhook.h"
 
 
 #define VIR_FROM_THIS VIR_FROM_QEMU
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 030e000..ef88ba2 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -54,7 +54,7 @@
 #include "logging.h"
 #include "virterror_internal.h"
 #include "memory.h"
-#include "hooks.h"
+#include "virhook.h"
 #include "virfile.h"
 #include "virpidfile.h"
 #include "util.h"
diff --git a/src/util/hooks.c b/src/util/virhook.c
similarity index 99%
rename from src/util/hooks.c
rename to src/util/virhook.c
index a6c056d..0e83f0b 100644
--- a/src/util/hooks.c
+++ b/src/util/virhook.c
@@ -31,7 +31,7 @@
 #include <stdio.h>
 
 #include "virterror_internal.h"
-#include "hooks.h"
+#include "virhook.h"
 #include "util.h"
 #include "logging.h"
 #include "memory.h"
diff --git a/src/util/hooks.h b/src/util/virhook.h
similarity index 100%
rename from src/util/hooks.h
rename to src/util/virhook.h
-- 
1.7.11.7

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]