ext/xlsxwriter/libxlsxwriter/include/xlsxwriter/utility.h in xlsxwriter-0.0.5 vs ext/xlsxwriter/libxlsxwriter/include/xlsxwriter/utility.h in xlsxwriter-0.0.6
- old
+ new
@@ -85,10 +85,24 @@
extern "C" {
#endif
/* *INDENT-ON* */
/**
+ * @brief Retrieve the library version.
+ *
+ * @return The "X.Y.Z" version string.
+ *
+ * Get the library version as a "X.Y.Z" version string
+ *
+ * @code
+ * printf("Libxlsxwriter version = %s\n", lxw_version());
+ * @endcode
+ *
+ */
+const char *lxw_version(void);
+
+/**
* @brief Converts a libxlsxwriter error number to a string.
*
* The `%lxw_strerror` function converts a libxlsxwriter error number defined
* by #lxw_error to a pointer to a string description of the error.
* Similar to the standard library strerror(3) function.
@@ -160,9 +174,11 @@
int lxw_sprintf_dbl(char *data, double number);
#else
#define lxw_sprintf_dbl(data, number) \
lxw_snprintf(data, LXW_ATTR_32, "%.16g", number)
#endif
+
+uint16_t lxw_hash_password(const char *password);
/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif