ddnet/src/engine/server/sql_string_helpers.h
2020-11-08 17:15:48 +01:00

16 lines
338 B
C++

#ifndef ENGINE_SERVER_SQL_STRING_HELPERS_H
#define ENGINE_SERVER_SQL_STRING_HELPERS_H
namespace sqlstr {
void FuzzyString(char *pString, int Size);
// written number of added bytes
int EscapeLike(char *pDst, const char *pSrc, int DstSize);
void AgoTimeToString(int AgoTime, char *pAgoString, int Size);
} // namespace sqlstr
#endif