mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Update file headers.
This commit is contained in:
@@ -1,40 +1,20 @@
|
|||||||
// /** *************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : aaru.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Contains common media types.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// copy of this software and associated documentation files (the
|
*/
|
||||||
// "Software"), to deal in the Software without restriction, including
|
|
||||||
// without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
// permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
// the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : aaruformat.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Includes all headers for Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_AARUFORMAT_H
|
#ifndef LIBAARUFORMAT_AARUFORMAT_H
|
||||||
#define LIBAARUFORMAT_AARUFORMAT_H
|
#define LIBAARUFORMAT_AARUFORMAT_H
|
||||||
@@ -42,7 +28,7 @@
|
|||||||
#include "aaruformat/decls.h"
|
#include "aaruformat/decls.h"
|
||||||
#include "aaruformat/enums.h"
|
#include "aaruformat/enums.h"
|
||||||
#include "aaruformat/errors.h"
|
#include "aaruformat/errors.h"
|
||||||
#include "aaruformat/structs.h"
|
|
||||||
#include "aaruformat/simd.h"
|
#include "aaruformat/simd.h"
|
||||||
|
#include "aaruformat/structs.h"
|
||||||
|
|
||||||
#endif // LIBAARUFORMAT_AARUFORMAT_H
|
#endif // LIBAARUFORMAT_AARUFORMAT_H
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : consts.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Contains constants for Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedMacroInspection"
|
#pragma ide diagnostic ignored "OCUnusedMacroInspection"
|
||||||
|
|||||||
@@ -1,34 +1,21 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : context.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Describes context to be passed between libaaruformat functions.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
#ifndef LIBAARUFORMAT_CONTEXT_H
|
#ifndef LIBAARUFORMAT_CONTEXT_H
|
||||||
#define LIBAARUFORMAT_CONTEXT_H
|
#define LIBAARUFORMAT_CONTEXT_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : crc64.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Declares CRC64 constants.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_CRC64_H
|
#ifndef LIBAARUFORMAT_CRC64_H
|
||||||
#define LIBAARUFORMAT_CRC64_H
|
#define LIBAARUFORMAT_CRC64_H
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : decls.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Declares exportable functions.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_DECLS_H
|
#ifndef LIBAARUFORMAT_DECLS_H
|
||||||
#define LIBAARUFORMAT_DECLS_H
|
#define LIBAARUFORMAT_DECLS_H
|
||||||
|
|||||||
@@ -1,3 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
|
* License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful, but
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||||
#ifndef LIBAARUFORMAT_ENUMS_H
|
#ifndef LIBAARUFORMAT_ENUMS_H
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
//
|
/*
|
||||||
// Created by claunia on 17/03/19.
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
//
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
|
* License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful, but
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_ERRORS_H
|
#ifndef LIBAARUFORMAT_ERRORS_H
|
||||||
#define LIBAARUFORMAT_ERRORS_H
|
#define LIBAARUFORMAT_ERRORS_H
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : simd.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Declares SIMD constants.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_SIMD_H
|
#ifndef LIBAARUFORMAT_SIMD_H
|
||||||
#define LIBAARUFORMAT_SIMD_H
|
#define LIBAARUFORMAT_SIMD_H
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : structs.h
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : Disk image plugins.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Contains structures for Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License aint64_t with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||||
|
|||||||
48
src/close.c
48
src/close.c
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : close.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Handles closing Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : crc64.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Calculates CRC64-ECMA checksums.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
@@ -125,10 +111,9 @@ AARU_EXPORT void AARU_CALL aaruf_crc64_free(crc64_ctx* ctx)
|
|||||||
AARU_EXPORT uint64_t AARU_CALL aaruf_crc64_data(const uint8_t* data, uint32_t len)
|
AARU_EXPORT uint64_t AARU_CALL aaruf_crc64_data(const uint8_t* data, uint32_t len)
|
||||||
{
|
{
|
||||||
crc64_ctx* ctx = aaruf_crc64_init();
|
crc64_ctx* ctx = aaruf_crc64_init();
|
||||||
uint64_t crc = 0;
|
uint64_t crc = 0;
|
||||||
|
|
||||||
if(!ctx)
|
if(!ctx) return crc;
|
||||||
return crc;
|
|
||||||
|
|
||||||
aaruf_crc64_update(ctx, data, len);
|
aaruf_crc64_update(ctx, data, len);
|
||||||
aaruf_crc64_final(ctx, &crc);
|
aaruf_crc64_final(ctx, &crc);
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : crc64.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Calculates CRC64-ECMA checksums using CLMUL.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#if defined(__x86_64__) || defined(__amd64) || defined(_M_AMD64) || defined(_M_X64) || defined(__I386__) || \
|
#if defined(__x86_64__) || defined(__amd64) || defined(_M_AMD64) || defined(_M_X64) || defined(__I386__) || \
|
||||||
defined(__i386__) || defined(__THW_INTEL) || defined(_M_IX86)
|
defined(__i386__) || defined(__THW_INTEL) || defined(_M_IX86)
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : crc64.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Calculates CRC64-ECMA checksums using VMULL.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#if defined(__aarch64__) || defined(_M_ARM64) || defined(__arm__) || defined(_M_ARM)
|
#if defined(__aarch64__) || defined(_M_ARM64) || defined(__arm__) || defined(_M_ARM)
|
||||||
|
|
||||||
|
|||||||
48
src/cst.c
48
src/cst.c
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : cst.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : Disk image plugins.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Contains the Claunia Subchannel Transform algorithm.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
50
src/ecc_cd.c
50
src/ecc_cd.c
@@ -1,35 +1,21 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
* ECC algorithm from ECM(c) 2002-2011 Neill Corlett
|
||||||
// Filename : ecc_cd.c
|
*
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* This library is free software; you can redistribute it and/or modify
|
||||||
//
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
// Component : Disk image plugins.
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
//
|
* License, or (at your option) any later version.
|
||||||
// --[ Description ] ----------------------------------------------------------
|
*
|
||||||
//
|
* This library is distributed in the hope that it will be useful, but
|
||||||
// Contains the CD ECC algorithm.
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
//
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// --[ License ] --------------------------------------------------------------
|
* Lesser General Public License for more details.
|
||||||
//
|
*
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
*/
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ECC algorithm from ECM(c) 2002-2011 Neill Corlett
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : helpers.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : Disk image plugins.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Contains helpers for Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <aaru.h>
|
#include <aaru.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : identify.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : Disk image plugins.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Identifies Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
48
src/open.c
48
src/open.c
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : open.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Handles opening Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|||||||
48
src/read.c
48
src/read.c
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : open.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Handles opening Aaru format disk images.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
48
src/simd.c
48
src/simd.c
@@ -1,34 +1,20 @@
|
|||||||
// /***************************************************************************
|
/*
|
||||||
// Aaru Data Preservation Suite
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
// ----------------------------------------------------------------------------
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
//
|
*
|
||||||
// Filename : simd.c
|
* This library is free software; you can redistribute it and/or modify
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
//
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
// Component : libaaruformat.
|
* License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
// --[ Description ] ----------------------------------------------------------
|
* This library is distributed in the hope that it will be useful, but
|
||||||
//
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// Detects SIMD availability.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
//
|
* Lesser General Public License for more details.
|
||||||
// --[ License ] --------------------------------------------------------------
|
*
|
||||||
//
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
// This library is free software; you can redistribute it and/or modify
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
// it under the terms of the GNU Lesser General Public License as
|
*/
|
||||||
// published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This library is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
// Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public
|
|
||||||
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Copyright © 2011-2022 Natalia Portillo
|
|
||||||
// ****************************************************************************/
|
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
//
|
/*
|
||||||
// Created by claunia on 5/10/21.
|
* This file is part of the Aaru Data Preservation Suite.
|
||||||
//
|
* Copyright (c) 2019-2022 Natalia Portillo.
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as
|
||||||
|
* published by the Free Software Foundation; either version 2.1 of the
|
||||||
|
* License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful, but
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <climits>
|
#include <climits>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
Reference in New Issue
Block a user