]>
git.saurik.com Git - wxWidgets.git/blob - src/iodbc/herr.h
   6  *  Error stack management functions 
   8  *  The iODBC driver manager. 
  10  *  Copyright (C) 1995 by Ke Jin <kejin@empress.com>  
  12  *  This library is free software; you can redistribute it and/or 
  13  *  modify it under the terms of the GNU Library General Public 
  14  *  License as published by the Free Software Foundation; either 
  15  *  version 2 of the License, or (at your option) any later version. 
  17  *  This library is distributed in the hope that it will be useful, 
  18  *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
  19  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
  20  *  Library General Public License for more details. 
  22  *  You should have received a copy of the GNU Library General Public 
  23  *  License along with this library; if not, write to the Free 
  24  *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
 126 typedef void FAR 
*HERR
; 
 127 #define SQL_NULL_HERR   ((HERR)NULL) 
 137 typedef struct sqlerr
 
 146 extern void _iodbcdm_freesqlerrlist (HERR herr
); 
 147 extern HERR 
_iodbcdm_pushsqlerr (HERR list
, sqlstcode_t code
, char *sysmsg
); 
 149 #define PUSHSYSERR(list, msg)   \ 
 150                         list = (HERR)_iodbcdm_pushsqlerr( (HERR)(list), 0, (char*)msg ) 
 151 #define PUSHSQLERR(list, code)  \ 
 152                         list = (HERR)_iodbcdm_pushsqlerr( (HERR)(list), (int)(code), NULL ) 
 153 #endif /* _SQLERR_H */