libpcp  0.2.1
Public Attributes | List of all members
_vault_t Struct Reference

This structure represents a vault. More...

#include <vault.h>

Public Attributes

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

Detailed Description

This structure represents a vault.

Definition at line 95 of file vault.h.

Member Data Documentation

byte _vault_t::checksum[32]

SHA256 checksum over the whole vault.

Definition at line 104 of file vault.h.

FILE* _vault_t::fd

Filehandle if opened.

Definition at line 97 of file vault.h.

char* _vault_t::filename

The filename of the vault (full path)

Definition at line 96 of file vault.h.

uint8_t _vault_t::isnew

Flag to tell if the vault has been newly created.

Definition at line 99 of file vault.h.

mode_t _vault_t::mode

File mode.

Definition at line 102 of file vault.h.

time_t _vault_t::modified

mtime

Definition at line 101 of file vault.h.

uint32_t _vault_t::size

Filesize.

Definition at line 100 of file vault.h.

uint8_t _vault_t::unsafed

Flag to tell if the file needs to be written.

Definition at line 98 of file vault.h.

uint32_t _vault_t::version

Vault version.

Definition at line 103 of file vault.h.


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