ddnet/src/engine/server/sql_string_helpers.h

16 lines
338 B
C
Raw Normal View History

#ifndef ENGINE_SERVER_SQL_STRING_HELPERS_H
#define ENGINE_SERVER_SQL_STRING_HELPERS_H
namespace sqlstr {
2020-10-27 17:57:14 +00:00
void FuzzyString(char *pString, int Size);
// written number of added bytes
int EscapeLike(char *pDst, const char *pSrc, int DstSize);
2020-10-27 17:57:14 +00:00
void AgoTimeToString(int AgoTime, char *pAgoString, int Size);
} // namespace sqlstr
#endif