You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
Move static build defines to build.h.
Putting these defines in meson.build is a bit annoying because of the added syntax and double commenting. Since the defines are static there is no good reason to have them there. This also creates a place for test builds to add global defines -- again rather than in meson.build.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Build Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/build/build.h"
|
||||
#include "command/build/man.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Build Manual Page Reference
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "build/common/string.h"
|
||||
#include "build/help/render.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Build Preprocessor
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/build/pre.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Build Command and Configuration Reference
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "build/config/parse.h"
|
||||
#include "build/help/parse.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Configuration Load
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Main
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
-21
@@ -225,27 +225,6 @@ endif
|
||||
# Set configuration path
|
||||
configuration.set_quoted('CFGOPTDEF_CONFIG_PATH', get_option('configdir'), description: 'Configuration path')
|
||||
|
||||
# Set FN_NO_RETURN macro
|
||||
configuration.set('FN_NO_RETURN', '__attribute__((__noreturn__))', description: 'Indicate that a function does not return')
|
||||
|
||||
# Set FN_INLINE_ALWAYS macro
|
||||
configuration.set(
|
||||
'FN_INLINE_ALWAYS', '__attribute__((always_inline)) static inline',
|
||||
description: 'Indicate that a function should always be inlined'
|
||||
)
|
||||
|
||||
# Set FN_PRINTF macro
|
||||
configuration.set(
|
||||
'FN_PRINTF(fmt, args)', '__attribute__((format(printf, fmt, args)))',
|
||||
description: 'Indicate that a function is formatted like printf (and provide format and args position)'
|
||||
)
|
||||
|
||||
# Set FN_STRFTIME macro
|
||||
configuration.set(
|
||||
'FN_STRFTIME(fmt)', '__attribute__((format(strftime, fmt, 0)))',
|
||||
description: 'Indicate that a function is formatted like strftime (and provide format position)'
|
||||
)
|
||||
|
||||
# Set VR_NON_STRING macro
|
||||
if cc.compiles(
|
||||
'''int main(void) {__attribute__((nonstring)) static char test[3] = "ABC";}''',
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
/***********************************************************************************************************************************
|
||||
Build Header
|
||||
|
||||
This header file must be included in all source files. It contains defines that are required in all modules. The build.auto.c header
|
||||
generated by meson is also included here.
|
||||
***********************************************************************************************************************************/
|
||||
#ifndef BUILD_H
|
||||
#define BUILD_H
|
||||
|
||||
#include <build.auto.h>
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Function attributes
|
||||
***********************************************************************************************************************************/
|
||||
// Indicate that a function does not return
|
||||
#define FN_NO_RETURN __attribute__((__noreturn__))
|
||||
|
||||
// Indicate that a function should always be inlined
|
||||
#define FN_INLINE_ALWAYS __attribute__((always_inline)) static inline
|
||||
|
||||
// Indicate that a function is formatted like printf (and provide format and args position)
|
||||
#define FN_PRINTF(fmt, args) __attribute__((format(printf, fmt, args)))
|
||||
|
||||
// Indicate that a function is formatted like strftime (and provide format position)
|
||||
#define FN_STRFTIME(fmt) __attribute__((format(strftime, fmt, 0)))
|
||||
|
||||
#endif
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Build Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Yaml Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <yaml.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Parse Configuration Yaml
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <yaml.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Render Configuration Data
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "common/log.h"
|
||||
#include "common/type/convert.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Parse Error Yaml
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <yaml.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Render Error Data
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Parse Help Xml
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "storage/storage.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Render Help
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Code Builder
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Parse PostgreSQL Interface Yaml
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "storage/posix/storage.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Render PostgreSQL Interface
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "storage/posix/storage.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Annotate Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Segment Find
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/archive/common.h"
|
||||
#include "command/archive/find.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Get File
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/archive/common.h"
|
||||
#include "command/archive/get/file.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Get Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Get Protocol Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/archive/get/file.h"
|
||||
#include "command/archive/get/protocol.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Push File
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/archive/common.h"
|
||||
#include "command/archive/find.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Push Protocol Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/archive/push/file.h"
|
||||
#include "command/archive/push/protocol.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Archive Push Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Backup Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Block Incremental Filter
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/backup/blockIncr.h"
|
||||
#include "command/backup/blockMap.h"
|
||||
|
||||
@@ -27,7 +27,7 @@ The block map is stored as a flag and a series of reference, super block, and bl
|
||||
|
||||
References, super blocks, and blocks are encoded with a bit that indicates when the last one has been reached.
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/backup/blockMap.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Common Functions and Definitions for Backup and Expire Commands
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Backup File
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Page Checksum Filter
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/backup/pageChecksum.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Backup Protocol Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/backup/file.h"
|
||||
#include "command/backup/protocol.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Check Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Check Common Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Support Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/check/report.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Common Command Routines
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Common Handler for Control Commands
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/control/common.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Start Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/control/common.h"
|
||||
#include "command/control/start.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Stop Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Exit Routines
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Expire Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/archive/common.h"
|
||||
#include "command/backup/common.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Help Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Info Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Local Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/archive/get/protocol.h"
|
||||
#include "command/archive/push/protocol.h"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Command Lock Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/lock.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Manifest Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Remote Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Common Functions and Definitions for Repo Commands
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/repo/common.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Repository Get Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Repository List Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Repository Put Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Repository Remove Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/repo/common.h"
|
||||
#include "command/repo/rm.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Block Hash List
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/restore/blockChecksum.h"
|
||||
#include "common/crypto/common.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Block Restore
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/backup/blockIncr.h"
|
||||
#include "command/restore/blockDelta.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Restore File
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Restore Protocol Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/restore/file.h"
|
||||
#include "command/restore/protocol.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Restore Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Timeline Management
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Server Ping Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/server/ping.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Server Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <sys/wait.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Stanza Commands Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/check/common.h"
|
||||
#include "command/stanza/common.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Stanza Create Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Stanza Delete Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/backup/common.h"
|
||||
#include "command/control/common.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Stanza Update Command
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Verify File
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/verify/file.h"
|
||||
#include "common/crypto/cipherBlock.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Verify Protocol Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "command/verify/file.h"
|
||||
#include "command/verify/protocol.h"
|
||||
|
||||
@@ -3,7 +3,7 @@ Verify Command
|
||||
|
||||
Verify contents of the repository.
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
BZ2 Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <bzlib.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
BZ2 Compress
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <bzlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
BZ2 Decompress
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <bzlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Compression Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "common/compress/common.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Gz Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Gz Compress
|
||||
|
||||
Based on the documentation at https://github.com/madler/zlib/blob/master/zlib.h
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <zlib.h>
|
||||
|
||||
@@ -3,7 +3,7 @@ Gz Decompress
|
||||
|
||||
Based on the documentation at https://github.com/madler/zlib/blob/master/zlib.h
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <zlib.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Compression Helper
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
LZ4 Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <lz4frame.h>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ LZ4 Compress
|
||||
|
||||
Developed against version r131 using the documentation in https://github.com/lz4/lz4/blob/r131/lib/lz4frame.h.
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <lz4frame.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
LZ4 Decompress
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <lz4frame.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
ZST Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#ifdef HAVE_LIBZST
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
ZST Compress
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#ifdef HAVE_LIBZST
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
ZST Decompress
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#ifdef HAVE_LIBZST
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Block Cipher
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Crypto Common
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Cryptographic Hash
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* compile-time configuration.
|
||||
*/
|
||||
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
xxHash Interface
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "common/crypto/xxhash.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Debug Routines
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Binary to String Encode/Decode
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Error Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Error Retry Message
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "string.h"
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Execute Process
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Fork Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Ini Handler
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Buffer IO Read
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "common/debug.h"
|
||||
#include "common/io/bufferRead.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Buffer IO Write
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "common/debug.h"
|
||||
#include "common/io/bufferWrite.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
Io Client Interface
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#include "common/debug.h"
|
||||
#include "common/io/client.h"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***********************************************************************************************************************************
|
||||
File Descriptor Functions
|
||||
***********************************************************************************************************************************/
|
||||
#include "build.auto.h"
|
||||
#include <build.h>
|
||||
|
||||
#ifdef __sun__ // Illumos needs sys/siginfo for sigset_t inside poll.h
|
||||
#include <sys/siginfo.h>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user