Main Page
Related Pages
Data Structures
Files
File List
Globals
src
libgfsm
gfsmError.h
Go to the documentation of this file.
1
2
/*=============================================================================*\
3
* File: gfsmError.h
4
* Author: Bryan Jurish <moocow.bovine@gmail.com>
5
* Description: finite state machine library
6
*
7
* Copyright (c) 2004 Bryan Jurish.
8
*
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 3 of the License, or (at your option) any later version.
13
*
14
* This library 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 GNU
17
* Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with this library; if not, write to the Free Software
21
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
*=============================================================================*/
23
28
#ifndef _GFSM_ERROR_H
29
#define _GFSM_ERROR_H
30
31
#include <glib.h>
32
33
/*======================================================================
34
* Types
35
*/
37
typedef
GError
gfsmError
;
38
39
/*======================================================================
40
* Constants
41
*/
43
#define gfsmErrorNone NULL
44
45
/*======================================================================
46
* Error Methods
47
*/
49
void
gfsm_carp_named
(
gfsmError
*error,
const
gchar *myname);
50
52
#define gfsm_carp(e) gfsm_carp_named(e,NULL)
53
55
void
gfsm_die_named
(
gfsmError
*error,
const
gchar *myname);
56
58
#define gfsm_die(e) gfsm_die_named(e,NULL)
59
61
#define gfsm_do_or_die(e) gfsm_die_named(e,NULL)
62
63
#endif
/* _GFSM_UTILS_H */
Generated on Tue Oct 21 2014 09:44:47 for libgfsm by
1.8.1.2