convert.h
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: convert.h,v $
- * PRODUCTION Revision 1000.0 2003/10/29 20:33:38 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.1
- * PRODUCTION
- * ===========================================================================
- */
- /* FreeTDS - Library of routines accessing Sybase and Microsoft databases
- * Copyright (C) 1998-1999 Brian Bruns
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library 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 CONVERT_h
- #define CONVERT_h
- static char rcsid_convert_h [ ] =
- "$Id: convert.h,v 1000.0 2003/10/29 20:33:38 gouriano Exp $";
- static void *no_unused_convert_h_warn[]={rcsid_convert_h,
- no_unused_convert_h_warn};
- extern DBINT _convert_money(int srctype,BYTE *src,
- int desttype,BYTE *dest,DBINT destlen);
- extern DBINT _convert_bit(int srctype,BYTE *src,
- int desttype,BYTE *dest,DBINT destlen);
- extern DBINT _convert_int1(int srctype,BYTE *src,
- int desttype,BYTE *dest,DBINT destlen);
- extern DBINT _convert_int2(int srctype,BYTE *src,
- int desttype,BYTE *dest,DBINT destlen);
- extern DBINT _convert_int4(int srctype,BYTE *src,
- int desttype,BYTE *dest,DBINT destlen);
- extern DBINT _convert_flt8(int srctype,BYTE *src,int desttype,BYTE *dest,DBINT destlen);
- extern DBINT _convert_datetime(int srctype,BYTE *src,int desttype,BYTE *dest,DBINT destlen);
- extern int _get_conversion_type(int srctype, int colsize);
- #endif