1 /* ======== SourceMM ========
2 * Copyright (C) 2004-2006 Metamod:Source Development Team
3 * No warranties of any kind
7 * Author(s): David "BAILOPAN" Anderson
8 * ============================
11 #ifndef _INCLUDE_UTIL_H
12 #define _INCLUDE_UTIL_H
15 * @brief Utility functons
19 const char *UTIL_GetExtension(const char *file);
20 void UTIL_TrimComments(char *buffer);
21 void UTIL_TrimLeft(char *buffer);
22 void UTIL_TrimRight(char *buffer);
23 void UTIL_KeySplit(const char *str, char *buf1, size_t len1, char *buf2, size_t len2);
24 bool UTIL_PathCmp(const char *path1, const char *path2);
26 #endif //_INCLUDE_UTIL_H