| 1 |
/* |
| 2 |
* FCML - Free Code Manipulation Library. |
| 3 |
* Copyright (C) 2010-2020 Slawomir Wojtasiak |
| 4 |
* |
| 5 |
* This library is free software; you can redistribute it and/or |
| 6 |
* modify it under the terms of the GNU Lesser General Public |
| 7 |
* License as published by the Free Software Foundation; either |
| 8 |
* version 2.1 of the License, or (at your option) any later version. |
| 9 |
* |
| 10 |
* This library is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
* Lesser General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU Lesser General Public |
| 16 |
* License along with this library; if not, write to the Free Software |
| 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 |
*/ |
| 19 |
|
| 20 |
#ifndef FCML_CEH_H_ |
| 21 |
#define FCML_CEH_H_ |
| 22 |
|
| 23 |
#include <fcml_types.h> |
| 24 |
#include <fcml_errors.h> |
| 25 |
|
| 26 |
void fcml_fn_ceh_move_errors(fcml_st_ceh_error_container *destination, |
| 27 |
fcml_st_ceh_error_container *source); |
| 28 |
|
| 29 |
void fcml_fn_ceh_free_errors_only(fcml_st_ceh_error_container *error_container); |
| 30 |
|
| 31 |
void fcml_fn_ceh_free_errors_only_with_level( |
| 32 |
fcml_st_ceh_error_container *error_container, |
| 33 |
fcml_en_ceh_error_level level); |
| 34 |
|
| 35 |
fcml_st_ceh_error_info *fcml_fn_ceh_add_error( |
| 36 |
fcml_st_ceh_error_container *error_container, |
| 37 |
const fcml_string message, fcml_ceh_error code, |
| 38 |
fcml_en_ceh_error_level level ); |
| 39 |
|
| 40 |
#endif /* FCML_CEH_H_ */ |