You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-23 00:07:44 +02:00
27 lines
1.5 KiB
C
27 lines
1.5 KiB
C
![]() |
/***********************************************************************************************************************************
|
||
|
Remote Storage Protocol Handler
|
||
|
***********************************************************************************************************************************/
|
||
|
#ifndef STORAGE_DRIVER_REMOTE_PROTOCOL_H
|
||
|
#define STORAGE_DRIVER_REMOTE_PROTOCOL_H
|
||
|
|
||
|
#include "common/type/string.h"
|
||
|
#include "common/type/variantList.h"
|
||
|
#include "protocol/server.h"
|
||
|
|
||
|
/***********************************************************************************************************************************
|
||
|
Constants
|
||
|
***********************************************************************************************************************************/
|
||
|
#define PROTOCOL_BLOCK_HEADER "BRBLOCK"
|
||
|
|
||
|
#define PROTOCOL_COMMAND_STORAGE_LIST "storageList"
|
||
|
STRING_DECLARE(PROTOCOL_COMMAND_STORAGE_LIST_STR);
|
||
|
#define PROTOCOL_COMMAND_STORAGE_OPEN_READ "storageOpenRead"
|
||
|
STRING_DECLARE(PROTOCOL_COMMAND_STORAGE_OPEN_READ_STR);
|
||
|
|
||
|
/***********************************************************************************************************************************
|
||
|
Functions
|
||
|
***********************************************************************************************************************************/
|
||
|
bool storageDriverRemoteProtocol(const String *command, const VariantList *paramList, ProtocolServer *server);
|
||
|
|
||
|
#endif
|