pgbackrest.git / summary / log / commit / refs

commit    da43db354343d629029fd78ceefecaa57bf58c73
Author:   David Steele <david@pgmasters.net>
Date:     Tue Mar 31 00:52:57 2020 +0000

    Move common/object.h to common/type/object.h.
    
    This header does not contain a type but is used to define types so this seems like a better location.


src/command/backup/pageChecksum.c | 2 +- src/common/compress/gz/compress.c | 2 +- src/common/compress/gz/decompress.c | 2 +- src/common/compress/lz4/compress.c | 2 +- src/common/compress/lz4/decompress.c | 2 +- src/common/crypto/cipherBlock.c | 2 +- src/common/crypto/hash.c | 2 +- src/common/exec.c | 2 +- src/common/ini.c | 2 +- src/common/io/bufferRead.c | 2 +- src/common/io/bufferWrite.c | 2 +- src/common/io/filter/buffer.c | 2 +- src/common/io/filter/filter.c | 2 +- src/common/io/filter/group.c | 2 +- src/common/io/filter/sink.c | 2 +- src/common/io/filter/size.c | 2 +- src/common/io/handleRead.c | 2 +- src/common/io/handleWrite.c | 2 +- src/common/io/http/cache.c | 2 +- src/common/io/http/client.c | 2 +- src/common/io/http/header.c | 2 +- src/common/io/http/query.c | 2 +- src/common/io/read.c | 2 +- src/common/io/tls/client.c | 2 +- src/common/io/write.c | 2 +- src/common/macro.h | 2 +- src/common/regExp.c | 2 +- src/common/type/buffer.c | 2 +- src/common/type/keyValue.c | 2 +- src/common/type/list.c | 2 +- src/common/type/mcv.c | 2 +- type}/object.h | 4 ++-- src/common/type/xml.c | 2 +- src/common/wait.c | 2 +- src/db/db.c | 2 +- src/info/info.c | 2 +- src/info/infoArchive.c | 2 +- src/info/infoBackup.c | 2 +- src/info/infoPg.c | 2 +- src/info/manifest.c | 2 +- src/postgres/client.c | 2 +- src/protocol/client.c | 2 +- src/protocol/command.c | 2 +- src/protocol/parallel.c | 2 +- src/protocol/parallelJob.c | 2 +- src/protocol/server.c | 2 +- src/storage/posix/read.c | 2 +- src/storage/posix/storage.intern.h | 2 +- src/storage/posix/write.c | 2 +- src/storage/read.c | 2 +- src/storage/remote/read.c | 2 +- src/storage/remote/storage.c | 2 +- src/storage/remote/write.c | 2 +- src/storage/s3/read.c | 2 +- src/storage/s3/storage.c | 2 +- src/storage/s3/write.c | 2 +- src/storage/storage.c | 2 +- src/storage/write.c | 2 +- test/code-count/file-type.yaml | 2 +- test/define.yaml | 14 +++++++------- typeObjectTest.c} | 0 test/src/module/performance/storageTest.c | 2 +- 62 files changed, 68 insertions(+), 68 deletions(-) diff --git a/src/command/backup/pageChecksum.c b/src/command/backup/pageChecksum.c index 5a04a7327..7812d6181 100644 --- a/src/command/backup/pageChecksum.c +++ b/src/command/backup/pageChecksum.c @@ -8,7 +8,7 @@ Page Checksum Filter #include "command/backup/pageChecksum.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "postgres/interface.h" #include "postgres/interface/static.auto.h" diff --git a/src/common/compress/gz/compress.c b/src/common/compress/gz/compress.c index c77ba7f63..39a379b02 100644 --- a/src/common/compress/gz/compress.c +++ b/src/common/compress/gz/compress.c @@ -12,7 +12,7 @@ Gz Compress #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter type constant diff --git a/src/common/compress/gz/decompress.c b/src/common/compress/gz/decompress.c index 3cee7dd21..9455b1393 100644 --- a/src/common/compress/gz/decompress.c +++ b/src/common/compress/gz/decompress.c @@ -12,7 +12,7 @@ Gz Decompress #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter type constant diff --git a/src/common/compress/lz4/compress.c b/src/common/compress/lz4/compress.c index d8c379ad5..b30618e84 100644 --- a/src/common/compress/lz4/compress.c +++ b/src/common/compress/lz4/compress.c @@ -17,7 +17,7 @@ Developed against version r131 using the documentation in https://github.com/lz4 #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Older versions of lz4 do not define the max header size. This seems to be the max for any version. diff --git a/src/common/compress/lz4/decompress.c b/src/common/compress/lz4/decompress.c index cd3d047a6..fbe08eead 100644 --- a/src/common/compress/lz4/decompress.c +++ b/src/common/compress/lz4/decompress.c @@ -14,7 +14,7 @@ LZ4 Decompress #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter type constant diff --git a/src/common/crypto/cipherBlock.c b/src/common/crypto/cipherBlock.c index 4326b4b1f..e99d1531f 100644 --- a/src/common/crypto/cipherBlock.c +++ b/src/common/crypto/cipherBlock.c @@ -14,7 +14,7 @@ Block Cipher #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter type constant diff --git a/src/common/crypto/hash.c b/src/common/crypto/hash.c index eb2b9884e..42826ff6e 100644 --- a/src/common/crypto/hash.c +++ b/src/common/crypto/hash.c @@ -14,7 +14,7 @@ Cryptographic Hash #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/crypto/common.h" /*********************************************************************************************************************************** diff --git a/src/common/exec.c b/src/common/exec.c index f2eae7937..a7b2aeb8f 100644 --- a/src/common/exec.c +++ b/src/common/exec.c @@ -18,7 +18,7 @@ Execute Process #include "common/io/io.h" #include "common/io/read.intern.h" #include "common/io/write.intern.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/wait.h" /*********************************************************************************************************************************** diff --git a/src/common/ini.c b/src/common/ini.c index a6875069d..d0606f927 100644 --- a/src/common/ini.c +++ b/src/common/ini.c @@ -12,7 +12,7 @@ Ini Handler #include "common/log.h" #include "common/ini.h" #include "common/type/keyValue.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/bufferRead.c b/src/common/io/bufferRead.c index 986b4e5d7..7c259e54a 100644 --- a/src/common/io/bufferRead.c +++ b/src/common/io/bufferRead.c @@ -8,7 +8,7 @@ Buffer IO Read #include "common/io/read.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/bufferWrite.c b/src/common/io/bufferWrite.c index 7af0aa03e..96efc1058 100644 --- a/src/common/io/bufferWrite.c +++ b/src/common/io/bufferWrite.c @@ -8,7 +8,7 @@ Buffer IO Write #include "common/io/write.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/filter/buffer.c b/src/common/io/filter/buffer.c index b4ca3ac42..53a567f1e 100644 --- a/src/common/io/filter/buffer.c +++ b/src/common/io/filter/buffer.c @@ -10,7 +10,7 @@ IO Buffer Filter #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter type constant diff --git a/src/common/io/filter/filter.c b/src/common/io/filter/filter.c index 9965e030d..b38779de9 100644 --- a/src/common/io/filter/filter.c +++ b/src/common/io/filter/filter.c @@ -7,7 +7,7 @@ IO Filter Interface #include "common/io/filter/filter.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/filter/group.c b/src/common/io/filter/group.c index 738c8a9a1..9eb16e1d8 100644 --- a/src/common/io/filter/group.c +++ b/src/common/io/filter/group.c @@ -12,8 +12,8 @@ IO Filter Group #include "common/io/io.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/list.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter and buffer structure diff --git a/src/common/io/filter/sink.c b/src/common/io/filter/sink.c index 9ec241d2f..c2be96db0 100644 --- a/src/common/io/filter/sink.c +++ b/src/common/io/filter/sink.c @@ -8,7 +8,7 @@ IO Sink Filter #include "common/io/filter/sink.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter type constant diff --git a/src/common/io/filter/size.c b/src/common/io/filter/size.c index b1eae7220..e4b17341b 100644 --- a/src/common/io/filter/size.c +++ b/src/common/io/filter/size.c @@ -10,7 +10,7 @@ IO Size Filter #include "common/io/filter/size.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Filter type constant diff --git a/src/common/io/handleRead.c b/src/common/io/handleRead.c index 596407285..97b677b2b 100644 --- a/src/common/io/handleRead.c +++ b/src/common/io/handleRead.c @@ -11,7 +11,7 @@ Handle IO Read #include "common/io/read.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/handleWrite.c b/src/common/io/handleWrite.c index f90290355..32d5a0e4b 100644 --- a/src/common/io/handleWrite.c +++ b/src/common/io/handleWrite.c @@ -10,7 +10,7 @@ Handle IO Write #include "common/io/write.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/http/cache.c b/src/common/io/http/cache.c index d1963d5ec..4cd05535b 100644 --- a/src/common/io/http/cache.c +++ b/src/common/io/http/cache.c @@ -6,8 +6,8 @@ Http Client Cache #include "common/debug.h" #include "common/io/http/cache.h" #include "common/log.h" -#include "common/object.h" #include "common/type/list.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/http/client.c b/src/common/io/http/client.c index 517520f4c..c4a8b7e57 100644 --- a/src/common/io/http/client.c +++ b/src/common/io/http/client.c @@ -10,7 +10,7 @@ Http Client #include "common/io/read.intern.h" #include "common/io/tls/client.h" #include "common/log.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/wait.h" /*********************************************************************************************************************************** diff --git a/src/common/io/http/header.c b/src/common/io/http/header.c index dcf8a4127..00cf8e865 100644 --- a/src/common/io/http/header.c +++ b/src/common/io/http/header.c @@ -6,8 +6,8 @@ Http Header #include "common/debug.h" #include "common/io/http/header.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/keyValue.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/http/query.c b/src/common/io/http/query.c index 8b266a7a6..eab2c0a3f 100644 --- a/src/common/io/http/query.c +++ b/src/common/io/http/query.c @@ -7,8 +7,8 @@ Http Query #include "common/io/http/common.h" #include "common/io/http/query.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/keyValue.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/read.c b/src/common/io/read.c index a90df0c2b..cc94352fc 100644 --- a/src/common/io/read.c +++ b/src/common/io/read.c @@ -10,7 +10,7 @@ IO Read Interface #include "common/io/read.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/io/tls/client.c b/src/common/io/tls/client.c index 06c9e060d..ad580bb8f 100644 --- a/src/common/io/tls/client.c +++ b/src/common/io/tls/client.c @@ -33,9 +33,9 @@ TLS Client #include "common/io/read.intern.h" #include "common/io/write.intern.h" #include "common/memContext.h" -#include "common/object.h" #include "common/time.h" #include "common/type/keyValue.h" +#include "common/type/object.h" #include "common/wait.h" /*********************************************************************************************************************************** diff --git a/src/common/io/write.c b/src/common/io/write.c index 7d9cb43d9..fb481ef78 100644 --- a/src/common/io/write.c +++ b/src/common/io/write.c @@ -10,7 +10,7 @@ IO Write Interface #include "common/io/write.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/macro.h b/src/common/macro.h index 32c0809c9..6a47c83f4 100644 --- a/src/common/macro.h +++ b/src/common/macro.h @@ -16,7 +16,7 @@ Useful for converting non-string types (e.g. int) to strings for inclusion in me Glue together a string/macro and another string//macro Useful for creating function names when one or both of the macro parameter needs to be converted to a macro before concatenating. -common/object.h has numerous examples of this. +common/type/object.h has numerous examples of this. ***********************************************************************************************************************************/ #define GLUE_HELPER(param1, param2) param1##param2 #define GLUE(param1, param2) GLUE_HELPER(param1, param2) diff --git a/src/common/regExp.c b/src/common/regExp.c index 4d91b9935..e34bfaa79 100644 --- a/src/common/regExp.c +++ b/src/common/regExp.c @@ -8,7 +8,7 @@ Regular Expression Handler #include "common/debug.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/regExp.h" /*********************************************************************************************************************************** diff --git a/src/common/type/buffer.c b/src/common/type/buffer.c index f9657c785..28c47d22f 100644 --- a/src/common/type/buffer.c +++ b/src/common/type/buffer.c @@ -8,7 +8,7 @@ Buffer Handler #include "common/debug.h" #include "common/type/buffer.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Constant buffers that are generally useful diff --git a/src/common/type/keyValue.c b/src/common/type/keyValue.c index 7e50dfa2f..daac277ee 100644 --- a/src/common/type/keyValue.c +++ b/src/common/type/keyValue.c @@ -7,9 +7,9 @@ Key Value Handler #include "common/debug.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/keyValue.h" #include "common/type/list.h" +#include "common/type/object.h" #include "common/type/variantList.h" /*********************************************************************************************************************************** diff --git a/src/common/type/list.c b/src/common/type/list.c index 4da7db5ce..cc9929729 100644 --- a/src/common/type/list.c +++ b/src/common/type/list.c @@ -10,7 +10,7 @@ List Handler #include "common/debug.h" #include "common/type/list.h" -#include "common/object.h" +#include "common/type/object.h" /*********************************************************************************************************************************** Object type diff --git a/src/common/type/mcv.c b/src/common/type/mcv.c index 554004120..e77178b64 100644 --- a/src/common/type/mcv.c +++ b/src/common/type/mcv.c @@ -4,9 +4,9 @@ Calculate Most Common Value #include "build.auto.h" #include "common/debug.h" -#include "common/object.h" #include "common/type/list.h" #include "common/type/mcv.h" +#include "common/type/object.h" #include "common/type/variant.h" /*********************************************************************************************************************************** diff --git a/src/common/object.h b/src/common/type/object.h similarity index 99% rename from src/common/object.h rename to src/common/type/object.h index 49252647c..83d6933ed 100644 --- a/src/common/object.h +++ b/src/common/type/object.h @@ -15,8 +15,8 @@ String) a shorter prefix may be used. When a macro exists to create a function definition in a C file there is no equivalent macro to create the prototype in the header. The prototype is not repetitious enough to justify a macro and it would only serve to obfuscate the header file. ***********************************************************************************************************************************/ -#ifndef COMMON_OBJECT_H -#define COMMON_OBJECT_H +#ifndef COMMON_TYPE_OBJECT_H +#define COMMON_TYPE_OBJECT_H #include "common/macro.h" diff --git a/src/common/type/xml.c b/src/common/type/xml.c index 5f3ec2140..ba8d0ea01 100644 --- a/src/common/type/xml.c +++ b/src/common/type/xml.c @@ -11,8 +11,8 @@ Xml Handler #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/list.h" +#include "common/type/object.h" #include "common/type/xml.h" /*********************************************************************************************************************************** diff --git a/src/common/wait.c b/src/common/wait.c index bc09ec6f0..c38dae657 100644 --- a/src/common/wait.c +++ b/src/common/wait.c @@ -6,7 +6,7 @@ Wait Handler #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/wait.h" /*********************************************************************************************************************************** diff --git a/src/db/db.c b/src/db/db.c index c750e0adc..6aa9acb3f 100644 --- a/src/db/db.c +++ b/src/db/db.c @@ -6,7 +6,7 @@ Database Client #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/wait.h" #include "db/db.h" #include "db/protocol.h" diff --git a/src/info/info.c b/src/info/info.c index bcad4c704..a9700addf 100644 --- a/src/info/info.c +++ b/src/info/info.c @@ -15,8 +15,8 @@ Info Handler #include "common/ini.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/json.h" +#include "common/type/object.h" #include "info/info.h" #include "storage/helper.h" #include "version.h" diff --git a/src/info/infoArchive.c b/src/info/infoArchive.c index c0d6c9c61..cd4dfd84a 100644 --- a/src/info/infoArchive.c +++ b/src/info/infoArchive.c @@ -13,7 +13,7 @@ Archive Info Handler #include "common/log.h" #include "common/ini.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "info/infoArchive.h" #include "info/infoPg.h" #include "postgres/interface.h" diff --git a/src/info/infoBackup.c b/src/info/infoBackup.c index d6a26ad9d..7be3d4777 100644 --- a/src/info/infoBackup.c +++ b/src/info/infoBackup.c @@ -14,10 +14,10 @@ Backup Info Handler #include "common/ini.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/regExp.h" #include "common/type/json.h" #include "common/type/list.h" +#include "common/type/object.h" #include "info/infoBackup.h" #include "info/manifest.h" #include "postgres/interface.h" diff --git a/src/info/infoPg.c b/src/info/infoPg.c index 60b268bbb..87e09bfa5 100644 --- a/src/info/infoPg.c +++ b/src/info/infoPg.c @@ -14,9 +14,9 @@ PostgreSQL Info Handler #include "common/ini.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/json.h" #include "common/type/list.h" +#include "common/type/object.h" #include "info/info.h" #include "info/infoPg.h" #include "postgres/interface.h" diff --git a/src/info/manifest.c b/src/info/manifest.c index e95735772..5cafa2bed 100644 --- a/src/info/manifest.c +++ b/src/info/manifest.c @@ -10,11 +10,11 @@ Backup Manifest Handler #include "common/crypto/cipherBlock.h" #include "common/debug.h" #include "common/log.h" -#include "common/object.h" #include "common/regExp.h" #include "common/type/json.h" #include "common/type/list.h" #include "common/type/mcv.h" +#include "common/type/object.h" #include "info/info.h" #include "info/manifest.h" #include "postgres/interface.h" diff --git a/src/postgres/client.c b/src/postgres/client.c index a70448cb9..eb173fd79 100644 --- a/src/postgres/client.c +++ b/src/postgres/client.c @@ -8,8 +8,8 @@ Postgres Client #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/list.h" +#include "common/type/object.h" #include "common/wait.h" #include "postgres/client.h" diff --git a/src/protocol/client.c b/src/protocol/client.c index fe958d847..268ca3def 100644 --- a/src/protocol/client.c +++ b/src/protocol/client.c @@ -6,10 +6,10 @@ Protocol Client #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/time.h" #include "common/type/json.h" #include "common/type/keyValue.h" +#include "common/type/object.h" #include "protocol/client.h" #include "version.h" diff --git a/src/protocol/command.c b/src/protocol/command.c index 7a94f0ad8..e0801d8d0 100644 --- a/src/protocol/command.c +++ b/src/protocol/command.c @@ -6,9 +6,9 @@ Protocol Command #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/json.h" #include "common/type/keyValue.h" +#include "common/type/object.h" #include "protocol/command.h" /*********************************************************************************************************************************** diff --git a/src/protocol/parallel.c b/src/protocol/parallel.c index a0beb8e8e..c3ad5d346 100644 --- a/src/protocol/parallel.c +++ b/src/protocol/parallel.c @@ -9,10 +9,10 @@ Protocol Parallel Executor #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/json.h" #include "common/type/keyValue.h" #include "common/type/list.h" +#include "common/type/object.h" #include "protocol/command.h" #include "protocol/parallel.h" diff --git a/src/protocol/parallelJob.c b/src/protocol/parallelJob.c index e28ddb476..028107e96 100644 --- a/src/protocol/parallelJob.c +++ b/src/protocol/parallelJob.c @@ -6,7 +6,7 @@ Protocol Parallel Job #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "protocol/command.h" #include "protocol/parallelJob.h" diff --git a/src/protocol/server.c b/src/protocol/server.c index 4fd33df9e..eacf96334 100644 --- a/src/protocol/server.c +++ b/src/protocol/server.c @@ -8,11 +8,11 @@ Protocol Server #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/time.h" #include "common/type/json.h" #include "common/type/keyValue.h" #include "common/type/list.h" +#include "common/type/object.h" #include "protocol/client.h" #include "protocol/helper.h" #include "protocol/server.h" diff --git a/src/storage/posix/read.c b/src/storage/posix/read.c index 6e21abb8a..b145edf8e 100644 --- a/src/storage/posix/read.c +++ b/src/storage/posix/read.c @@ -10,7 +10,7 @@ Posix Storage Read #include "common/io/read.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "storage/posix/read.h" #include "storage/posix/storage.intern.h" #include "storage/read.intern.h" diff --git a/src/storage/posix/storage.intern.h b/src/storage/posix/storage.intern.h index 4a4533098..159570828 100644 --- a/src/storage/posix/storage.intern.h +++ b/src/storage/posix/storage.intern.h @@ -4,7 +4,7 @@ Posix Storage Internal #ifndef STORAGE_POSIX_STORAGE_INTERN_H #define STORAGE_POSIX_STORAGE_INTERN_H -#include "common/object.h" +#include "common/type/object.h" #include "storage/posix/storage.h" /*********************************************************************************************************************************** diff --git a/src/storage/posix/write.c b/src/storage/posix/write.c index d8332d51d..50a0a0d26 100644 --- a/src/storage/posix/write.c +++ b/src/storage/posix/write.c @@ -12,7 +12,7 @@ Posix Storage File write #include "common/io/write.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/user.h" #include "storage/posix/storage.intern.h" #include "storage/posix/write.h" diff --git a/src/storage/read.c b/src/storage/read.c index 8bd051c25..258d7e9d9 100644 --- a/src/storage/read.c +++ b/src/storage/read.c @@ -6,7 +6,7 @@ Storage Read Interface #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "storage/read.intern.h" /*********************************************************************************************************************************** diff --git a/src/storage/remote/read.c b/src/storage/remote/read.c index dfb941705..201db4aba 100644 --- a/src/storage/remote/read.c +++ b/src/storage/remote/read.c @@ -11,8 +11,8 @@ Remote Storage Read #include "common/io/read.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/convert.h" +#include "common/type/object.h" #include "storage/remote/protocol.h" #include "storage/remote/read.h" #include "storage/read.intern.h" diff --git a/src/storage/remote/storage.c b/src/storage/remote/storage.c index fb181bb13..4b9648c69 100644 --- a/src/storage/remote/storage.c +++ b/src/storage/remote/storage.c @@ -6,8 +6,8 @@ Remote Storage #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/type/json.h" +#include "common/type/object.h" #include "storage/remote/protocol.h" #include "storage/remote/read.h" #include "storage/remote/storage.intern.h" diff --git a/src/storage/remote/write.c b/src/storage/remote/write.c index 0522b2e2a..b2b2e5852 100644 --- a/src/storage/remote/write.c +++ b/src/storage/remote/write.c @@ -8,7 +8,7 @@ Remote Storage File write #include "common/io/write.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "storage/remote/protocol.h" #include "storage/remote/write.h" #include "storage/write.intern.h" diff --git a/src/storage/s3/read.c b/src/storage/s3/read.c index e213ba8e6..52f2d7d28 100644 --- a/src/storage/s3/read.c +++ b/src/storage/s3/read.c @@ -11,7 +11,7 @@ S3 Storage Read #include "common/io/read.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "storage/s3/read.h" #include "storage/read.intern.h" diff --git a/src/storage/s3/storage.c b/src/storage/s3/storage.c index 6c695c7eb..09483d02a 100644 --- a/src/storage/s3/storage.c +++ b/src/storage/s3/storage.c @@ -12,8 +12,8 @@ S3 Storage #include "common/io/http/common.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" #include "common/regExp.h" +#include "common/type/object.h" #include "common/type/xml.h" #include "storage/s3/read.h" #include "storage/s3/storage.intern.h" diff --git a/src/storage/s3/write.c b/src/storage/s3/write.c index 16bcbe851..6d434ed62 100644 --- a/src/storage/s3/write.c +++ b/src/storage/s3/write.c @@ -7,7 +7,7 @@ S3 Storage File write #include "common/io/write.intern.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/type/xml.h" #include "storage/s3/write.h" #include "storage/write.intern.h" diff --git a/src/storage/storage.c b/src/storage/storage.c index e108a9f5d..c1b1ad386 100644 --- a/src/storage/storage.c +++ b/src/storage/storage.c @@ -11,7 +11,7 @@ Storage Interface #include "common/type/list.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "common/regExp.h" #include "common/wait.h" #include "storage/storage.intern.h" diff --git a/src/storage/write.c b/src/storage/write.c index b437defe9..a6d0d7f7e 100644 --- a/src/storage/write.c +++ b/src/storage/write.c @@ -6,7 +6,7 @@ Storage Write Interface #include "common/debug.h" #include "common/log.h" #include "common/memContext.h" -#include "common/object.h" +#include "common/type/object.h" #include "storage/write.intern.h" /*********************************************************************************************************************************** diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index 218d1f6a6..afb67622b 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -863,7 +863,7 @@ src/common/memContext.h: class: core type: c/h -src/common/object.h: +src/common/type/object.h: class: core type: c/h diff --git a/test/define.yaml b/test/define.yaml index a4e112c7a..37879d1be 100644 --- a/test/define.yaml +++ b/test/define.yaml @@ -119,13 +119,6 @@ unit: coverage: common/debug: full - # ---------------------------------------------------------------------------------------------------------------------------- - - name: object - total: 1 - - coverage: - common/object: noCode - # ---------------------------------------------------------------------------------------------------------------------------- - name: lock total: 2 @@ -154,6 +147,13 @@ unit: coverage: common/type/convert: full + # ---------------------------------------------------------------------------------------------------------------------------- + - name: type-object + total: 1 + + coverage: + common/type/object: noCode + # ---------------------------------------------------------------------------------------------------------------------------- - name: type-list total: 4 diff --git a/test/src/module/common/objectTest.c b/test/src/module/common/typeObjectTest.c similarity index 100% rename from test/src/module/common/objectTest.c rename to test/src/module/common/typeObjectTest.c diff --git a/test/src/module/performance/storageTest.c b/test/src/module/performance/storageTest.c index 13022e027..3b12b17f9 100644 --- a/test/src/module/performance/storageTest.c +++ b/test/src/module/performance/storageTest.c @@ -19,7 +19,7 @@ stress testing as needed. #include "common/io/handleRead.h" #include "common/io/handleWrite.h" #include "common/io/io.h" -#include "common/object.h" +#include "common/type/object.h" #include "protocol/client.h" #include "protocol/server.h" #include "storage/posix/storage.h" [parent: a29e25a845be]