Skip to content

Commit

Permalink
set description header encoding keys public
Browse files Browse the repository at this point in the history
  • Loading branch information
ph0llux committed Dec 31, 2023
1 parent fadc1e4 commit 54696fa
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/lib/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,16 @@ pub(crate) const PBE_KDF_PARAMETERS_SCRYPT: u32 = 0x6b646673;
pub(crate) const PBE_KDF_PARAMETERS_ARGON2ID: u32 = 0x6b646661;

// Encoding keys
pub(crate) const ENCODING_KEY_CASE_NUMBER: &str = "cn";
pub(crate) const ENCODING_KEY_EVIDENCE_NUMBER: &str = "ev";
pub(crate) const ENCODING_KEY_EXAMINER_NAME: &str = "ex";
pub(crate) const ENCODING_KEY_NOTES: &str = "no";
pub(crate) const ENCODING_KEY_DESCRIPTION_NOTES: &str = "dn";
/// Encoding key for the case number.
pub const ENCODING_KEY_CASE_NUMBER: &str = "cn";
/// Encoding key for the evidence number.
pub const ENCODING_KEY_EVIDENCE_NUMBER: &str = "ev";
/// Encoding key for the examiner name.
pub const ENCODING_KEY_EXAMINER_NAME: &str = "ex";
/// Encoding key for the notes.
pub const ENCODING_KEY_NOTES: &str = "no";
/// Encoding key for the global description notes.
pub const ENCODING_KEY_DESCRIPTION_NOTES: &str = "dn";

// chunk header flags
pub(crate) const ERROR_FLAG_VALUE: u8 = 1<<0;
Expand Down

0 comments on commit 54696fa

Please sign in to comment.