sourcemm/util.h
author Scott Ehlert <ds@alliedmods.net>
Mon Apr 17 19:42:55 2006 +0000 (2006-04-17)
changeset 187 d81c2fc9a708
parent 175 b497b7777f6b
child 282 7a237e9ea5a1
permissions -rw-r--r--
Fixed a warning in stub and sample :|
     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