Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

# handlers.h

    00001 /* Free ISQL - An isql for DB-Library (C) 2007 Nicholas S. Castellano
    00002  *
    00003  * This program  is free software; you can redistribute it and/or
    00004  * modify it under the terms of the GNU General Public
    00005  * License as published by the Free Software Foundation; either
    00006  * version 2 of the License, or (at your option) any later version.
    00007  *
    00008  * This library is distributed in the hope that it will be useful,
    00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00011  * Library General Public License for more details.
    00012  *
    00013  * You should have received a copy of the GNU General Public
    00014  * License along with this library; if not, write to the
    00015  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00016  * Boston, MA 02111-1307, USA.
    00017  */
    00018
    00019 /*      $Id: handlers.h,v 1.4 2007/01/20 06:32:27 castellano Exp $      */
    00020 extern int global_errorlevel;
    00021
    00022 int err_handler(DBPROCESS * dbproc, int severity, int dberr, int oserr, char *dberrstr, char *oserrstr);
    00023
    00024 int msg_handler(DBPROCESS * dbproc, DBINT msgno, int msgstate,
    00025                 int severity, char *msgtext, char *srvname, char *procname, int line);