/*********************************************************************************************************************************** Stanza Commands Handler ***********************************************************************************************************************************/ #ifndef COMMAND_STANZA_COMMON_H #define COMMAND_STANZA_COMMON_H #include "info/infoPg.h" #include "postgres/interface.h" /*********************************************************************************************************************************** Functions ***********************************************************************************************************************************/ // Generate a sub pass for a file at this format, which sets the digest since that is what will derive it when it is read back FN_EXTERN CipherSpec *cipherSpecGen(CipherType cipherType, unsigned int format); // Error when the passphrase of an encrypted repository is a documentation example or, at Format >= 6, does not look generated. The // action completes the error message, e.g. "create a stanza". When the action is NULL warn instead of error. FN_EXTERN void stanzaCipherPassCheck(unsigned int repoIdx, unsigned int format, const char *action); // Validate and return database information FN_EXTERN PgControl pgValidate(void); #endif