mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-30 12:24:20 +01:00
d11b49a202
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40176
27 lines
644 B
C
27 lines
644 B
C
/* ======== SourceMM ========
|
|
* Copyright (C) 2004-2006 Metamod:Source Development Team
|
|
* 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);
|
|
void UTIL_TrimComments(char *buffer);
|
|
void UTIL_TrimLeft(char *buffer);
|
|
void UTIL_TrimRight(char *buffer);
|
|
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);
|
|
|
|
#endif //_INCLUDE_UTIL_H
|