srecord  1.65.0
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 
22 namespace srecord {
23 
24 
26 {
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
defcon_t
Definition: defcon.h:26
@ defcon_fatal_error
Definition: defcon.h:29
@ defcon_warning
Definition: defcon.h:28
@ defcon_ignore
Definition: defcon.h:27
int defcon_from_text(const char *text)
const char * text_from_defcon(defcon_t x)