Commit 8f5abc8e2160b3f7fa3ffde15af8af88c60dec53

Authored by Perry Werneck
1 parent 5cf1b6b5

Adding method to get the build timestamp; usefull for version checks.

src/core/properties/unsigned.c
... ... @@ -178,4 +178,8 @@ static unsigned int lib3270_get_host_type_number(const H3270 *hSession)
178 178 return properties;
179 179 }
180 180  
  181 + LIB3270_EXPORT const char * lib3270_get_build_rpq_timestamp(void)
  182 + {
  183 + return build_rpq_timestamp;
  184 + }
181 185  
... ...
src/include/lib3270/properties.h
... ... @@ -220,6 +220,14 @@
220 220 */
221 221 LIB3270_EXPORT void lib3270_disable_crl_download(H3270 *hSession);
222 222  
  223 + /**
  224 + * @brief Get lib3270 build timestamp.
  225 + *
  226 + * @return String with lib3270 build timestamp.
  227 + */
  228 + LIB3270_EXPORT const char * lib3270_get_build_rpq_timestamp(void);
  229 +
  230 +
223 231 #ifdef __cplusplus
224 232 }
225 233 #endif
... ...