_vault_t Struct Reference

This structure represents a vault. More...

#include <structs.h>

Public Attributes

char * filename
 The filename of the vault (full path) More...
 
FILE * fd
 Filehandle if opened. More...
 
uint8_t unsafed
 Flag to tell if the file needs to be written. More...
 
uint8_t isnew
 Flag to tell if the vault has been newly created. More...
 
uint32_t size
 Filesize. More...
 
time_t modified
 mtime More...
 
mode_t mode
 File mode. More...
 
uint32_t version
 Vault version. More...
 
byte checksum [32]
 SHA256 checksum over the whole vault. More...
 

Detailed Description

This structure represents a vault.

Definition at line 221 of file structs.h.

Member Data Documentation

byte _vault_t::checksum[32]

SHA256 checksum over the whole vault.

Definition at line 230 of file structs.h.

FILE* _vault_t::fd

Filehandle if opened.

Definition at line 223 of file structs.h.

char* _vault_t::filename

The filename of the vault (full path)

Definition at line 222 of file structs.h.

uint8_t _vault_t::isnew

Flag to tell if the vault has been newly created.

Definition at line 225 of file structs.h.

mode_t _vault_t::mode

File mode.

Definition at line 228 of file structs.h.

time_t _vault_t::modified

mtime

Definition at line 227 of file structs.h.

uint32_t _vault_t::size

Filesize.

Definition at line 226 of file structs.h.

uint8_t _vault_t::unsafed

Flag to tell if the file needs to be written.

Definition at line 224 of file structs.h.

uint32_t _vault_t::version

Vault version.

Definition at line 229 of file structs.h.


The documentation for this struct was generated from the following file: