1 /* 2 * Copyright (C) 2001 Carlos Perelló Marín <carlos@gnome-db.org> 3 * Copyright (C) 2001 - 2003 Rodrigo Moya <rodrigo@gnome-db.org> 4 * Copyright (C) 2001 - 2012 Vivien Malerba <malerba@gnome-db.org> 5 * Copyright (C) 2002 - 2003 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> 6 * Copyright (C) 2005 Cygwin Ports Maintainer <yselkowitz@users.sourceforge.net> 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public 10 * License as published by the Free Software Foundation; either 11 * version 2 of the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with this library; if not, write to the 20 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 21 * Boston, MA 02110-1301, USA. 22 */ 23 /* GDA firebird provider 24 * Copyright (C) 2008 The GNOME Foundation. 25 * 26 * AUTHORS: 27 * Vivien Malerba <malerba@gnome-db.org> 28 * 29 * This Library is free software; you can redistribute it and/or 30 * modify it under the terms of the GNU Library General Public License as 31 * published by the Free Software Foundation; either version 2 of the 32 * License, or (at your option) any later version. 33 * 34 * This Library is distributed in the hope that it will be useful, 35 * but WITHOUT ANY WARRANTY; without even the implied warranty of 36 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 37 * Library General Public License for more details. 38 * 39 * You should have received a copy of the GNU Library General Public 40 * License along with this Library; see the file COPYING.LIB. If not, 41 * write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 42 * Boston, MA 02110-1301, USA. 43 */ 44 45 #ifndef __GDA_FIREBIRD_H__ 46 #define __GDA_FIREBIRD_H__ 47 48 /* 49 * Provider name 50 */ 51 #define FIREBIRD_PROVIDER_NAME "Firebird" 52 53 #include <libgda/libgda.h> 54 #include <ibase.h> 55 56 /* 57 * Provider's specific connection data 58 */ 59 60 typedef struct 61 { 62 gchar *dpb; 63 isc_db_handle handle; 64 65 gchar *dbname; 66 gchar *server_version; 67 68 ISC_STATUS_ARRAY status; 69 isc_tr_handle *ftr; 70 } FirebirdConnectionData; 71 72 #endif 73