1 /* @include embexit ***********************************************************
2 **
3 ** General routines for exiting on success or failure
4 **
5 ** @author Copyright (c) 1999 Peter Rice
6 ** @version $Revision: 1.6 $
7 ** @modified $Date: 2011/09/27 11:19:27 $ by $Author: rice $
8 ** @@
9 **
10 ** This library is free software; you can redistribute it and/or
11 ** modify it under the terms of the GNU Lesser General Public
12 ** License as published by the Free Software Foundation; either
13 ** version 2.1 of the License, or (at your option) any later version.
14 **
15 ** This library is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ** Lesser General Public License for more details.
19 **
20 ** You should have received a copy of the GNU Lesser General Public
21 ** License along with this library; if not, write to the Free Software
22 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23 ** MA  02110-1301,  USA.
24 **
25 ******************************************************************************/
26 
27 #ifndef EMBEXIT_H
28 #define EMBEXIT_H
29 
30 
31 
32 
33 /* ========================================================================= */
34 /* ============================= include files ============================= */
35 /* ========================================================================= */
36 
37 #include "ajdefine.h"
38 
39 AJ_BEGIN_DECLS
40 
41 
42 
43 
44 /* ========================================================================= */
45 /* =============================== constants =============================== */
46 /* ========================================================================= */
47 
48 
49 
50 
51 /* ========================================================================= */
52 /* ============================== public data ============================== */
53 /* ========================================================================= */
54 
55 
56 
57 
58 /* ========================================================================= */
59 /* =========================== public functions ============================ */
60 /* ========================================================================= */
61 
62 
63 
64 /*
65 ** Prototype definitions
66 */
67 
68 __noreturn void embExit (void);
69 __noreturn void embExitBad (void);
70 
71 /*
72 ** End of prototype definitions
73 */
74 
75 AJ_END_DECLS
76 
77 #endif  /* !EMBEXIT_H */
78