gcontini
2021-05-20 5251b3df104c0bb210c88bd935a7cc1fd41e4537
src/library/base/string_utils.h
@@ -33,6 +33,9 @@
// strnln_s is not well supported and strlen is marked unsafe..
size_t mstrnlen_s(const char* szptr, size_t maxsize);
// strlcpy is not a standard function but it's the safest way to copy to c strings...
// let's provide a custom implementation
size_t mstrlcpy(char* dst, const char* src, size_t n);
typedef enum {
   INI, BASE64, UNKNOWN
} FILE_FORMAT;