/*******************************************************************************
;*******************************************************************************
;**                                                                           **
;**                  COPYRIGHT 2012 NUANCE COMMUNICATIONS                     **
;**                                                                           **
;**               NUANCE COMMUNICATIONS PROPRIETARY INFORMATION               **
;**                                                                           **
;**     This software is supplied under the terms of a license agreement      **
;**     or non-disclosure agreement with Nuance Communications and may not    **
;**     be copied or disclosed except in accordance with the terms of that    **
;**     agreement.                                                            **
;**                                                                           **
;*******************************************************************************
;**                                                                           **
;**     FileName: ET9KUtil.h                                                  **
;**                                                                           **
;**  Description: Simple example functions of wrapping ET9 Korean API to      **
;**               decombine double consonants to single consonants for        **
;**               the Choseong searching feature                              **
;**                                                                           **
;*******************************************************************************
;******************************************************************************/

#ifndef ET9KUTILE_H
#define ET9KUTILE_H 1

/* don't mangle the function name if compile under C++ */
#if defined(__cplusplus)
extern "C" {
#endif

#include "et9api.h"

ET9STATUS ET9FARCALL ET9KUTIL_GetHangulSingleConsonants(ET9KLingInfo * pKLingInfo, 
                                                        ET9U8          bHangulIndex, 
                                                        ET9SYMB      * psHangulBuf,
                                                        ET9U16         wHangulBufLen,
                                                        ET9U16       * pwHangulLen);

ET9STATUS ET9FARCALL ET9KUTIL_BuildHangulSingleConsonants(ET9KLingInfo   * pKLingInfo,
                                                          ET9KHangulWord * pHangul,
                                                          const ET9SYMB  * pMTSequence,
                                                          ET9U16           wMTSymbCount);

/* End don't mangle the function name if compile under C++ */
#if defined(__cplusplus)
    }
#endif

#endif  /* #ifndef ET9KUTILE_H */

