2006-02-26 06:26:56 +00:00
|
|
|
#ifndef DEBUGGER_HELP_H
|
|
|
|
#define DEBUGGER_HELP_H
|
|
|
|
|
|
|
|
enum Match_e
|
|
|
|
{
|
|
|
|
MATCH_EXACT,
|
|
|
|
MATCH_FUZZY
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Prototypes _______________________________________________________________
|
|
|
|
|
|
|
|
Update_t HelpLastCommand();
|
|
|
|
|
|
|
|
void DisplayAmbigiousCommands ( int nFound );
|
|
|
|
|
|
|
|
int FindParam( LPTSTR pLookupName, Match_e eMatch, int & iParam_, const int iParamBegin = 0, const int iParamEnd = NUM_PARAMS - 1 );
|
|
|
|
int FindCommand( LPTSTR pName, CmdFuncPtr_t & pFunction_, int * iCommand_ = NULL );
|
|
|
|
|
|
|
|
inline void UnpackVersion( const unsigned int nVersion,
|
|
|
|
int & nMajor_, int & nMinor_, int & nFixMajor_ , int & nFixMinor_ )
|
|
|
|
{
|
|
|
|
nMajor_ = (nVersion >> 24) & 0xFF;
|
|
|
|
nMinor_ = (nVersion >> 16) & 0xFF;
|
|
|
|
nFixMajor_ = (nVersion >> 8) & 0xFF;
|
|
|
|
nFixMinor_ = (nVersion >> 0) & 0xFF;
|
|
|
|
}
|
|
|
|
|
2008-08-31 08:49:11 +00:00
|
|
|
bool TestStringCat ( TCHAR * pDst, LPCSTR pSrc, const int nDstSize );
|
|
|
|
bool TryStringCat ( TCHAR * pDst, LPCSTR pSrc, const int nDstSize );
|
|
|
|
int StringCat( TCHAR * pDst, LPCSTR pSrc, const int nDstSize );
|
2006-02-26 06:26:56 +00:00
|
|
|
|
|
|
|
#endif
|