]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Rename hooks.{c,h} to virhook.{c,h}
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 12 Dec 2012 17:00:34 +0000 (17:00 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Dec 2012 11:17:13 +0000 (11:17 +0000)
daemon/libvirtd.c
po/POTFILES.in
src/Makefile.am
src/lxc/lxc_driver.c
src/lxc/lxc_process.c
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c
src/util/virhook.c [moved from src/util/hooks.c with 98% similarity]
src/util/virhook.h [moved from src/util/hooks.h with 97% similarity]

index 9b0e45a24b76405f3852c9c44bac49d8234abfc3..2a2897a3c127a04679f8aac1f843e53e122a2520 100644 (file)
@@ -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"
index e1fcb1bb26916652b37e6cb2c259bd8027921a85..be3f5d8b8d1c6e517b71b5ee4419463c6f9c6ab0 100644 (file)
@@ -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
index 0505d6973747c1e0c320b22a50310b8ddf1beca3..5df6fff0b8e6671e6947c45786d362fa79f552bb 100644 (file)
@@ -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             \
index 67d6bdb44fbde7d1f3cd7d287977c19335a7e708..6f297680b8d876f6e4b6aaacf916d4492a88a39d 100644 (file)
@@ -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"
index e5f1ce2cb6393904001ac634311c93e62abd32a9..fa53217f9c595b5cd3effeb8cb4a7be7324aab1f 100644 (file)
@@ -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
 
index 8c1fa6090495e54e5e05c275f72472f96f68e543..a499cb51af80f8aced49fd03b857490438734d01 100644 (file)
@@ -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"
index 5dcbb07954051c574a34abf45dfed5cefffcd262..d7cdcaf3fde4f2f38392678a3ca7d3c430224338 100644 (file)
@@ -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
index 030e0005d817214c3b22b2dce412bb99d2b1c7b5..ef88ba2d4c7374ed788e2fbafd5e4a1614496dca 100644 (file)
@@ -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"
similarity index 98%
rename from src/util/hooks.c
rename to src/util/virhook.c
index a6c056d51e3e1ae373e83b9a32557d5f337d6f51..76571da17bb1208ca5e44089ba1bf8a63f0cb2f8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * hooks.c: implementation of the synchronous hooks support
+ * virhook.c: implementation of the synchronous hooks support
  *
  * Copyright (C) 2010-2012 Red Hat, Inc.
  * Copyright (C) 2010 Daniel Veillard
@@ -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"
similarity index 97%
rename from src/util/hooks.h
rename to src/util/virhook.h
index 0ca376f6a25b54050127a1ca6d7665d7ac1c300c..2aad054d41fb72878167d6ae97b6f2f742967085 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * hook.h: internal entry points needed for synchronous hooks support
+ * virhook.h: internal entry points needed for synchronous hooks support
  *
  * Copyright (C) 2010 Red Hat, Inc.
  * Copyright (C) 2010 Daniel Veillard