/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/ALIASPUB.H__   1.2.1.5   17 Apr 1997 15:41:16   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/ALIASPUB.H__  $
** 
**    Rev 1.2.1.5   17 Apr 1997 15:41:16   ZJRD
** No change.
** 
**    Rev 1.2.1.4   16 Apr 1997 10:14:58   ZJRD
** No change.
** 
**    Rev 1.2.1.3   10 Apr 1997 15:26:58   ZJRD
** 2.09F
** 
**    Rev 1.2.1.1   03 Apr 1997 15:09:02   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:14:02   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:25:20   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:44:20   ZJRD
** Initial revision.
** 
**    Rev 1.6.1.0.1.2   09 Dec 1996 10:15:02   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.6.1.0.1.0   11 Nov 1996 12:58:18   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.6.1.4   09 Sep 1996 13:15:38   ZJRD
** No change.
** 
**    Rev 1.6.1.3   05 Sep 1996 11:27:10   ZJRD
** No change.
** 
**    Rev 1.6.1.2   02 Sep 1996 09:54:16   ZJRD
** No change.
** 
**    Rev 1.6.1.1   28 Aug 1996 15:48:30   ZJRD
** No change.
** 
**    Rev 1.6.1.0   12 Aug 1996 10:52:58   ZJRD
** No change.
** 
**    Rev 1.6   11 Jun 1996 10:27:36   ZJRD
** EasyPack/SLD Version 1.97
** 
**    Rev 1.4   05 Jun 1996 14:56:14   ZJRD
** No change.
** 
**    Rev 1.3   29 May 1996 09:36:18   ZJRD
** No change.
** 
**    Rev 1.2   16 May 1996 09:08:58   ZJRD
** No change.
** 
**    Rev 1.1   10 May 1996 09:08:36   ZJRD
** No change.
** 
**    Rev 1.0   02 May 1996 10:26:12   ZJRD
** Initial revision.
** 
****************************************************************************/

#ifndef _aliaspub_h_
#define _aliaspub_h_
                                
#include "alias.h"
                                
void MakeTable();  
void FreeTable();
void AliasCmd(int m_nArgc, char* m_pszArgv[]);
/* void HelpCmd(int m_nArgc, char* m_pszArgv[]);*/
int  GetCommandId(const char* pszCommand); 
int  GetTotalCommandId(const char* pszCommand); // for hidden command
BOOL SearchCommand(const char* pszCommand, int& nArgc, char* pszArgv[]);
int  ExpandCommand(const char* pszCommand, char* pszExpand, char* pszHints);
BOOL ExpandParameter(const char* pszCommand, const char* pszParameter, char* pszExpand);

// special for Event 1|2|3
BOOL GetEventHints(const char* pszCommand, char* pszHints);
BOOL ExpandEventPara(const char* pszCommand, const char* pszParameter, char* pszExpand);

#endif
