sourcemm/util.h
author Scott Ehlert <ds@alliedmods.net>
Thu Feb 08 11:44:11 2007 +0000 (2007-02-08)
changeset 281 588bc5e6a607
parent 175 b497b7777f6b
child 282 7a237e9ea5a1
permissions -rw-r--r--
Added 1.3d to changelog...
     1 /* ======== SourceMM ========
     2 * Copyright (C) 2004-2006 Metamod:Source Development Team
     3 * No warranties of any kind
     4 *
     5 * License: zlib/libpng
     6 *
     7 * Author(s): David "BAILOPAN" Anderson
     8 * ============================
     9 */
    10 
    11 #ifndef _INCLUDE_UTIL_H
    12 #define _INCLUDE_UTIL_H
    13 
    14 /**
    15  * @brief Utility functons
    16  * @file util.h
    17  */
    18 
    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);
    25 
    26 #endif //_INCLUDE_UTIL_H