home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / contrib / samba / samba-1.8 / samba-1 / samba-1.8.05 / params.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-27  |  1.4 KB  |  47 lines

  1. /* 
  2.    Unix SMB/Netbios implementation.
  3.    Version 1.8.
  4.    Copyright (C) Karl Auer 1993, 1994
  5.    
  6.    This program is free software; you can redistribute it and/or modify
  7.    it under the terms of the GNU General Public License as published by
  8.    the Free Software Foundation; either version 2 of the License, or
  9.    (at your option) any later version.
  10.    
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.    
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. /**************************************************************************
  22. PARAMS.H
  23.  
  24. Copyright (C) 1990, 1991, 1992 Karl Auer
  25.  
  26. Prototypes and definitions for PARAMS.C.
  27. **************************************************************************/
  28. #ifndef _PARAMS_H
  29. #define _PARAMS_H
  30.  
  31. #include <stdio.h>
  32. #include "smb.h"
  33.  
  34. typedef BOOL (* PM_PARMFUNC)(char *pszParmName, char *pszParmValue);
  35. typedef BOOL (* PM_SECFUNC)(char *pszSectionName);
  36.  
  37. #define PM_MAXLINE              512
  38.  
  39. #define PM_NOFILE               1
  40. #define PM_NOFILENAME           2
  41. #define PM_FILEERROR            3
  42.  
  43. extern BOOL pm_process(char *pszFileName, PM_SECFUNC sfunc, PM_PARMFUNC pfunc);
  44.  
  45. #endif
  46.  
  47.