Same as virStorageFileBackend, it doesn't belong into util directory.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
@SRCDIR@src/storage_file/storage_file_backend.c
@SRCDIR@src/storage_file/storage_file_backend_fs.c
@SRCDIR@src/storage_file/storage_file_backend_gluster.c
+@SRCDIR@src/storage_file/storage_file_probe.c
@SRCDIR@src/storage_file/storage_source.c
@SRCDIR@src/test/test_driver.c
@SRCDIR@src/util/iohelper.c
@SRCDIR@src/util/virsocketaddr.c
@SRCDIR@src/util/virstorageencryption.c
@SRCDIR@src/util/virstoragefile.c
-@SRCDIR@src/util/virstoragefileprobe.c
@SRCDIR@src/util/virstring.c
@SRCDIR@src/util/virsysinfo.c
@SRCDIR@src/util/virsystemd.c
virStorageFileBackendRegister;
+# storage_file/storage_file_probe.h
+virStorageFileProbeFormat;
+virStorageFileProbeGetMetadata;
+
+
# storage_file/storage_source.h
virStorageFileAccess;
virStorageFileChainLookup;
virStorageTypeToString;
-# util/virstoragefileprobe.h
-virStorageFileProbeFormat;
-virStorageFileProbeGetMetadata;
-
-
# util/virstring.h
virSkipSpaces;
virSkipSpacesAndBackslash;
#include "domain_nwfilter.h"
#include "virhook.h"
#include "virstoragefile.h"
-#include "virstoragefileprobe.h"
+#include "storage_file_probe.h"
#include "storage_source.h"
#include "virfile.h"
#include "virfdstream.h"
#include "viralloc.h"
#include "virerror.h"
#include "virlog.h"
-#include "virstoragefileprobe.h"
#include "virstring.h"
#include "viruri.h"
+#include "storage_file_probe.h"
#include "storage_util.h"
#include "storage_source.h"
#include "vircrypto.h"
#include "viruuid.h"
#include "virstoragefile.h"
-#include "virstoragefileprobe.h"
+#include "storage_file_probe.h"
#include "storage_util.h"
#include "storage_source.h"
#include "virlog.h"
storage_file_sources = [
'storage_source.c',
'storage_file_backend.c',
+ 'storage_file_probe.c',
]
stoarge_file_fs_sources = [
/*
- * virstoragefileprobe.c: file utility functions for FS storage backend
+ * storage_file_probe.c: file utility functions for FS storage backend
*
* Copyright (C) 2007-2017 Red Hat, Inc.
* Copyright (C) 2007-2008 Daniel P. Berrange
#include <fcntl.h>
#include "internal.h"
+#include "storage_file_probe.h"
#include "viralloc.h"
#include "virbitmap.h"
#include "virendian.h"
#include "virfile.h"
#include "virlog.h"
#include "virstoragefile.h"
-#include "virstoragefileprobe.h"
#define VIR_FROM_THIS VIR_FROM_STORAGE
-VIR_LOG_INIT("util.storagefileprobe");
+VIR_LOG_INIT("storage_file.storagefileprobe");
enum lv_endian {
LV_LITTLE_ENDIAN = 1, /* 1234 */
/*
- * virstoragefileprobe.h: file utility functions for FS storage backend
+ * storage_file_probe.h: file utility functions for FS storage backend
*
* Copyright (C) 2007-2009, 2012-2016 Red Hat, Inc.
* Copyright (C) 2007-2008 Daniel P. Berrange
#include "internal.h"
#include "storage_file_backend.h"
+#include "storage_file_probe.h"
#include "storage_source.h"
#include "viralloc.h"
#include "virerror.h"
#include "virlog.h"
#include "virobject.h"
#include "virstoragefile.h"
-#include "virstoragefileprobe.h"
#include "virstring.h"
#include "viruri.h"
#include "virutil.h"
'virsocketaddr.c',
'virstorageencryption.c',
'virstoragefile.c',
- 'virstoragefileprobe.c',
'virstring.c',
'virsysinfo.c',
'virsystemd.c',