2019-07-25 14:34:16 -04:00
|
|
|
/***********************************************************************************************************************************
|
|
|
|
Backup Protocol Handler
|
|
|
|
***********************************************************************************************************************************/
|
|
|
|
#ifndef COMMAND_BACKUP_PROTOCOL_H
|
|
|
|
#define COMMAND_BACKUP_PROTOCOL_H
|
|
|
|
|
|
|
|
#include "common/type/string.h"
|
|
|
|
#include "common/type/variantList.h"
|
|
|
|
#include "protocol/server.h"
|
|
|
|
|
|
|
|
/***********************************************************************************************************************************
|
|
|
|
Constants
|
|
|
|
***********************************************************************************************************************************/
|
|
|
|
#define PROTOCOL_COMMAND_BACKUP_FILE "backupFile"
|
|
|
|
STRING_DECLARE(PROTOCOL_COMMAND_BACKUP_FILE_STR);
|
|
|
|
|
|
|
|
/***********************************************************************************************************************************
|
|
|
|
Functions
|
|
|
|
***********************************************************************************************************************************/
|
2020-04-03 18:01:28 -04:00
|
|
|
// Process protocol requests
|
2019-07-25 14:34:16 -04:00
|
|
|
bool backupProtocol(const String *command, const VariantList *paramList, ProtocolServer *server);
|
|
|
|
|
|
|
|
#endif
|