~ubuntu-branches/ubuntu/hardy/gpe-expenses/hardy

« back to all changes in this revision

Viewing changes to doc/man/man3/qof-main.h.3

  • Committer: Bazaar Package Importer
  • Author(s): Neil Williams
  • Date: 2007-05-28 10:05:06 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070528100506-26ullrca8dydmsrf
Tags: 0.1.0-1
* New upstream release.
  New packages: Splitting the QofExpense and
  QofCurrency into a shared library with -dev, -dbg and -doc.
* gpe-expenses : [INTL:pt] Portuguese package translation
(Closes: #425080)
* [l10n] Czech translation of gpe-expenses (Closes: #426357)
* [INTL:de] initial German po file translation (Closes: #425306)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "qof-main.h" 3 "30 May 2007" "Version 0.1.0" "gpe-expenses" \" -*- nroff -*-
 
2
.ad l
 
3
.nh
 
4
.SH NAME
 
5
qof-main.h \- 
 
6
.SH "Detailed Description"
 
7
.PP 
 
8
Common functions for the QOF external framework. 
 
9
 
 
10
\fBAuthor:\fP
 
11
.RS 4
 
12
Copyright (c) 2005 Neil Williams <linux@codehelp.co.uk> 
 
13
.RE
 
14
.PP
 
15
 
 
16
.PP
 
17
Definition in file \fBqof-main.h\fP.
 
18
.SH SYNOPSIS
 
19
.br
 
20
.PP
 
21
.SS "Data Structures"
 
22
 
 
23
.in +1c
 
24
.ti -1c
 
25
.RI "struct \fBQofMain_s\fP"
 
26
.br
 
27
.RI "\fIThe qof-main context struct. \fP"
 
28
.in -1c
 
29
.SS "Defines"
 
30
 
 
31
.in +1c
 
32
.ti -1c
 
33
.RI "#define \fBERR_INDENT\fP   strlen(PACKAGE) + 2"
 
34
.br
 
35
.RI "\fIIndent error messages as paragraphs. \fP"
 
36
.ti -1c
 
37
.RI "#define \fBQOF_DATE_STRING_LENGTH\fP   MAX_DATE_LENGTH"
 
38
.br
 
39
.ti -1c
 
40
.RI "#define \fBQOF_MAIN_CLI\fP   'QOF-mod-command-line'"
 
41
.br
 
42
.ti -1c
 
43
.RI "#define \fBCATEGORY_NAME\fP   'category'"
 
44
.br
 
45
.RI "\fICategory name. \fP"
 
46
.ti -1c
 
47
.RI "#define \fBQSF_COMPRESS\fP   'compression_level'"
 
48
.br
 
49
.ti -1c
 
50
.RI "#define \fBQSF_ENCODING\fP   'encoding_string'"
 
51
.br
 
52
.ti -1c
 
53
.RI "#define \fBQSF_DATE_CONVERT\fP   'convert_date_to_time'"
 
54
.br
 
55
.ti -1c
 
56
.RI "#define \fBQOF_SQL_SUPPORTED\fP   '^SELECT|INSERT'"
 
57
.br
 
58
.ti -1c
 
59
.RI "#define \fBQOF_CLI_OPTIONS\fP"
 
60
.br
 
61
.RI "\fICommon QOF CLI options. \fP"
 
62
.ti -1c
 
63
.RI "#define \fBQOF_MAIN_OP\fP"
 
64
.br
 
65
.ti -1c
 
66
.RI "#define \fBQOF_OP_VARS\fP"
 
67
.br
 
68
.ti -1c
 
69
.RI "#define \fBQOF_OP_INIT\fP"
 
70
.br
 
71
.in -1c
 
72
.SS "Typedefs"
 
73
 
 
74
.in +1c
 
75
.ti -1c
 
76
.RI "typedef \fBQofMain_s\fP \fBQofMainContext\fP"
 
77
.br
 
78
.RI "\fIThe qof-main context struct. \fP"
 
79
.in -1c
 
80
.SS "Functions"
 
81
 
 
82
.in +1c
 
83
.ti -1c
 
84
.RI "void \fBqof_main_wrap_line\fP (FILE *fp, gint indent, const gchar *template_str,...) __attribute__((format(printf"
 
85
.br
 
86
.RI "\fIWrap long lines in popt-style. \fP"
 
87
.ti -1c
 
88
.RI "GSList * \fBqof_main_get_param_list\fP (QofIdTypeConst object_type, QofType param_type)"
 
89
.br
 
90
.RI "\fIList of all parameters for this object of one QOF type. \fP"
 
91
.ti -1c
 
92
.RI "gchar * \fBqof_main_make_utf8\fP (gchar *string)"
 
93
.br
 
94
.RI "\fIConvert strings received from the wrapped objects into UTF-8. \fP"
 
95
.ti -1c
 
96
.RI "glong \fBqof_mod_get_local_offset\fP (void)"
 
97
.br
 
98
.RI "\fIGet the gmt_off offset for this locale. \fP"
 
99
.ti -1c
 
100
.RI "void \fBqof_main_show_error\fP (QofSession *session)"
 
101
.br
 
102
.RI "\fIOutput error messages from QOF. \fP"
 
103
.ti -1c
 
104
.RI "void \fBqof_main_free\fP (\fBQofMainContext\fP *context)"
 
105
.br
 
106
.ti -1c
 
107
.RI "void \fBqof_cmd_xmlfile\fP (\fBQofMainContext\fP *context)"
 
108
.br
 
109
.ti -1c
 
110
.RI "void \fBqof_cmd_list\fP (void)"
 
111
.br
 
112
.RI "\fILists all databases supported by the current QOF framework. \fP"
 
113
.ti -1c
 
114
.RI "void \fBqof_mod_category\fP (const gchar *category, \fBQofMainContext\fP *data)"
 
115
.br
 
116
.RI "\fIShorthand to only query objects that are set to the specified category. \fP"
 
117
.ti -1c
 
118
.RI "void \fBqof_mod_database\fP (const gchar *database, \fBQofMainContext\fP *data)"
 
119
.br
 
120
.RI "\fIShorthand to only query objects within one specific supported database. \fP"
 
121
.ti -1c
 
122
.RI "void \fBqof_mod_time\fP (const gchar *date_time, \fBQofMainContext\fP *data)"
 
123
.br
 
124
.RI "\fIShorthand to only query objects that contain the specified date. \fP"
 
125
.ti -1c
 
126
.RI "void \fBqof_mod_exclude\fP (const gchar *exclude, \fBQofMainContext\fP *data)"
 
127
.br
 
128
.RI "\fIShorthand to exclude a supported database from the query. \fP"
 
129
.ti -1c
 
130
.RI "void \fBqof_mod_sql\fP (const gchar *sql_query, \fBQofMainContext\fP *data)"
 
131
.br
 
132
.RI "\fISpecify a SQL query on the command line. \fP"
 
133
.ti -1c
 
134
.RI "void \fBqof_mod_sql_file\fP (const gchar *sql_file, \fBQofMainContext\fP *data)"
 
135
.br
 
136
.RI "\fISpecify one or more SQL queries contained in a file. \fP"
 
137
.ti -1c
 
138
.RI "void \fBqof_mod_write\fP (const gchar *write_file, \fBQofMainContext\fP *data)"
 
139
.br
 
140
.RI "\fIWrite the results of any query to the file. \fP"
 
141
.ti -1c
 
142
.RI "void \fBqof_mod_compression\fP (gint64 gz_level, \fBQofMainContext\fP *context)"
 
143
.br
 
144
.ti -1c
 
145
.RI "void \fBqof_mod_encoding\fP (const gchar *encoding, \fBQofMainContext\fP *context)"
 
146
.br
 
147
.ti -1c
 
148
.RI "void \fBqof_mod_convert_deprecated\fP (gint64 convert, \fBQofMainContext\fP *context)"
 
149
.br
 
150
.ti -1c
 
151
.RI "void \fBqof_main_moderate_query\fP (\fBQofMainContext\fP *context)"
 
152
.br
 
153
.RI "\fIAssemble the components of the query. \fP"
 
154
.ti -1c
 
155
.RI "void \fBqof_cmd_explain\fP (\fBQofMainContext\fP *context)"
 
156
.br
 
157
.ti -1c
 
158
.RI "void \fBqof_main_select\fP (\fBQofMainContext\fP *context)"
 
159
.br
 
160
.in -1c
 
161
.SH "Author"
 
162
.PP 
 
163
Generated automatically by Doxygen for gpe-expenses from the source code.