/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef CONNECTIVITY_FIREBIRD_UTIL_HXX #define CONNECTIVITY_FIREBIRD_UTIL_HXX #include #include #include namespace connectivity { namespace firebird { sal_Int32 getColumnTypeFromFBType(short aType); ::rtl::OUString getColumnTypeNameFromFBType(short aType); /** * Internally (i.e. in RDB$FIELD_TYPE) firebird stores the data type * for a column as defined in blr_*, however in the firebird * api the SQL_* types are used, hence we need to be able to convert * between the two when retrieving column metadata. */ short getFBTypeFromBlrType(short blrType); void mallocSQLVAR(XSQLDA* pSqlda); // void freeSQLVAR(XSQLDA* pSqlda); } } #endif //CONNECTIVITY_FIREBIRD_UTIL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */