2005-04-16 21:59:26 +02:00
|
|
|
/* ======== SourceMM ========
|
2006-01-07 15:38:18 +01:00
|
|
|
* Copyright (C) 2004-2006 Metamod:Source Development Team
|
2005-04-16 21:59:26 +02:00
|
|
|
* No warranties of any kind
|
|
|
|
*
|
|
|
|
* License: zlib/libpng
|
|
|
|
*
|
|
|
|
* Author(s): David "BAILOPAN" Anderson
|
|
|
|
* ============================
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE_UTIL_H
|
|
|
|
#define _INCLUDE_UTIL_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Utility functons
|
|
|
|
* @file util.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
const char *UTIL_GetExtension(const char *file);
|
2005-10-06 02:59:01 +02:00
|
|
|
void UTIL_TrimComments(char *buffer);
|
2005-07-03 18:11:28 +02:00
|
|
|
void UTIL_TrimLeft(char *buffer);
|
|
|
|
void UTIL_TrimRight(char *buffer);
|
2005-10-06 02:59:01 +02:00
|
|
|
void UTIL_KeySplit(const char *str, char *buf1, size_t len1, char *buf2, size_t len2);
|
|
|
|
bool UTIL_PathCmp(const char *path1, const char *path2);
|
2005-04-16 21:59:26 +02:00
|
|
|
|
|
|
|
#endif //_INCLUDE_UTIL_H
|