mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Rename hash.h and hash.c to virhash.h and virhash.c
In preparation for the patch to include Murmurhash3, which introduces a virhashcode.h and virhashcode.c files, rename the existing hash.h and hash.c to virhash.h and virhash.c respectively.
This commit is contained in:
parent
9f2bf8fd03
commit
1d5c7a9fdf
@ -110,7 +110,6 @@ src/util/command.c
|
|||||||
src/util/conf.c
|
src/util/conf.c
|
||||||
src/util/dnsmasq.c
|
src/util/dnsmasq.c
|
||||||
src/util/event_poll.c
|
src/util/event_poll.c
|
||||||
src/util/hash.c
|
|
||||||
src/util/hooks.c
|
src/util/hooks.c
|
||||||
src/util/hostusb.c
|
src/util/hostusb.c
|
||||||
src/util/iohelper.c
|
src/util/iohelper.c
|
||||||
@ -126,6 +125,7 @@ src/util/sysinfo.c
|
|||||||
src/util/util.c
|
src/util/util.c
|
||||||
src/util/viraudit.c
|
src/util/viraudit.c
|
||||||
src/util/virfile.c
|
src/util/virfile.c
|
||||||
|
src/util/virhash.c
|
||||||
src/util/virnetdev.c
|
src/util/virnetdev.c
|
||||||
src/util/virnetdevbridge.c
|
src/util/virnetdevbridge.c
|
||||||
src/util/virnetdevmacvlan.c
|
src/util/virnetdevmacvlan.c
|
||||||
|
@ -60,7 +60,6 @@ UTIL_SOURCES = \
|
|||||||
util/cgroup.c util/cgroup.h \
|
util/cgroup.c util/cgroup.h \
|
||||||
util/event.c util/event.h \
|
util/event.c util/event.h \
|
||||||
util/event_poll.c util/event_poll.h \
|
util/event_poll.c util/event_poll.h \
|
||||||
util/hash.c util/hash.h \
|
|
||||||
util/hooks.c util/hooks.h \
|
util/hooks.c util/hooks.h \
|
||||||
util/iptables.c util/iptables.h \
|
util/iptables.c util/iptables.h \
|
||||||
util/ebtables.c util/ebtables.h \
|
util/ebtables.c util/ebtables.h \
|
||||||
@ -90,6 +89,7 @@ UTIL_SOURCES = \
|
|||||||
util/virtypedparam.c util/virtypedparam.h \
|
util/virtypedparam.c util/virtypedparam.h \
|
||||||
util/xml.c util/xml.h \
|
util/xml.c util/xml.h \
|
||||||
util/virterror.c util/virterror_internal.h \
|
util/virterror.c util/virterror_internal.h \
|
||||||
|
util/virhash.c util/virhash.h \
|
||||||
util/virkeycode.c util/virkeycode.h \
|
util/virkeycode.c util/virkeycode.h \
|
||||||
util/virkeymaps.h \
|
util/virkeymaps.h \
|
||||||
util/virnetdev.h util/virnetdev.c \
|
util/virnetdev.h util/virnetdev.c \
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
# include "cpu_conf.h"
|
# include "cpu_conf.h"
|
||||||
# include "util.h"
|
# include "util.h"
|
||||||
# include "threads.h"
|
# include "threads.h"
|
||||||
# include "hash.h"
|
# include "virhash.h"
|
||||||
# include "virsocketaddr.h"
|
# include "virsocketaddr.h"
|
||||||
# include "nwfilter_params.h"
|
# include "nwfilter_params.h"
|
||||||
# include "nwfilter_conf.h"
|
# include "nwfilter_conf.h"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
# include "internal.h"
|
# include "internal.h"
|
||||||
|
|
||||||
# include "util.h"
|
# include "util.h"
|
||||||
# include "hash.h"
|
# include "virhash.h"
|
||||||
# include "xml.h"
|
# include "xml.h"
|
||||||
# include "buf.h"
|
# include "buf.h"
|
||||||
# include "virsocketaddr.h"
|
# include "virsocketaddr.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef NWFILTER_PARAMS_H
|
#ifndef NWFILTER_PARAMS_H
|
||||||
# define NWFILTER_PARAMS_H
|
# define NWFILTER_PARAMS_H
|
||||||
|
|
||||||
# include "hash.h"
|
# include "virhash.h"
|
||||||
# include "buf.h"
|
# include "buf.h"
|
||||||
|
|
||||||
enum virNWFilterVarValueType {
|
enum virNWFilterVarValueType {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "hash.h"
|
#include "virhash.h"
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "cpu_generic.h"
|
#include "cpu_generic.h"
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
# include "domain_conf.h"
|
# include "domain_conf.h"
|
||||||
# include "qemu_conf.h"
|
# include "qemu_conf.h"
|
||||||
# include "hash.h"
|
# include "virhash.h"
|
||||||
|
|
||||||
typedef struct _qemuMonitor qemuMonitor;
|
typedef struct _qemuMonitor qemuMonitor;
|
||||||
typedef qemuMonitor *qemuMonitorPtr;
|
typedef qemuMonitor *qemuMonitorPtr;
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
# include "internal.h"
|
# include "internal.h"
|
||||||
|
|
||||||
# include "qemu_monitor.h"
|
# include "qemu_monitor.h"
|
||||||
# include "hash.h"
|
|
||||||
|
|
||||||
int qemuMonitorTextIOProcess(qemuMonitorPtr mon,
|
int qemuMonitorTextIOProcess(qemuMonitorPtr mon,
|
||||||
const char *data,
|
const char *data,
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
# include "virterror_internal.h"
|
# include "virterror_internal.h"
|
||||||
# include "threads.h"
|
# include "threads.h"
|
||||||
# include "command.h"
|
# include "command.h"
|
||||||
# include "hash.h"
|
# include "virhash.h"
|
||||||
|
|
||||||
# define umlDebug(fmt, ...) do {} while(0)
|
# define umlDebug(fmt, ...) do {} while(0)
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include "cgroup.h"
|
#include "cgroup.h"
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "hash.h"
|
#include "virhash.h"
|
||||||
|
|
||||||
#define CGROUP_MAX_VAL 512
|
#define CGROUP_MAX_VAL 512
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* hash.c: chained hash tables for domain and domain/connection deallocations
|
* virhash.c: chained hash tables for domain and domain/connection deallocatiosn
|
||||||
*
|
*
|
||||||
* Reference: Your favorite introductory book on algorithms
|
* Reference: Your favorite introductory book on algorithms
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Red Hat, Inc.
|
* Copyright (C) 2005-2012 Red Hat, Inc.
|
||||||
* Copyright (C) 2000 Bjorn Reese and Daniel Veillard.
|
* Copyright (C) 2000 Bjorn Reese and Daniel Veillard.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
|
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
|
||||||
* CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.
|
* CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.
|
||||||
*
|
*
|
||||||
* Author: breese@users.sourceforge.net
|
* Author: Bjorn Reese <bjorn.reese@systematic.dk>
|
||||||
* Daniel Veillard <veillard@redhat.com>
|
* Daniel Veillard <veillard@redhat.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -25,7 +25,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "virterror_internal.h"
|
#include "virterror_internal.h"
|
||||||
#include "hash.h"
|
#include "virhash.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
|
|
@ -3,7 +3,8 @@
|
|||||||
* Description: This module implements the hash table and allocation and
|
* Description: This module implements the hash table and allocation and
|
||||||
* deallocation of domains and connections
|
* deallocation of domains and connections
|
||||||
*
|
*
|
||||||
* Copy: Copyright (C) 2005, 2011 Red Hat, Inc.
|
* Copyright (C) 2005-2012 Red Hat, Inc.
|
||||||
|
* Copyright (C) 2000 Bjorn Reese and Daniel Veillard.
|
||||||
*
|
*
|
||||||
* Author: Bjorn Reese <bjorn.reese@systematic.dk>
|
* Author: Bjorn Reese <bjorn.reese@systematic.dk>
|
||||||
* Daniel Veillard <veillard@redhat.com>
|
* Daniel Veillard <veillard@redhat.com>
|
@ -20,7 +20,7 @@
|
|||||||
# include "xen_inotify.h"
|
# include "xen_inotify.h"
|
||||||
# endif
|
# endif
|
||||||
# include "domain_event.h"
|
# include "domain_event.h"
|
||||||
# include "hash.h"
|
# include "virhash.h"
|
||||||
|
|
||||||
# ifndef HAVE_WINSOCK2_H
|
# ifndef HAVE_WINSOCK2_H
|
||||||
# include <sys/un.h>
|
# include <sys/un.h>
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include "xend_internal.h"
|
#include "xend_internal.h"
|
||||||
#include "xen_sxpr.h"
|
#include "xen_sxpr.h"
|
||||||
#include "xen_xm.h"
|
#include "xen_xm.h"
|
||||||
#include "hash.h"
|
#include "virhash.h"
|
||||||
#include "buf.h"
|
#include "buf.h"
|
||||||
#include "uuid.h"
|
#include "uuid.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
@ -95,7 +95,7 @@ EXTRA_DIST = \
|
|||||||
check_PROGRAMS = virshtest conftest sockettest \
|
check_PROGRAMS = virshtest conftest sockettest \
|
||||||
nodeinfotest qparamtest virbuftest \
|
nodeinfotest qparamtest virbuftest \
|
||||||
commandtest commandhelper seclabeltest \
|
commandtest commandhelper seclabeltest \
|
||||||
hashtest virnetmessagetest virnetsockettest ssh \
|
virhashtest virnetmessagetest virnetsockettest ssh \
|
||||||
utiltest virnettlscontexttest shunloadtest \
|
utiltest virnettlscontexttest shunloadtest \
|
||||||
virtimetest
|
virtimetest
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ TESTS = virshtest \
|
|||||||
sockettest \
|
sockettest \
|
||||||
commandtest \
|
commandtest \
|
||||||
seclabeltest \
|
seclabeltest \
|
||||||
hashtest \
|
virhashtest \
|
||||||
virnetmessagetest \
|
virnetmessagetest \
|
||||||
virnetsockettest \
|
virnetsockettest \
|
||||||
virnettlscontexttest \
|
virnettlscontexttest \
|
||||||
@ -515,9 +515,9 @@ virbuftest_SOURCES = \
|
|||||||
virbuftest.c testutils.h testutils.c
|
virbuftest.c testutils.h testutils.c
|
||||||
virbuftest_LDADD = $(LDADDS)
|
virbuftest_LDADD = $(LDADDS)
|
||||||
|
|
||||||
hashtest_SOURCES = \
|
virhashtest_SOURCES = \
|
||||||
hashtest.c hashdata.h testutils.h testutils.c
|
virhashtest.c virhashdata.h testutils.h testutils.c
|
||||||
hashtest_LDADD = $(LDADDS)
|
virhashtest_LDADD = $(LDADDS)
|
||||||
|
|
||||||
jsontest_SOURCES = \
|
jsontest_SOURCES = \
|
||||||
jsontest.c testutils.h testutils.c
|
jsontest.c testutils.h testutils.c
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "hash.h"
|
#include "virhash.h"
|
||||||
#include "hashdata.h"
|
#include "virhashdata.h"
|
||||||
#include "testutils.h"
|
#include "testutils.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user