common/scim-bridge.h

Go to the documentation of this file.
00001 /*
00002  * SCIM Bridge
00003  *
00004  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
00005  *
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.*
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
00014  * GNU Lesser General Public License for more details.*
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this program; if not, write to the
00017  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
00018  * Boston, MA  02111-1307  USA
00019  */
00020 
00027 #ifndef SCIMBRIDE_H_
00028 #define SCIMBRIDE_H_
00029 
00030 #ifdef HAVE_CONFIG_H
00031 #include "config.h"
00032 #endif
00033 
00034 #include <sys/types.h>
00035 
00036 #ifndef SCIM_VERSION
00037 #define SCIM_VERSION "<unknown>"
00038 #endif
00039 
00040 #define _(String)   gettext(String)
00041 #define N_(String)  gettext_noop(String)
00042 #define gettext_noop(String) (String)
00043 
00044 #ifndef NPOS
00045 #define NPOS -1
00046 #endif
00047 
00051 typedef int boolean;
00052 
00053 #ifndef TRUE
00054 #define TRUE 1
00055 #endif
00056 
00057 #ifndef FALSE
00058 #define FALSE 0
00059 #endif
00060 
00061 #ifndef NULL
00062 #define NULL 0
00063 #endif
00064 
00068 typedef int retval_t;
00069 
00073 #define RETVAL_FAILED -1
00074 
00078 #define RETVAL_SUCCEEDED 0
00079 
00083 #define RETVAL_IGNORED 1
00084 #endif                                            /*SCIMBRIDE_H_*/

Generated on Tue Sep 26 21:53:28 2006 for ScimBridge by  doxygen 1.4.6