Axis2/C: axutil_version.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axutil_version.h

    00001
    00019 #ifndef AXUTIL_VERSION_H
    00020 #define AXUTIL_VERSION_H
    00021
    00022 /* The numeric compile-time version constants. These constants are the
    00023  * authoritative version numbers for AXIS2.
    00024  */
    00025
    00031 #define AXIS2_MAJOR_VERSION       1
    00032
    00037 #define AXIS2_MINOR_VERSION       6
    00038
    00043 #define AXIS2_PATCH_VERSION       0
    00044
    00050 #undef AXIS2_IS_DEV_VERSION
    00051
    00052 #if defined(AXIS2_IS_DEV_VERSION) || defined(DOXYGEN)
    00053
    00055 #define AXIS2_IS_DEV_STRING "-dev"
    00056 #else
    00057 #define AXIS2_IS_DEV_STRING ""
    00058 #endif
    00059
    00061 #define AXIS2_STRINGIFY(n) AXIS2_STRINGIFY_HELPER(n)
    00062
    00064 #define AXIS2_STRINGIFY_HELPER(n) #n
    00065
    00067 #define AXIS2_VERSION_STRING \
    00068      AXIS2_STRINGIFY(AXIS2_MAJOR_VERSION) "." \
    00069      AXIS2_STRINGIFY(AXIS2_MINOR_VERSION) "." \
    00070      AXIS2_STRINGIFY(AXIS2_PATCH_VERSION) \
    00071      AXIS2_IS_DEV_STRING
    00072
    00075 /* macro for Win32 .rc files using numeric csv representation */
    00076 #define AXIS2_VERSION_STRING_CSV AXIS2_MAJOR_VERSION ##, \
    00077                              ##AXIS2_MINOR_VERSION ##, \
    00078                              ##AXIS2_PATCH_VERSION
    00079
    00080 #ifndef AXIS2_VERSION_ONLY
    00081
    00082 /* The C language API to access the version at run time,
    00083  * as opposed to compile time.  AXIS2_VERSION_ONLY may be defined
    00084  * externally when preprocessing axutil_version.h to obtain strictly
    00085  * the C Preprocessor macro declarations.
    00086  */
    00087
    00088 #include "axutil_env.h"
    00089
    00090 #ifdef __cplusplus
    00091 extern "C"
    00092 {
    00093 #endif
    00094
    00099     typedef struct
    00100     {
    00101
    00102         int major;
    00103
    00106         int minor;
    00107
    00110         int patch;
    00111
    00114         int is_dev;
    00115
    00117     }
    00118     axis2_version_t;
    00119
    00126     AXIS2_EXTERN void AXIS2_CALL
    00127     axis2_version(
    00128         axis2_version_t * pvsn);
    00129
    00131     AXIS2_EXTERN const char *AXIS2_CALL
    00132     axis2_version_string(
    00133         void);
    00134
    00135 #ifdef __cplusplus
    00136 }
    00137 #endif
    00138 #endif
    00139
    00140 #endif                          /* AXIS2_VERSION_H */