/*
_____       _    _    Corso   Italia,  178
(_|__   .  (_   |_|_  56125           Pisa
(_|_) |)|(()_)()| |   tel.  +39  050 46380
  |   |               picosoft@picosoft.it

 picoSQL - common include files

 Copyright (C) Picosoft s.r.l. 1994-2002

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 This library 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
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/
# ifndef win4unix_h
# define win4unix_h "$Id$";
#include <values.h>
#include <stdio.h>
#define NULLDOUBLE DBL_MIN
#define NULLFLOAT  FLT_MIN

typedef short  SWORD;
typedef unsigned short UWORD;
typedef long  DWORD;
typedef long  SDWORD;
typedef unsigned long UDWORD;
typedef char CHAR;
typedef unsigned char UCHAR;
typedef void *PTR;
typedef void *HWND;
typedef struct tagHKEY {
  FILE *fp;
  char *sec;
} *HKEY;
# define HKEY_CURRENT_USER ((HKEY) 0)
# define HKEY_LOCAL_MACHINE ((HKEY) 1)
# define KEY_ALL_ACCESS 0
# define REG_SZ 1
long RegOpenKeyEx (HKEY,char *,long , long, HKEY*);
long RegQueryValueEx (HKEY, const char *, long *,
                      long *, unsigned char*, unsigned long*);
long RegCloseKey (HKEY);
# define FAR
# define SQL_API


# endif

