Heraia
0.1.8
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
heraia_errors.h
Go to the documentation of this file.
1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2
/*
3
heraia_errors.h
4
heraia - an hexadecimal file editor and analyser based on ghex
5
6
(C) Copyright 2005 - 2007 Sebastien Tricaud e-mail : toady@gscore.org
7
(C) Copyright 2005 - 2011 Olivier Delhomme e-mail : heraia@delhomme.org
8
9
This program is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 2, or (at your option)
12
any later version.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
22
/**
23
* @file heraia_errors.h
24
* Header file for handling errors
25
*/
26
#ifndef _HERAIA_ERRORS_H_
27
#define _HERAIA_ERRORS_H_
28
29
/* this is empty for now, until there should be some errors functions */
30
/**
31
* @def HERAIA_NOERR
32
* No error occured, everything is fine
33
*
34
* @def HERAIA_MEMORY_ERROR
35
* Malloc error, you may get into trouble
36
*
37
* @def HERAIA_NO_PLUGINS
38
* When no plugin are found
39
*
40
* @def HERAIA_FILE_ERROR
41
* When an error on a file occurs
42
* @todo We may use errno to have more accurate file errors
43
*
44
* @def HERAIA_CANCELLED
45
* an operation has been cancelled
46
*/
47
#define HERAIA_NOERR 0
48
#define HERAIA_MEMORY_ERROR 1
49
#define HERAIA_NO_PLUGINS 2
50
#define HERAIA_FILE_ERROR 3
51
#define HERAIA_CANCELLED 4
52
53
#endif
/* _HERAIA_ERRORS_H_ */
Dossiers_Perso
projets
heraia
libheraia
include
heraia_errors.h
Generated on Sat Dec 30 2017 18:24:52 for Heraia by
1.8.8