1
/* Free ISQL - An isql for DB-Library (C) 2007 Nicholas S. Castellano
3
* This program is free software; you can redistribute it and/or
4
* modify it under the terms of the GNU General Public
5
* License as published by the Free Software Foundation; either
6
* version 2 of the License, or (at your option) any later version.
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Library General Public License for more details.
13
* You should have received a copy of the GNU General Public
14
* License along with this library; if not, write to the
15
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16
* Boston, MA 02111-1307, USA.
19
/* $Id: handlers.h,v 1.4 2007/01/20 06:32:27 castellano Exp $ */
20
extern int global_errorlevel;
22
int err_handler(DBPROCESS * dbproc, int severity, int dberr, int oserr, char *dberrstr, char *oserrstr);
24
int msg_handler(DBPROCESS * dbproc, DBINT msgno, int msgstate,
25
int severity, char *msgtext, char *srvname, char *procname, int line);