/*
 * Unix SMB/Netbios implementation. Version 1.9. smbpasswd module. Copyright
 * (C) Jeremy Allison 1995-1998
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 675
 * Mass Ave, Cambridge, MA 02139, USA.
 */

/******************************************************************************
 *
 * RCS ID
 * $Id: stubs,v 1.3 2000/04/02 17:00:54 david Exp $
 *
 * HISTORY
 * $Log: stubs,v $
 * Revision 1.3  2000/04/02 17:00:54  david
 * Tidy up globals
 *
 * Revision 1.2  2000/02/08 20:20:24  david
 * Added getMsgFilename and getMsfFd
 *
 * Revision 1.1  2000/01/29 17:28:19  david
 * New file smbpasswd.
 * Moved utils stub stuff from testparm to stubs
 *
 *
 *****************************************************************************/

#include "kernel.h"
#include "includes.h"
#include "toolbox.h"

#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE 0
#endif


int DEBUGLEVEL=0;

int dontConvertName=0;
connection_struct * g_conn=NULL;
pstring sesssetup_user,samlogon_user;
int sam_logon_in_ssb=0;
int Client=0;
int  smb_read_error=0;
tpClients clients=NULL;

BOOL isFdSocket(int fd)
{
   tpClients aclient=clients;
   BOOL      result=FALSE;
          
   while (aclient!=NULL)
   {
      if (fd==aclient->clientFd)
      {
        result=TRUE;
        break;
      }  
      aclient=aclient->next;
   }                                  

   return result;
}

int file_find_name(int fd,char *fname)
{                       
   int error=EBADF;

   return error;
}

void samba_shutdown(int severity)
{
  exit(0);
}         

void wimp_werr(int severity,char *msg)
{
  printf("%s\n",msg);
}

MessagesFD *getMsgFd(void)
{
  return NULL;
}             

char *getMsgFilename(void)
{
  return NULL;
}

ssize_t write_non_block(int *fd,char *buffer,size_t len)
{
   return -1;
}



              


     

