GnuCash  5.6-150-g038405b370+
import-commodity-matcher.h
Go to the documentation of this file.
1 /********************************************************************\
2  * This program is free software; you can redistribute it and/or *
3  * modify it under the terms of the GNU General Public License as *
4  * published by the Free Software Foundation; either version 2 of *
5  * the License, or (at your option) any later version. *
6  * *
7  * This program is distributed in the hope that it will be useful, *
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
10  * GNU General Public License for more details. *
11  * *
12  * You should have received a copy of the GNU General Public License*
13  * along with this program; if not, contact: *
14  * *
15  * Free Software Foundation Voice: +1-617-542-5942 *
16  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
17  * Boston, MA 02110-1301, USA gnu@gnu.org *
18 \********************************************************************/
25 #ifndef IMPORT_COMMODITY_MATCHER_H
26 #define IMPORT_COMMODITY_MATCHER_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 #include "gnc-commodity.h"
33 
65 gnc_commodity * gnc_import_select_commodity(const char * cusip,
66  gboolean ask_on_unknown,
67  const char * default_fullname,
68  const char * default_mnemonic);
69 
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #endif
76 
gnc_commodity * gnc_import_select_commodity(const char *cusip, gboolean ask_on_unknown, const char *default_fullname, const char *default_mnemonic)
Must be called with a string containing a unique identifier for the commodity.
Commodity handling public routines.