00001 #ifndef __VERSION_H
00002 #define __VERSION_H
00003 /*-------------------------------------------------------------------------
00004 * Copyright (c) 2000-2002 Kenneth W. Sodemann (stuffle@charter.net)
00005 *-------------------------------------------------------------------------
00006 * $Id: version.h,v 1.2 2002/01/30 00:40:02 stuffle Exp $
00007 *
00008 * This program is free software; you can redistribute it and/or modify
00009 * it under the terms of the GNU General Public License as published by
00010 * the Free Software Foundation; either version 2 of the License, or
00011 * (at your option) any later version.
00012 *
00013 * This program is distributed in the hope that it will be useful,
00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016 * GNU General Public License for more details.
00017 *
00018 * You should have received a copy of the GNU General Public License
00019 * along with this program; if not, write to
00020 * Free Software Foundation, Inc.
00021 * 59 Temple Place, Suite 330
00022 * Boston, MA 02111-1307 USA
00023 *-------------------------------------------------------------------------
00024 */
00036 /*
00037 * __BEGIN_DECLS should be used at the beginning of your declarations,
00038 * so that C++ compilers don't mangle their names. Use __END_DECLS at
00039 * the end of C declarations.
00040 */
00041 #undef __BEGIN_DECLS
00042 #undef __END_DECLS
00043 #ifdef __cplusplus
00044 # define __BEGIN_DECLS extern "C" {
00045 # define __END_DECLS }
00046 #else
00047 # define __BEGIN_DECLS /* empty */
00048 # define __END_DECLS /* empty */
00049 #endif
00050
00051 /*
00052 * __P is a macro used to wrap function prototypes, so that compilers
00053 * that don't understand ANSI C prototypes still work, and ANSI C
00054 * compilers can issue warnings about type mismatches.
00055 */
00056 #undef __P
00057 #if defined (__STDC__) || defined (_AIX) \
00058 || (defined (__mips) && defined (_SYSTYPE_SVR4)) \
00059 || defined(WIN32) || defined(__cplusplus)
00060 # define __P(protos) protos
00061 #else
00062 # define __P(protos) ()
00063 #endif
00064
00065 __BEGIN_DECLS
00073 int libpreps_major_version __P((void));
00074
00082 int libpreps_minor_version __P((void));
00083
00091 int libpreps_micro_version __P((void));
00092
00093 __END_DECLS
00094 #endif
1.2.14 written by Dimitri van Heesch,
© 1997-2002