srecord: defcon.h Source File

srecord 1.65.0

Loading...
Searching...
No Matches
defcon.h
Go to the documentation of this file.
1//
2// srecord - Manipulate EPROM load files
3// Copyright (C) 2014 Peter Miller
4//
5// This program is free software; you can redistribute it and/or modify it
6// under the terms of the GNU Lesser General Public License as published by
7// the Free Software Foundation; either version 3 of the License, or (at your
8// option) any later version.
9//
10// This program is distributed in the hope that it will be useful, but WITHOUT
11// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13// more details.
14//
15// You should have received a copy of the GNU Lesser General Public License
16// along with this program. If not, see <http://www.gnu.org/licenses/>.
17//
18
19#ifndef SRECORD_DEFCON_H
20#define SRECORD_DEFCON_H
21
22namespace srecord {
23
24
25 enum defcon_t
26{
27 defcon_ignore,
28 defcon_warning,
29 defcon_fatal_error
30};
31
32
33 const char *text_from_defcon(defcon_t x);
34 int defcon_from_text(const char *text);
35
36
37};
38
39// vim: set ts=8 sw=4 et :
40#endif // SRECORD_DEFCON_H
srecord
Definition adler16.h:25
srecord::defcon_t
defcon_t
Definition defcon.h:26
srecord::defcon_fatal_error
@ defcon_fatal_error
Definition defcon.h:29
srecord::defcon_warning
@ defcon_warning
Definition defcon.h:28
srecord::defcon_ignore
@ defcon_ignore
Definition defcon.h:27
srecord::text_from_defcon
const char * text_from_defcon(defcon_t x)
srecord::defcon_from_text
int defcon_from_text(const char *text)