SCIMBridge  0.4.x
scim-bridge.h
Go to the documentation of this file.
1 /*
2  * SCIM Bridge
3  *
4  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
5  *
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation and
10  * appearing in the file LICENSE.LGPL included in the package of this file.
11  * You can also redistribute it and/or modify it under the terms of
12  * the GNU General Public License as published by the Free Software Foundation and
13  * appearing in the file LICENSE.GPL included in the package of this file.
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.
18  */
19 
26 #ifndef SCIMBRIDE_H_
27 #define SCIMBRIDE_H_
28 
29 #ifdef HAVE_CONFIG_H
30 #include "config.h"
31 #endif
32 
33 #include <sys/types.h>
34 
35 #ifndef SCIM_VERSION
36 #define SCIM_VERSION "<unknown>"
37 #endif
38 
42 typedef int boolean;
43 
44 #ifndef TRUE
45 #define TRUE 1
46 #endif
47 
48 #ifndef FALSE
49 #define FALSE 0
50 #endif
51 
52 #ifndef NULL
53 #define NULL 0
54 #endif
55 
59 typedef int retval_t;
60 
64 #define RETVAL_FAILED -1
65 
69 #define RETVAL_SUCCEEDED 0
70 
74 #define RETVAL_IGNORED 1
75 #endif /*SCIMBRIDE_H_*/
int retval_t
Definition: scim-bridge.h:59
int boolean
Definition: scim-bridge.h:42