2 * ===============================================================
3 * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
4 * ===============================================================
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
14 #ifndef _INCLUDE_SOURCEMOD_STRINGUTIL_H_
15 #define _INCLUDE_SOURCEMOD_STRINGUTIL_H_
18 #include "sp_vm_api.h"
19 #include "sp_typeutil.h"
21 using namespace SourcePawn;
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, ...);
31 #endif // _INCLUDE_SOURCEMOD_STRINGUTIL_H_