49
37
</tr></table></div>
50
38
<div class="refsynopsisdiv" title="Synopsis">
51
39
<a name="libgimp-gimpproceduraldb.synopsis"></a><h2>Synopsis</h2>
52
<pre class="synopsis">
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
55
>gchar</a>* <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-temp-name" title="gimp_procedural_db_temp_name ()">gimp_procedural_db_temp_name</a> (void);
57
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
58
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-get-data" title="gimp_procedural_db_get_data ()">gimp_procedural_db_get_data</a> (const <a
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
60
>gchar</a> *identifier,
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
66
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-set-data" title="gimp_procedural_db_set_data ()">gimp_procedural_db_set_data</a> (const <a
67
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
68
>gchar</a> *identifier,
70
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
71
>gconstpointer</a> data,
73
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
76
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
77
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-dump" title="gimp_procedural_db_dump ()">gimp_procedural_db_dump</a> (const <a
78
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
79
>gchar</a> *filename);
81
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
82
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-query" title="gimp_procedural_db_query ()">gimp_procedural_db_query</a> (const <a
83
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
89
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
92
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
95
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
96
>gchar</a> *copyright,
98
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
101
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
102
>gchar</a> *proc_type,
104
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
105
>gint</a> *num_matches,
107
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
108
>gchar</a> ***procedure_names);
110
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
111
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-exists" title="gimp_procedural_db_proc_exists ()">gimp_procedural_db_proc_exists</a> (const <a
112
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
113
>gchar</a> *procedure_name);
115
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
116
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-info" title="gimp_procedural_db_proc_info ()">gimp_procedural_db_proc_info</a> (const <a
117
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
118
>gchar</a> *procedure,
120
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
123
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
126
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
129
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
130
>gchar</a> **copyright,
132
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
135
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBProcType"
136
>GimpPDBProcType</a> *proc_type,
138
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
141
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
142
>gint</a> *num_values,
143
<a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef">GimpParamDef</a> **args,
144
<a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef">GimpParamDef</a> **return_vals);
146
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
147
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-arg" title="gimp_procedural_db_proc_arg ()">gimp_procedural_db_proc_arg</a> (const <a
148
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
149
>gchar</a> *procedure_name,
151
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
154
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBArgType"
155
>GimpPDBArgType</a> *arg_type,
157
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
158
>gchar</a> **arg_name,
160
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
161
>gchar</a> **arg_desc);
163
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
164
>gboolean</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-val" title="gimp_procedural_db_proc_val ()">gimp_procedural_db_proc_val</a> (const <a
165
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
166
>gchar</a> *procedure_name,
168
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
171
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBArgType"
172
>GimpPDBArgType</a> *val_type,
174
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
175
>gchar</a> **val_name,
177
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
178
>gchar</a> **val_desc);
180
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
181
>gint</a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-get-data-size" title="gimp_procedural_db_get_data_size ()">gimp_procedural_db_get_data_size</a> (const <a
182
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
183
>gchar</a> *identifier);
40
<pre class="synopsis"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-temp-name" title="gimp_procedural_db_temp_name ()">gimp_procedural_db_temp_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
41
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-get-data" title="gimp_procedural_db_get_data ()">gimp_procedural_db_get_data</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>,
42
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
43
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-set-data" title="gimp_procedural_db_set_data ()">gimp_procedural_db_set_data</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>,
44
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
45
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> bytes</code></em>);
46
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-dump" title="gimp_procedural_db_dump ()">gimp_procedural_db_dump</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
47
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-query" title="gimp_procedural_db_query ()">gimp_procedural_db_query</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
48
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
49
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *help</code></em>,
50
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *author</code></em>,
51
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *copyright</code></em>,
52
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *date</code></em>,
53
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *proc_type</code></em>,
54
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_matches</code></em>,
55
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***procedure_names</code></em>);
56
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-exists" title="gimp_procedural_db_proc_exists ()">gimp_procedural_db_proc_exists</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *procedure_name</code></em>);
57
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-info" title="gimp_procedural_db_proc_info ()">gimp_procedural_db_proc_info</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *procedure</code></em>,
58
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **blurb</code></em>,
59
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **help</code></em>,
60
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **author</code></em>,
61
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **copyright</code></em>,
62
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **date</code></em>,
63
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBProcType"><span class="type">GimpPDBProcType</span></a> *proc_type</code></em>,
64
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_args</code></em>,
65
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_values</code></em>,
66
<em class="parameter"><code><a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef"><span class="type">GimpParamDef</span></a> **args</code></em>,
67
<em class="parameter"><code><a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef"><span class="type">GimpParamDef</span></a> **return_vals</code></em>);
68
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-arg" title="gimp_procedural_db_proc_arg ()">gimp_procedural_db_proc_arg</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *procedure_name</code></em>,
69
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg_num</code></em>,
70
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBArgType"><span class="type">GimpPDBArgType</span></a> *arg_type</code></em>,
71
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **arg_name</code></em>,
72
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **arg_desc</code></em>);
73
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-proc-val" title="gimp_procedural_db_proc_val ()">gimp_procedural_db_proc_val</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *procedure_name</code></em>,
74
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> val_num</code></em>,
75
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBArgType"><span class="type">GimpPDBArgType</span></a> *val_type</code></em>,
76
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **val_name</code></em>,
77
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **val_desc</code></em>);
78
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgimp-gimpproceduraldb.html#gimp-procedural-db-get-data-size" title="gimp_procedural_db_get_data_size ()">gimp_procedural_db_get_data_size</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>);
186
81
<div class="refsect1" title="Description">
259
144
<div class="refsect2" title="gimp_procedural_db_set_data ()">
260
145
<a name="gimp-procedural-db-set-data"></a><h3>gimp_procedural_db_set_data ()</h3>
261
<pre class="programlisting"><a
262
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
263
>gboolean</a> gimp_procedural_db_set_data (const <a
264
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
265
>gchar</a> *identifier,
267
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
268
>gconstpointer</a> data,
270
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
271
>guint32</a> bytes);</pre>
146
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_procedural_db_set_data (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>,
147
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
148
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> bytes</code></em>);</pre>
273
150
Associates the specified identifier with the supplied data.
276
153
This procedure associates the supplied data with the provided
277
154
identifier. The data may be subsequently retrieved by a call to
278
'procedural-db-get-data'.</p>
155
'procedural-db-get-data'.
281
157
<div class="variablelist"><table border="0">
282
158
<col align="left" valign="top">
285
161
<td><p><span class="term"><em class="parameter"><code>identifier</code></em> :</span></p></td>
286
<td> The identifier associated with data.
162
<td>The identifier associated with data.
290
166
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
291
<td> A byte array containing data.
167
<td>A byte array containing data.
295
171
<td><p><span class="term"><em class="parameter"><code>bytes</code></em> :</span></p></td>
296
<td> The number of bytes in the data
172
<td>The number of bytes in the data
341
212
<div class="refsect2" title="gimp_procedural_db_query ()">
342
213
<a name="gimp-procedural-db-query"></a><h3>gimp_procedural_db_query ()</h3>
343
<pre class="programlisting"><a
344
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
345
>gboolean</a> gimp_procedural_db_query (const <a
346
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
349
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
352
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
355
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
358
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
359
>gchar</a> *copyright,
361
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
364
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
365
>gchar</a> *proc_type,
367
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
368
>gint</a> *num_matches,
370
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
371
>gchar</a> ***procedure_names);</pre>
214
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_procedural_db_query (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
215
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
216
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *help</code></em>,
217
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *author</code></em>,
218
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *copyright</code></em>,
219
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *date</code></em>,
220
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *proc_type</code></em>,
221
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_matches</code></em>,
222
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***procedure_names</code></em>);</pre>
373
224
Queries the procedural database for its contents using regular
374
225
expression matching.
385
236
query. The second is a concatenated list of procedure names
386
237
corresponding to those matching the query. If no matching entries
387
238
are found, then the returned string is NULL and the number of
391
241
<div class="variablelist"><table border="0">
392
242
<col align="left" valign="top">
395
245
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
396
<td> The regex for procedure name.
246
<td>The regex for procedure name.
400
250
<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td>
401
<td> The regex for procedure blurb.
251
<td>The regex for procedure blurb.
405
255
<td><p><span class="term"><em class="parameter"><code>help</code></em> :</span></p></td>
406
<td> The regex for procedure help.
256
<td>The regex for procedure help.
410
260
<td><p><span class="term"><em class="parameter"><code>author</code></em> :</span></p></td>
411
<td> The regex for procedure author.
261
<td>The regex for procedure author.
415
265
<td><p><span class="term"><em class="parameter"><code>copyright</code></em> :</span></p></td>
416
<td> The regex for procedure copyright.
266
<td>The regex for procedure copyright.
420
270
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
421
<td> The regex for procedure date.
271
<td>The regex for procedure date.
425
275
<td><p><span class="term"><em class="parameter"><code>proc_type</code></em> :</span></p></td>
426
<td> The regex for procedure type: { 'Internal GIMP procedure', 'GIMP Plug-In', 'GIMP Extension', 'Temporary Procedure' }.
276
<td>The regex for procedure type: { 'Internal GIMP procedure', 'GIMP Plug-In', 'GIMP Extension', 'Temporary Procedure' }.
430
280
<td><p><span class="term"><em class="parameter"><code>num_matches</code></em> :</span></p></td>
431
<td> The number of matching procedures.
281
<td>The number of matching procedures.
435
285
<td><p><span class="term"><em class="parameter"><code>procedure_names</code></em> :</span></p></td>
436
<td> The list of procedure names.
286
<td>The list of procedure names.
482
327
<div class="refsect2" title="gimp_procedural_db_proc_info ()">
483
328
<a name="gimp-procedural-db-proc-info"></a><h3>gimp_procedural_db_proc_info ()</h3>
484
<pre class="programlisting"><a
485
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
486
>gboolean</a> gimp_procedural_db_proc_info (const <a
487
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
488
>gchar</a> *procedure,
490
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
493
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
496
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
499
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
500
>gchar</a> **copyright,
502
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
505
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBProcType"
506
>GimpPDBProcType</a> *proc_type,
508
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
511
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
512
>gint</a> *num_values,
513
<a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef">GimpParamDef</a> **args,
514
<a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef">GimpParamDef</a> **return_vals);</pre>
329
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_procedural_db_proc_info (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *procedure</code></em>,
330
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **blurb</code></em>,
331
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **help</code></em>,
332
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **author</code></em>,
333
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **copyright</code></em>,
334
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **date</code></em>,
335
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBProcType"><span class="type">GimpPDBProcType</span></a> *proc_type</code></em>,
336
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_args</code></em>,
337
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_values</code></em>,
338
<em class="parameter"><code><a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef"><span class="type">GimpParamDef</span></a> **args</code></em>,
339
<em class="parameter"><code><a class="link" href="libgimp-gimp.html#GimpParamDef" title="GimpParamDef"><span class="type">GimpParamDef</span></a> **return_vals</code></em>);</pre>
516
341
Queries the procedural database for information on the specified
521
346
short blurb, detailed help, author(s), copyright information,
522
347
procedure type, number of input, and number of return values are
523
348
returned. Additionally this function returns specific information
524
about each input argument and return value.</p>
349
about each input argument and return value.
527
351
<div class="variablelist"><table border="0">
528
352
<col align="left" valign="top">
531
355
<td><p><span class="term"><em class="parameter"><code>procedure</code></em> :</span></p></td>
532
<td> The procedure name.
356
<td>The procedure name.
536
360
<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td>
541
365
<td><p><span class="term"><em class="parameter"><code>help</code></em> :</span></p></td>
542
<td> Detailed procedure help.
366
<td>Detailed procedure help.
546
370
<td><p><span class="term"><em class="parameter"><code>author</code></em> :</span></p></td>
547
<td> Author(s) of the procedure.
371
<td>Author(s) of the procedure.
551
375
<td><p><span class="term"><em class="parameter"><code>copyright</code></em> :</span></p></td>
556
380
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
561
385
<td><p><span class="term"><em class="parameter"><code>proc_type</code></em> :</span></p></td>
562
<td> The procedure type.
386
<td>The procedure type.
566
390
<td><p><span class="term"><em class="parameter"><code>num_args</code></em> :</span></p></td>
567
<td> The number of input arguments.
391
<td>The number of input arguments.
571
395
<td><p><span class="term"><em class="parameter"><code>num_values</code></em> :</span></p></td>
572
<td> The number of return values.
396
<td>The number of return values.
576
400
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
577
<td> The input arguments.
401
<td>The input arguments.
581
405
<td><p><span class="term"><em class="parameter"><code>return_vals</code></em> :</span></p></td>
582
<td> The return values.
406
<td>The return values.
594
418
<div class="refsect2" title="gimp_procedural_db_proc_arg ()">
595
419
<a name="gimp-procedural-db-proc-arg"></a><h3>gimp_procedural_db_proc_arg ()</h3>
596
<pre class="programlisting"><a
597
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
598
>gboolean</a> gimp_procedural_db_proc_arg (const <a
599
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
600
>gchar</a> *procedure_name,
602
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
605
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBArgType"
606
>GimpPDBArgType</a> *arg_type,
608
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
609
>gchar</a> **arg_name,
611
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
612
>gchar</a> **arg_desc);</pre>
420
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_procedural_db_proc_arg (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *procedure_name</code></em>,
421
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg_num</code></em>,
422
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpPDBArgType"><span class="type">GimpPDBArgType</span></a> *arg_type</code></em>,
423
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **arg_name</code></em>,
424
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **arg_desc</code></em>);</pre>
614
426
Queries the procedural database for information on the specified
615
427
procedure's argument.
618
430
This procedure returns information on the specified procedure's
619
argument. The argument type, name, and a description are retrieved.</p>
431
argument. The argument type, name, and a description are retrieved.
622
433
<div class="variablelist"><table border="0">
623
434
<col align="left" valign="top">
626
437
<td><p><span class="term"><em class="parameter"><code>procedure_name</code></em> :</span></p></td>
627
<td> The procedure name.
438
<td>The procedure name.
631
442
<td><p><span class="term"><em class="parameter"><code>arg_num</code></em> :</span></p></td>
632
<td> The argument number.
443
<td>The argument number.
636
447
<td><p><span class="term"><em class="parameter"><code>arg_type</code></em> :</span></p></td>
637
<td> The type of argument.
448
<td>The type of argument.
641
452
<td><p><span class="term"><em class="parameter"><code>arg_name</code></em> :</span></p></td>
642
<td> The name of the argument.
453
<td>The name of the argument.
646
457
<td><p><span class="term"><em class="parameter"><code>arg_desc</code></em> :</span></p></td>
647
<td> A description of the argument.
458
<td>A description of the argument.