GnuCash c935c2f+
Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations | Functions
dialog-customer-import.h File Reference

core import functions for customer import plugin More...

#include <glib.h>
#include <gtk/gtk.h>

Go to the source code of this file.

Data Structures

struct  customer_import_stats
 

Typedefs

typedef enum _customer_import_result customer_import_result
 

Enumerations

enum  customer_import_model_columns {
  CI_ID , CI_COMPANY , CI_NAME , CI_ADDR1 ,
  CI_ADDR2 , CI_ADDR3 , CI_ADDR4 , CI_PHONE ,
  CI_FAX , CI_EMAIL , CI_NOTES , CI_SHIPNAME ,
  CI_SHIPADDR1 , CI_SHIPADDR2 , CI_SHIPADDR3 , CI_SHIPADDR4 ,
  CI_SHIPPHONE , CI_SHIPFAX , CI_SHIPEMAIL , CI_N_COLUMNS
}
 
enum  _customer_import_result { CI_RESULT_OK , CI_RESULT_OPEN_FAILED , CI_RESULT_ERROR_IN_REGEXP }
 

Functions

customer_import_result gnc_customer_import_read_file (const gchar *filename, const gchar *parser_regexp, GtkListStore *store, guint max_rows, customer_import_stats *stats)
 
void gnc_customer_import_fix_customers (GtkListStore *store, guint *fixed, guint *deleted, gchar *type)
 
void gnc_customer_import_create_customers (GtkListStore *store, QofBook *book, guint *n_customers_created, guint *n_customers_updated, gchar *type)
 

Detailed Description

core import functions for customer import plugin

Author
Copyright (C) 2009 Sebastian Held sebas.nosp@m.tian.nosp@m..held.nosp@m.@gmx.nosp@m..de

Definition in file dialog-customer-import.h.