1 /** utils.h 2 * 3 * This program is free software; you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published by 5 * the Free Software Foundation; either version 2 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program; if not, write to the Free Software 15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 16 * MA 02110-1301, USA. 17 * 18 * Developed from code written by Sebastian Held <sebastian.held@gmx.de> 19 * as part of his invoice importer module 20 * Mike Evans <mikee@saxicola.co.uk> 21 * 22 **********************************************************************/ 23 #include <config.h> 24 #include <glib/gi18n.h> 25 #include <regex.h> 26 #include <glib.h> 27 #include <glib/gstdio.h> 28 #include "qof.h" 29 //#include "gncAddressP.h" 30 #include "gncCustomerP.h" 31 //#include "gncCustomer.h" 32 #include "gncInvoice.h" 33 #include "gncBusiness.h" 34 // query 35 36 37 #ifndef GNC_invoice_import_invoice_import_H 38 #define GNC_invoice_import_invoice_import_H 39 40 41 GncCustomer * gnc_search_customer_on_id (QofBook *book, const gchar *id); 42 GncInvoice * gnc_search_invoice_on_id (QofBook *book, const gchar *id); 43 GncInvoice * gnc_search_bill_on_id (QofBook *book, const gchar *id); 44 GncVendor * gnc_search_vendor_on_id (QofBook *book, const gchar *id); 45 46 #endif 47