PostgreSQL Source Code  git master
shell_archive.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * shell_archive.h
4  * Exports for archiving via shell.
5  *
6  * Copyright (c) 2022-2024, PostgreSQL Global Development Group
7  *
8  * src/include/archive/shell_archive.h
9  *
10  *-------------------------------------------------------------------------
11  */
12 #ifndef _SHELL_ARCHIVE_H
13 #define _SHELL_ARCHIVE_H
14 
15 #include "archive/archive_module.h"
16 
17 /*
18  * Since the logic for archiving via a shell command is in the core server
19  * and does not need to be loaded via a shared library, it has a special
20  * initialization function.
21  */
22 extern const ArchiveModuleCallbacks *shell_archive_init(void);
23 
24 #endif /* _SHELL_ARCHIVE_H */
const ArchiveModuleCallbacks * shell_archive_init(void)
Definition: shell_archive.c:40