2020-09-08 21:37:30 -05:00
|
|
|
#ifndef STORM_STRING_HPP
|
|
|
|
|
#define STORM_STRING_HPP
|
|
|
|
|
|
2020-11-14 17:18:49 -06:00
|
|
|
#include <cstdint>
|
2020-09-08 21:37:30 -05:00
|
|
|
#include <cstdlib>
|
|
|
|
|
|
2020-11-14 17:47:10 -06:00
|
|
|
#define STORM_MAX_PATH 260
|
|
|
|
|
#define STORM_MAX_STR 0x7FFFFFFF
|
|
|
|
|
|
2020-11-14 17:58:34 -06:00
|
|
|
int32_t SStrCmp(const char* string1, const char* string2, size_t maxchars);
|
|
|
|
|
|
2020-11-15 12:47:41 -06:00
|
|
|
int32_t SStrCmpI(const char* string1, const char* string2, size_t maxchars);
|
|
|
|
|
|
2020-09-08 21:37:30 -05:00
|
|
|
size_t SStrCopy(char* dest, const char* source, size_t destsize);
|
|
|
|
|
|
2020-11-14 17:18:49 -06:00
|
|
|
uint32_t SStrHashHT(const char* string);
|
|
|
|
|
|
2020-09-08 21:37:30 -05:00
|
|
|
#endif
|