/*
* encrypt ~ a simple, multi-OS encryption utility
* Copyright © 2005-2024, albinoloverats ~ Software Development
* email: encrypt@albinoloverats.net
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
*/
#ifndef _ENCRYPT_CRYPTIO_H_
#define _ENCRYPT_CRYPTIO_H_
/*!
* \file crypt_io.h
* \author Ashley M Anderson
* \date 2009-2024
* \brief IO functions for encrypt
*
* Advanced IO functions for encryption/compression. Wraps read/write
* with crypto functions and LZMA compression for encrypt.
*/
#include /*!< Necessary include as c99 standard integer types are referenced in this header */
#include /*!< Necessary include as c99 boolean type is referenced in this header */
#define IO_STDIN_FILENO io_use_stdin() /*!< Macro wrapper for io_use_stdin() */
#define IO_STDOUT_FILENO io_use_stdout() /*!< Macro wrapper for io_use_stdout() */
#define IO_UNINITIALISED io_dummy_handle() /*!< Macro wrapper for io_dummy_handle() */
typedef void * IO_HANDLE; /*