mirror of
https://github.com/thug1src/thug.git
synced 2025-01-22 05:43:47 +00:00
81 lines
3.1 KiB
C
81 lines
3.1 KiB
C
|
/*****************************************************************************
|
||
|
** **
|
||
|
** Neversoft Entertainment. **
|
||
|
** **
|
||
|
** Copyright (C) 2000 - All Rights Reserved **
|
||
|
** **
|
||
|
******************************************************************************
|
||
|
** **
|
||
|
** Project: **
|
||
|
** **
|
||
|
** Module: String **
|
||
|
** **
|
||
|
** File name: stringutils.h **
|
||
|
** **
|
||
|
** Created by: 05/31/01 - Mick **
|
||
|
** **
|
||
|
** Description: useful string (char *) utilities **
|
||
|
** **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
#ifndef __CORE_STRING_STRINGUTILS_H
|
||
|
#define __CORE_STRING_STRINGUTILS_H
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Includes **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Defines **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
|
||
|
namespace Str
|
||
|
{
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Class Definitions **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Private Declarations **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Private Prototypes **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Public Declarations **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Public Prototypes **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
const char* StrStr(const char* pHay, const char* pNeedle);
|
||
|
void LowerCase(char* p);
|
||
|
void UpperCase(char* p);
|
||
|
int WhiteSpace(char* p);
|
||
|
char * PrintThousands(int n, char c = ',');
|
||
|
uint DehexifyDigit(const char *pLetter);
|
||
|
int Compare(const char *p_a, const char *p_b);
|
||
|
|
||
|
/*****************************************************************************
|
||
|
** Inline Functions **
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/******************************************************************/
|
||
|
/* */
|
||
|
/* */
|
||
|
/******************************************************************/
|
||
|
|
||
|
} // namespace Str
|
||
|
|
||
|
#endif // __DIR_SUBDIR_FILE_H
|
||
|
|
||
|
|