Skip to main content
reference

Types

File

namespace: privmx::endpoint::store

struct privmx::endpoint::store::File{...}

Fields

NameTypeDescription
infoServerFileInfofile's information created by server
publicMetacore::Bufferfile's public metadata
privateMetacore::Bufferfile's private metadata
sizeint64_tfile's size
authorPubKeystd::stringpublic key of the author of the file
statusCodeint64_tstatus code of retrieval and decryption of the file

ServerFileInfo

namespace: privmx::endpoint::store

struct privmx::endpoint::store::ServerFileInfo{...}

Fields

NameTypeDescription
storeIdstd::stringID of the Store
fileIdstd::stringID of the file
createDateint64_tfile's creation timestamp
authorstd::stringID of the user who created the file

Store

namespace: privmx::endpoint::store

struct privmx::endpoint::store::Store{...}

Fields

NameTypeDescription
storeIdstd::stringID ot the Store
contextIdstd::stringID of the Context
createDateint64_tStore creation timestamp
creatorstd::stringID of user who created the Store
lastModificationDateint64_tStore last modification timestamp
lastFileDateint64_ttimestamp of last created file
lastModifierstd::stringID of the user who last modified the Store
usersstd::vector< std::string >list of users (their IDs) with access to the Store
managersstd::vector< std::string >list of users (their IDs) with management rights
versionint64_tversion number (changes on updates)
publicMetacore::BufferStore public metadata
privateMetacore::BufferStore private metadata
filesCountint64_ttotal number of files in the Store
statusCodeint64_tstatus code of retrieval and decryption of the Store

StoreDeletedEventData

namespace: privmx::endpoint::store

struct privmx::endpoint::store::StoreDeletedEventData{...}

Fields

NameTypeDescription
storeIdstd::stringStore ID

StoreFileDeletedEventData

namespace: privmx::endpoint::store

struct privmx::endpoint::store::StoreFileDeletedEventData{...}

Fields

NameTypeDescription
contextIdstd::stringContext ID
storeIdstd::stringStore ID
fileIdstd::stringfile ID

StoreStatsChangedEventData

namespace: privmx::endpoint::store

struct privmx::endpoint::store::StoreStatsChangedEventData{...}

Fields

NameTypeDescription
contextIdstd::stringContext ID
storeIdstd::stringStore ID
lastFileDateint64_tlast uploaded file date timestamp
filesCountint64_ttotal number of files