12#ifndef _ARCHIVE_MODULE_H
13#define _ARCHIVE_MODULE_H
63#define arch_module_check_errdetail \
64 pre_format_elog_string(errno, TEXTDOMAIN), \
65 arch_module_check_errdetail_string = format_elog_string
struct ArchiveModuleState ArchiveModuleState
bool(* ArchiveFileCB)(ArchiveModuleState *state, const char *file, const char *path)
PGDLLIMPORT char * XLogArchiveLibrary
bool(* ArchiveCheckConfiguredCB)(ArchiveModuleState *state)
struct ArchiveModuleCallbacks ArchiveModuleCallbacks
void(* ArchiveShutdownCB)(ArchiveModuleState *state)
PGDLLEXPORT const ArchiveModuleCallbacks * _PG_archive_module_init(void)
void(* ArchiveStartupCB)(ArchiveModuleState *state)
PGDLLIMPORT char * arch_module_check_errdetail_string
ArchiveFileCB archive_file_cb
ArchiveShutdownCB shutdown_cb
ArchiveCheckConfiguredCB check_configured_cb
ArchiveStartupCB startup_cb