File indexing completed on 2025-02-23 05:15:11

0001 //
0002 // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton, Rafal Bobrowski
0003 // Distributed under the Boost Software License, Version 1.0.
0004 // (See accompanying file LICENSE_1_0.txt or copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 
0008 #ifndef SOCI_FIREBIRD_ERROR_H_INCLUDED
0009 #define SOCI_FIREBIRD_ERROR_H_INCLUDED
0010 
0011 #include "soci/firebird/soci-firebird.h"
0012 #include <string>
0013 
0014 namespace soci
0015 {
0016 
0017 namespace details
0018 {
0019 
0020 namespace firebird
0021 {
0022 
0023 void SOCI_FIREBIRD_DECL get_iscerror_details(ISC_STATUS * status_vector, std::string &msg);
0024 
0025 bool SOCI_FIREBIRD_DECL check_iscerror(ISC_STATUS const * status_vector, long errNum);
0026 
0027 void SOCI_FIREBIRD_DECL throw_iscerror(ISC_STATUS * status_vector);
0028 
0029 } // namespace firebird
0030 
0031 } // namespace details
0032 
0033 } // namespace soci
0034 
0035 #endif // SOCI_FIREBIRD_ERROR_H_INCLUDED