/*
*  Naamari - an AES/SHA-based manual file crypto-synchronizer for cloud transfers
*  Copyright (c) 2015-2017 Sunkware
*  Key FP = 6B6D C8E9 3438 6E9C 3D97  56E5 2CE9 A476 99EF 28F6
*
*  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 <http://www.gnu.org/licenses/>.
*
*  ----------------------------------------------------------------
*  WWW:       sunkware.org
*  E-mail:    sunkware@gmail.com
*  ----------------------------------------------------------------
*/

#ifndef CRYPTRAV_ERRORS_H
#define CRYPTRAV_ERRORS_H

#define        CTERR_OK                        (0)
#define        CTERR_NULL_POINTER              (-1)
#define        CTERR_OBJECT_NOT_FOUND          (-2)
#define        CTERR_FILE_NOT_FOUND            (-3)
#define        CTERR_FILE_CANNOT_OPEN          (-4)
#define        CTERR_FILE_CANNOT_READ          (-5)
#define        CTERR_FILE_NOT_OPEN             (-6)
#define        CTERR_FILE_WRONG_MODE           (-7)
#define        CTERR_FILE_WRONG_SIZE           (-8)
#define        CTERR_FILE_STATS_UNAVAILABLE    (-9)
#define        CTERR_FILE_TIME_CANNOT_SET      (-10)
#define        CTERR_DIR_NOT_FOUND             (-11)
#define        CTERR_DIR_CANNOT_CREATE         (-12)
#define        CTERR_CHECKSUM_WRONG            (-13)
#define        CTERR_PADDING_WRONG             (-14)
#define        CTERR_BUFFER_CANNOT_OPEN        (-15)
#define        CTERR_FORMAT_UNKNOWN            (-16)
#define        CTERR_HASH_COLLISION            (-17)


#endif // CRYPTRAV_ERRORS_H
