00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00032 #ifndef GUTENPRINT_VERSION_H
00033 #define GUTENPRINT_VERSION_H
00034
00045
00046
00047
00048 #define STP_MAJOR_VERSION (5)
00049 #define STP_MINOR_VERSION (0)
00050 #define STP_MICRO_VERSION (0)
00051 #define STP_CURRENT_INTERFACE (8)
00052 #define STP_BINARY_AGE (0)
00053 #define STP_INTERFACE_AGE (0)
00054
00055 #define STP_CHECK_VERSION(major,minor,micro) \
00056 (STP_MAJOR_VERSION > (major) || \
00057 (STP_MAJOR_VERSION == (major) && \
00058 STP_MINOR_VERSION > (minor)) || \
00059 (STP_MAJOR_VERSION == (major) && \
00060 STP_MINOR_VERSION == (minor) && \
00061 STP_MICRO_VERSION >= (micro)))
00062
00064 extern const unsigned int stp_major_version;
00066 extern const unsigned int stp_minor_version;
00068 extern const unsigned int stp_micro_version;
00070 extern const unsigned int stp_current_interface;
00072 extern const unsigned int stp_binary_age;
00074 extern const unsigned int stp_interface_age;
00075
00084 extern const char *stp_check_version(unsigned int required_major,
00085 unsigned int required_minor,
00086 unsigned int required_micro);
00087
00090 #endif