/******************************************************************************
 *
 * RCS ID
 * $Id: main,v 1.5 2002/11/17 16:43:22 david Exp $
 *
 * HISTORY
 * $Log: main,v $
 * Revision 1.5  2002/11/17 16:43:22  david
 * Updates to compiler with new 32-bit compiler
 *
 * Revision 1.4  2000/04/22 14:51:10  david
 * Updates for nmbd module debugging.
 * Updates for integrating nmbd with main smbserver application
 *
 * Revision 1.3  2000/04/02 16:59:13  david
 * Small tidy up!
 *
 * Revision 1.2  2000/01/11 20:17:54  david
 * Added a define to split out booleans into General, File Create
 * and Filename read options. Not released yet - just playing with it.
 * Checked that !smbconfig will compile standalone.
 *
 * Revision 1.1  1999/11/07 15:15:19  david
 * New WIMP configuration using toolbox libs
 *
 *
 *
 *****************************************************************************/                    

#include <stdlib.h>
#include <string.h>
#include <stdio.h>
 
#include "kernel.h"
#include "swis.h"
#include "wimp.h"
#include "toolbox.h"
#include "event.h"
#include "wimplib.h"
#include "proginfo.h"
#include "quit.h"   
#include "gadgets.h"


#include "includes.h"
#include "smb.h"

#include "smbconfig.h"

void nmbdDumpInfo(void)
{
 
}

void samba_shutdown(int severity)
{

}

int svrTest(tpClients aclient, char *inbuf, char *outbuf,
            int bytes_recv, int bufsize)
{
  return 0;
}

int nmbd_init(void)
{
  return 0;
}

void nmbd_stop(BOOL force)
{

}

void myexit(void)
{
  close_malloc();  
}   

int pollWordNonZeroAction(void)
{
  return 0;
}

int nmbdPollWordNonZeroAction(int eventType)
{
  return 0;
}

int doNullEvent(void)
{
  return 0;
}

int main(int argc, char *argv[])
{    
   ParamIntialise();           

   WimpInitialise("<SmbConfig$dir>","SmbConfig");

   while (TRUE)
   {
    
      WimpPoll();
   }

}

