core/sm_stringutil.h
author David Anderson <dvander@alliedmods.net>
Mon Feb 26 09:21:08 2007 +0000 (2007-02-26)
changeset 539 fa7e8a232a18
parent 504 1d6072ba774e
child 582 00c843a1bb18
permissions -rw-r--r--
fixed stupid export
     1 /**
     2  * ===============================================================
     3  * SourceMod (C)2004-2007 AlliedModders LLC.  All rights reserved.
     4  * ===============================================================
     5  *
     6  * This file is not open source and may not be copied without explicit
     7  * written permission of AlliedModders LLC.  This file may not be redistributed 
     8  * in whole or significant part.
     9  * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
    10  *
    11  * Version: $Id$
    12  */
    13 
    14 #ifndef _INCLUDE_SOURCEMOD_STRINGUTIL_H_
    15 #define _INCLUDE_SOURCEMOD_STRINGUTIL_H_
    16 
    17 #include <math.h>
    18 #include "sp_vm_api.h"
    19 #include "sp_typeutil.h"
    20 
    21 using namespace SourcePawn;
    22 
    23 #define LANG_SERVER		0
    24 
    25 size_t atcprintf(char *buffer, size_t maxlen, const char *format, IPluginContext *pCtx, const cell_t *params, int *param);
    26 const char *stristr(const char *str, const char *substr);
    27 unsigned int strncopy(char *dest, const char *src, size_t count);
    28 size_t gnprintf(char *buffer, size_t maxlen, const char *format, void **args);
    29 size_t UTIL_Format(char *buffer, size_t maxlength, const char *fmt, ...);
    30 char *sm_strdup(const char *str);
    31 
    32 #endif // _INCLUDE_SOURCEMOD_STRINGUTIL_H_