1 /* MDB Tools - A library for reading MS Access database files 2 * Copyright (C) 2000 Brian Bruns 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Library General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Library General Public License for more details. 13 * 14 * You should have received a copy of the GNU Library General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 #ifndef MDBPRIVATE_H 20 #define MDBPRIVATE_H 21 22 #include "mdbtools.h" 23 24 /* 25 * This header is for stuff lacking a MDB_ or mdb_ something, or functions only 26 * used within mdbtools so they won't be exported to calling programs. 27 */ 28 29 #ifndef HAVE_G_MEMDUP2 30 #define g_memdup2 g_memdup 31 #endif 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 void mdbi_rc4(unsigned char *key, guint32 key_len, unsigned char *buf, guint32 buf_len); 38 MdbBackend *mdbi_register_backend2(MdbHandle *mdb, char *backend_name, guint32 capabilities, 39 const MdbBackendType *backend_type, 40 const MdbBackendType *type_shortdate, 41 const MdbBackendType *type_autonum, 42 const char *short_now, const char *long_now, 43 const char *date_fmt, const char *shortdate_fmt, 44 const char *charset_statement, const char *create_table_statement, 45 const char *drop_statement, const char *constaint_not_empty_statement, 46 const char *column_comment_statement, const char *per_column_comment_statement, 47 const char *table_comment_statement, const char *per_table_comment_statement, 48 gchar* (*quote_schema_name)(const gchar*, const gchar*), 49 gchar* (*normalise_case)(const gchar*)); 50 51 #ifdef __cplusplus 52 } 53 #endif 54 55 #endif 56