# syberror.h

    00001 /* FreeTDS - Library of routines accessing Sybase and Microsoft databases
    00002  * Copyright (C) 1998-1999  Brian Bruns
    00003  *
    00004  * This library is free software; you can redistribute it and/or
    00005  * modify it under the terms of the GNU Library General Public
    00006  * License as published by the Free Software Foundation; either
    00007  * version 2 of the License, or (at your option) any later version.
    00008  *
    00009  * This library is distributed in the hope that it will be useful,
    00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012  * Library General Public License for more details.
    00013  *
    00014  * You should have received a copy of the GNU Library General Public
    00015  * License along with this library; if not, write to the
    00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017  * Boston, MA 02111-1307, USA.
    00018  */
    00019
    00020 #ifndef _syberror_h_
    00021 #define _syberror_h_
    00022
    00023 #ifdef __cplusplus
    00024 extern "C"
    00025 {
    00026 #if 0
    00027 }
    00028 #endif
    00029 #endif
    00030
    00031 static const char rcsid_syberror_h[] = "$Id: syberror.h,v 1.4 2004/10/28 12:42:12 freddy77 Exp $";
    00032 static const void *const no_unused_syberror_h_warn[] = { rcsid_syberror_h, no_unused_syberror_h_warn };
    00033
    00034 /* severity levels, gleaned from google */
    00035 #define EXINFO         1
    00036 #define EXUSER         2
    00037 #define EXNONFATAL     3
    00038 #define EXCONVERSION   4
    00039 #define EXSERVER       5
    00040 #define EXTIME         6
    00041 #define EXPROGRAM      7
    00042 #define EXRESOURCE     8
    00043 #define EXCOMM         9
    00044 #define EXFATAL       10
    00045 #define EXCONSISTENCY 11
    00046
    00047 #ifdef __cplusplus
    00048 #if 0
    00049 {
    00050 #endif
    00051 }
    00052 #endif
    00053
    00054 #endif