#include <process.h>

#include "main.h"


/* variables locales
 */
static int iLibraryID;

/* Fonctions locales non exportees
 */
void DeinitializeLibrary ( void );
int InitializeLibrary ( void );

main ()
{
    /* On sauve le ID de NLM...
     */
    iLibraryID = GetNLMID ();
    /* On teste si l'initialization peut s'effectuer...
     */
    if ( ! InitializeLibrary () )
       {
        exit ( 1 );
       }
    AtUnload ( DeinitializeLibrary );
    ExitThread ( TSR_THREAD, 0 );

}

void DeinitializeLibrary ( void )
{
}


int InitializeLibrary ( void )
{

    return ( TRUE );

}


int GetLibraryID ( void )
{

    return ( iLibraryID );

}


