diff options
author | Colin Finck <colin@reactos.org> | 2021-12-15 22:46:25 +0300 |
---|---|---|
committer | Colin Finck <colin@reactos.org> | 2021-12-15 22:46:25 +0300 |
commit | 84e90a5a05740393a324838037539e560cd14b72 (patch) | |
tree | 02350099525ba322d5788a410dd6eb562f395163 /src | |
parent | 3235d18acd772e4fb639dca2d76edc39c47a983c (diff) |
Relicense everything as MIT OR Apache-2.0 to enable a broader usage.
Diffstat (limited to 'src')
32 files changed, 32 insertions, 32 deletions
diff --git a/src/attribute.rs b/src/attribute.rs index f44686d..9279b09 100644 --- a/src/attribute.rs +++ b/src/attribute.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute_value::{ NtfsAttributeListNonResidentAttributeValue, NtfsAttributeValue, NtfsNonResidentAttributeValue, diff --git a/src/attribute_value/attribute_list_non_resident.rs b/src/attribute_value/attribute_list_non_resident.rs index d736deb..cc4db33 100644 --- a/src/attribute_value/attribute_list_non_resident.rs +++ b/src/attribute_value/attribute_list_non_resident.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // // It is important to note that `NtfsAttributeListNonResidentAttributeValue` can't just encapsulate `NtfsNonResidentAttributeValue` and provide one // layer on top to connect the attributes! diff --git a/src/attribute_value/mod.rs b/src/attribute_value/mod.rs index e7d2a6e..95c56ba 100644 --- a/src/attribute_value/mod.rs +++ b/src/attribute_value/mod.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // //! Readers for attribute value types. diff --git a/src/attribute_value/non_resident.rs b/src/attribute_value/non_resident.rs index 8e06053..f1b79e8 100644 --- a/src/attribute_value/non_resident.rs +++ b/src/attribute_value/non_resident.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // //! This module implements a reader for a non-resident attribute value (that is not part of an Attribute List). //! Non-resident attribute values are split up into one or more data runs, which are spread across the filesystem. diff --git a/src/attribute_value/resident.rs b/src/attribute_value/resident.rs index 5cd47ac..85c4a69 100644 --- a/src/attribute_value/resident.rs +++ b/src/attribute_value/resident.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // //! This module implements a reader for a value that is already in memory and can therefore be accessed via a slice. //! This is the case for all resident attribute values and Index Record values. diff --git a/src/boot_sector.rs b/src/boot_sector.rs index f443665..2fc3140 100644 --- a/src/boot_sector.rs +++ b/src/boot_sector.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::error::{NtfsError, Result}; use crate::types::Lcn; diff --git a/src/error.rs b/src/error.rs index 92d1dd7..32609a5 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::types::{Lcn, Vcn}; diff --git a/src/file.rs b/src/file.rs index 4b015c1..3e75ae8 100644 --- a/src/file.rs +++ b/src/file.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::{NtfsAttributeItem, NtfsAttributeType, NtfsAttributes, NtfsAttributesRaw}; use crate::error::{NtfsError, Result}; diff --git a/src/file_reference.rs b/src/file_reference.rs index 65b443f..323a37a 100644 --- a/src/file_reference.rs +++ b/src/file_reference.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::error::Result; use crate::file::NtfsFile; diff --git a/src/guid.rs b/src/guid.rs index ac2e152..ef4f1f4 100644 --- a/src/guid.rs +++ b/src/guid.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use binread::BinRead; use core::fmt; diff --git a/src/helpers.rs b/src/helpers.rs index 02abdcf..45a1aa5 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 macro_rules! iter_try { ($e:expr) => { diff --git a/src/index.rs b/src/index.rs index 0583323..1b6b1b5 100644 --- a/src/index.rs +++ b/src/index.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::{NtfsAttributeItem, NtfsAttributeType}; use crate::error::{NtfsError, Result}; diff --git a/src/index_entry.rs b/src/index_entry.rs index 23fa786..4ce534a 100644 --- a/src/index_entry.rs +++ b/src/index_entry.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::error::{NtfsError, Result}; use crate::file::NtfsFile; diff --git a/src/index_record.rs b/src/index_record.rs index 016727a..6d7b28d 100644 --- a/src/index_record.rs +++ b/src/index_record.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute_value::NtfsAttributeValue; use crate::error::{NtfsError, Result}; diff --git a/src/indexes/file_name.rs b/src/indexes/file_name.rs index dd8b1e3..5703dc8 100644 --- a/src/indexes/file_name.rs +++ b/src/indexes/file_name.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::error::Result; use crate::index::NtfsIndexFinder; diff --git a/src/indexes/mod.rs b/src/indexes/mod.rs index 2d80ff0..6baf344 100644 --- a/src/indexes/mod.rs +++ b/src/indexes/mod.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // //! Various types of NTFS indexes and traits to work with them. //! @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // //! A low-level NTFS filesystem library implemented in Rust. //! diff --git a/src/ntfs.rs b/src/ntfs.rs index 48ab07f..ea56716 100644 --- a/src/ntfs.rs +++ b/src/ntfs.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::boot_sector::BootSector; diff --git a/src/record.rs b/src/record.rs index b8bc510..d1ca343 100644 --- a/src/record.rs +++ b/src/record.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::error::{NtfsError, Result}; use crate::ntfs::Ntfs; diff --git a/src/string.rs b/src/string.rs index 7f5f9b2..48adc0b 100644 --- a/src/string.rs +++ b/src/string.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::ntfs::Ntfs; use alloc::string::String; diff --git a/src/structured_values/attribute_list.rs b/src/structured_values/attribute_list.rs index 7c6ad04..636eb98 100644 --- a/src/structured_values/attribute_list.rs +++ b/src/structured_values/attribute_list.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::{NtfsAttribute, NtfsAttributeType}; use crate::attribute_value::{NtfsAttributeValue, NtfsNonResidentAttributeValue}; diff --git a/src/structured_values/file_name.rs b/src/structured_values/file_name.rs index 909769d..31d8c71 100644 --- a/src/structured_values/file_name.rs +++ b/src/structured_values/file_name.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::attribute_value::NtfsAttributeValue; diff --git a/src/structured_values/index_allocation.rs b/src/structured_values/index_allocation.rs index 3f81089..5edb3b1 100644 --- a/src/structured_values/index_allocation.rs +++ b/src/structured_values/index_allocation.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::attribute_value::NtfsAttributeValue; diff --git a/src/structured_values/index_root.rs b/src/structured_values/index_root.rs index acb91be..a286aa2 100644 --- a/src/structured_values/index_root.rs +++ b/src/structured_values/index_root.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::attribute_value::{NtfsAttributeValue, NtfsResidentAttributeValue}; diff --git a/src/structured_values/mod.rs b/src/structured_values/mod.rs index 082808a..7f05194 100644 --- a/src/structured_values/mod.rs +++ b/src/structured_values/mod.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // //! Various types of NTFS Attribute structured values. diff --git a/src/structured_values/object_id.rs b/src/structured_values/object_id.rs index c6fabff..ace4f57 100644 --- a/src/structured_values/object_id.rs +++ b/src/structured_values/object_id.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::attribute_value::{NtfsAttributeValue, NtfsResidentAttributeValue}; diff --git a/src/structured_values/standard_information.rs b/src/structured_values/standard_information.rs index 7ae31d6..6caf19f 100644 --- a/src/structured_values/standard_information.rs +++ b/src/structured_values/standard_information.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::attribute_value::{NtfsAttributeValue, NtfsResidentAttributeValue}; diff --git a/src/structured_values/volume_information.rs b/src/structured_values/volume_information.rs index befb410..1e3119d 100644 --- a/src/structured_values/volume_information.rs +++ b/src/structured_values/volume_information.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::attribute_value::{NtfsAttributeValue, NtfsResidentAttributeValue}; diff --git a/src/structured_values/volume_name.rs b/src/structured_values/volume_name.rs index 1155ccf..55dbb8c 100644 --- a/src/structured_values/volume_name.rs +++ b/src/structured_values/volume_name.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::attribute_value::{NtfsAttributeValue, NtfsResidentAttributeValue}; diff --git a/src/time.rs b/src/time.rs index 7b8ca60..4784163 100644 --- a/src/time.rs +++ b/src/time.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use binread::BinRead; use derive_more::From; diff --git a/src/types.rs b/src/types.rs index 842635c..04bbe15 100644 --- a/src/types.rs +++ b/src/types.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 // //! Supplementary helper types. diff --git a/src/upcase_table.rs b/src/upcase_table.rs index 5451656..ec07ffa 100644 --- a/src/upcase_table.rs +++ b/src/upcase_table.rs @@ -1,5 +1,5 @@ // Copyright 2021 Colin Finck <colin@reactos.org> -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT OR Apache-2.0 use crate::attribute::NtfsAttributeType; use crate::error::{NtfsError, Result}; |