File: ofx2qif_8c.html

package info (click to toggle)
libofx 1%3A0.9.10-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 11,128 kB
  • sloc: sh: 11,428; cpp: 6,242; ansic: 2,459; makefile: 170; xml: 61
file content (121 lines) | stat: -rw-r--r-- 7,298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>LibOFX: ofx2qif.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LibOFX
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('ofx2qif_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ofx2qif.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Code for ofx2qif utility. C example code.  
<a href="#details">More...</a></p>

<p><a href="ofx2qif_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a746e398756fe4d68b06e3bbd1418402a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a746e398756fe4d68b06e3bbd1418402a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>QIF_FILE_MAX_SIZE</b>&#160;&#160;&#160;256000</td></tr>
<tr class="separator:a746e398756fe4d68b06e3bbd1418402a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7850aaa7c07cabcacb6849e82f773463"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7850aaa7c07cabcacb6849e82f773463"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>ofx_proc_transaction_cb</b> (const struct <a class="el" href="structOfxTransactionData.html">OfxTransactionData</a> data, void *transaction_data)</td></tr>
<tr class="separator:a7850aaa7c07cabcacb6849e82f773463"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f46bf3d68bbd9cc9d6471d310168b45"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f46bf3d68bbd9cc9d6471d310168b45"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>ofx_proc_statement_cb</b> (const struct <a class="el" href="structOfxStatementData.html">OfxStatementData</a> data, void *statement_data)</td></tr>
<tr class="separator:a8f46bf3d68bbd9cc9d6471d310168b45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38eb5d0ff22f171823f8d507255460bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38eb5d0ff22f171823f8d507255460bd"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>ofx_proc_account_cb</b> (const struct <a class="el" href="structOfxAccountData.html">OfxAccountData</a> data, void *account_data)</td></tr>
<tr class="separator:a38eb5d0ff22f171823f8d507255460bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>main</b> (int argc, char *argv[])</td></tr>
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Code for ofx2qif utility. C example code. </p>
<p>ofx2qif is a OFX "file" to QIF (Quicken Interchange Format) converter. It was written as a second code example, and as a way for LibOFX to immediately provide something usefull, and to give people a reason to try the library. It is not recommended that financial software use the output of this utility for OFX support. The QIF file format is very primitive, and much information is lost. The utility curently supports every tansaction tags of the QIF format except the address lines, and supports many of the !Account tags. It should generate QIF files that will import sucesfully in just about every software with QIF support.</p>
<p>I do not plan on improving working this utility much further, however be I would be more than happy to accept contributions. If you are interested in hacking on ofx2qif, links to QIF documentation are available on the LibOFX home page.</p>
<p>ofx2qif is meant to be the C code example and demo of the library. It uses many of the functions and structures of the LibOFX API. Note that unlike ofxdump, all error output is disabled by default.</p>
<p>usage: ofx2qif path_to_ofx_file/ofx_filename &gt; output_filename.qif </p>

<p>Definition in file <a class="el" href="ofx2qif_8c_source.html">ofx2qif.c</a>.</p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_fc5f19fb153334f2775e4db87bcc97a7.html">ofx2qif</a></li><li class="navelem"><a class="el" href="ofx2qif_8c.html">ofx2qif.c</a></li>
    <li class="footer">Generated on Fri Sep 12 2014 15:59:20 for LibOFX by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>