~ubuntu-branches/ubuntu/karmic/swfdec0.6/karmic

« back to all changes in this revision

Viewing changes to doc/xml/SwfdecURL.xml

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Garcia Mantinan
  • Date: 2008-07-29 23:30:05 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080729233005-k05tu7pnfyb8vcog
Tags: 0.6.8-1
* New upstream version. Fixes several crashes.
* Setting urgency as high to try to get all these fixes to lenny.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
4
4
<refentry id="swfdec-SwfdecURL">
5
5
<refmeta>
6
 
<refentrytitle role="top_of_page">SwfdecURL</refentrytitle>
 
6
<refentrytitle role="top_of_page" id="swfdec-SwfdecURL.top_of_page">SwfdecURL</refentrytitle>
7
7
<manvolnum>3</manvolnum>
8
8
<refmiscinfo>SWFDEC Library</refmiscinfo>
9
9
</refmeta>
14
14
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
15
15
</refnamediv>
16
16
 
17
 
<refsynopsisdiv role="synopsis">
 
17
<refsynopsisdiv id="swfdec-SwfdecURL.synopsis" role="synopsis">
18
18
<title role="synopsis.title">Synopsis</title>
19
19
 
20
20
<synopsis>
21
21
 
22
22
#include &lt;swfdec/swfdec.h&gt;
23
23
 
24
 
 
25
24
                    <link linkend="SwfdecURL">SwfdecURL</link>;
26
25
<link linkend="SwfdecURL">SwfdecURL</link>*          <link linkend="swfdec-url-new">swfdec_url_new</link>                      (const <link linkend="char">char</link> *string);
27
26
<link linkend="SwfdecURL">SwfdecURL</link>*          <link linkend="swfdec-url-new-from-input">swfdec_url_new_from_input</link>           (const <link linkend="char">char</link> *input);
51
50
                                                         <link linkend="gconstpointer">gconstpointer</link> b);
52
51
<link linkend="guint">guint</link>               <link linkend="swfdec-url-hash">swfdec_url_hash</link>                     (<link linkend="gconstpointer">gconstpointer</link> url);
53
52
<link linkend="gboolean">gboolean</link>            <link linkend="swfdec-url-path-is-relative">swfdec_url_path_is_relative</link>         (const <link linkend="char">char</link> *path);
54
 
 
55
53
</synopsis>
56
54
</refsynopsisdiv>
57
55
 
63
61
 
64
62
 
65
63
 
66
 
<refsect1 role="desc">
 
64
<refsect1 id="swfdec-SwfdecURL.description" role="desc">
67
65
<title role="desc.title">Description</title>
68
66
<para>
69
67
SwfdecURL is Swfdec's way of handling URLs. You probably don't need to mess 
78
76
</para>
79
77
</refsect1>
80
78
 
81
 
<refsect1 role="details">
 
79
<refsect1 id="swfdec-SwfdecURL.details" role="details">
82
80
<title role="details.title">Details</title>
83
 
<refsect2>
84
 
<title><anchor id="SwfdecURL" role="struct"/>SwfdecURL</title>
85
 
<indexterm><primary>SwfdecURL</primary></indexterm><programlisting>typedef struct _SwfdecURL SwfdecURL;</programlisting>
 
81
<refsect2 id="SwfdecURL" role="struct">
 
82
<title>SwfdecURL</title>
 
83
<indexterm zone="SwfdecURL"><primary>SwfdecURL</primary></indexterm><programlisting>typedef struct _SwfdecURL SwfdecURL;</programlisting>
86
84
<para>
87
85
this is the structure used for URLs. It is a boxed type to glib's type system
88
86
and it is not reference counted. It is also a static struct in that it cannot
90
88
<para>
91
89
 
92
90
</para></refsect2>
93
 
<refsect2>
94
 
<title><anchor id="swfdec-url-new" role="function"/>swfdec_url_new ()</title>
95
 
<indexterm><primary>swfdec_url_new</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new                      (const <link linkend="char">char</link> *string);</programlisting>
 
91
<refsect2 id="swfdec-url-new" role="function">
 
92
<title>swfdec_url_new ()</title>
 
93
<indexterm zone="swfdec-url-new"><primary>swfdec_url_new</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new                      (const <link linkend="char">char</link> *string);</programlisting>
96
94
<para>
97
95
Parses the given string into a URL for use in swfdec.</para>
98
96
<para>
104
102
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="SwfdecURL"><type>SwfdecURL</type></link> or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if the URL was invalid
105
103
</simpara></listitem></varlistentry>
106
104
</variablelist></refsect2>
107
 
<refsect2>
108
 
<title><anchor id="swfdec-url-new-from-input" role="function"/>swfdec_url_new_from_input ()</title>
109
 
<indexterm><primary>swfdec_url_new_from_input</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_from_input           (const <link linkend="char">char</link> *input);</programlisting>
 
105
<refsect2 id="swfdec-url-new-from-input" role="function">
 
106
<title>swfdec_url_new_from_input ()</title>
 
107
<indexterm zone="swfdec-url-new-from-input"><primary>swfdec_url_new_from_input</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_from_input           (const <link linkend="char">char</link> *input);</programlisting>
110
108
<para>
111
109
Tries to guess the right URL from the given <parameter>input</parameter>. This function is meant 
112
110
as a utility function helping to convert user input (like command line 
120
118
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new url best matching the given <parameter>input</parameter>.
121
119
</simpara></listitem></varlistentry>
122
120
</variablelist></refsect2>
123
 
<refsect2>
124
 
<title><anchor id="swfdec-url-new-components" role="function"/>swfdec_url_new_components ()</title>
125
 
<indexterm><primary>swfdec_url_new_components</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_components           (const <link linkend="char">char</link> *protocol,
 
121
<refsect2 id="swfdec-url-new-components" role="function">
 
122
<title>swfdec_url_new_components ()</title>
 
123
<indexterm zone="swfdec-url-new-components"><primary>swfdec_url_new_components</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_components           (const <link linkend="char">char</link> *protocol,
126
124
                                                         const <link linkend="char">char</link> *hostname,
127
125
                                                         <link linkend="guint">guint</link> port,
128
126
                                                         const <link linkend="char">char</link> *path,
150
148
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new url pointing to the url from the given components
151
149
</simpara></listitem></varlistentry>
152
150
</variablelist></refsect2>
153
 
<refsect2>
154
 
<title><anchor id="swfdec-url-new-relative" role="function"/>swfdec_url_new_relative ()</title>
155
 
<indexterm><primary>swfdec_url_new_relative</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_relative             (const <link linkend="SwfdecURL">SwfdecURL</link> *url,
 
151
<refsect2 id="swfdec-url-new-relative" role="function">
 
152
<title>swfdec_url_new_relative ()</title>
 
153
<indexterm zone="swfdec-url-new-relative"><primary>swfdec_url_new_relative</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_relative             (const <link linkend="SwfdecURL">SwfdecURL</link> *url,
156
154
                                                         const <link linkend="char">char</link> *string);</programlisting>
157
155
<para>
158
156
Parses <parameter>string</parameter> into a new URL. If the given <parameter>string</parameter> is a relative URL, it 
170
168
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="SwfdecURL"><type>SwfdecURL</type></link> or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if an error was detected.
171
169
</simpara></listitem></varlistentry>
172
170
</variablelist></refsect2>
173
 
<refsect2>
174
 
<title><anchor id="swfdec-url-new-parent" role="function"/>swfdec_url_new_parent ()</title>
175
 
<indexterm><primary>swfdec_url_new_parent</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_parent               (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
171
<refsect2 id="swfdec-url-new-parent" role="function">
 
172
<title>swfdec_url_new_parent ()</title>
 
173
<indexterm zone="swfdec-url-new-parent"><primary>swfdec_url_new_parent</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_new_parent               (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
176
174
<para>
177
175
Creates a new url that is the parent of <parameter>url</parameter>. If the given <parameter>url</parameter> has no 
178
176
parent, a copy of itself is returned.</para>
185
183
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new url pointing to the parent of <parameter>url</parameter> or <link linkend="NULL:CAPS"><literal>NULL</literal></link> on failure.
186
184
</simpara></listitem></varlistentry>
187
185
</variablelist></refsect2>
188
 
<refsect2>
189
 
<title><anchor id="swfdec-url-copy" role="function"/>swfdec_url_copy ()</title>
190
 
<indexterm><primary>swfdec_url_copy</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_copy                     (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
186
<refsect2 id="swfdec-url-copy" role="function">
 
187
<title>swfdec_url_copy ()</title>
 
188
<indexterm zone="swfdec-url-copy"><primary>swfdec_url_copy</primary></indexterm><programlisting><link linkend="SwfdecURL">SwfdecURL</link>*          swfdec_url_copy                     (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
191
189
<para>
192
190
copies the given url.</para>
193
191
<para>
199
197
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="SwfdecURL"><type>SwfdecURL</type></link>
200
198
</simpara></listitem></varlistentry>
201
199
</variablelist></refsect2>
202
 
<refsect2>
203
 
<title><anchor id="swfdec-url-free" role="function"/>swfdec_url_free ()</title>
204
 
<indexterm><primary>swfdec_url_free</primary></indexterm><programlisting><link linkend="void">void</link>                swfdec_url_free                     (<link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
200
<refsect2 id="swfdec-url-free" role="function">
 
201
<title>swfdec_url_free ()</title>
 
202
<indexterm zone="swfdec-url-free"><primary>swfdec_url_free</primary></indexterm><programlisting><link linkend="void">void</link>                swfdec_url_free                     (<link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
205
203
<para>
206
204
Frees the URL and its associated ressources.</para>
207
205
<para>
211
209
<listitem><simpara> a <link linkend="SwfdecURL"><type>SwfdecURL</type></link>
212
210
</simpara></listitem></varlistentry>
213
211
</variablelist></refsect2>
214
 
<refsect2>
215
 
<title><anchor id="swfdec-url-get-protocol" role="function"/>swfdec_url_get_protocol ()</title>
216
 
<indexterm><primary>swfdec_url_get_protocol</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_protocol             (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
212
<refsect2 id="swfdec-url-get-protocol" role="function">
 
213
<title>swfdec_url_get_protocol ()</title>
 
214
<indexterm zone="swfdec-url-get-protocol"><primary>swfdec_url_get_protocol</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_protocol             (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
217
215
<para>
218
216
Gets the protocol used by this URL, such as "http" or "file".</para>
219
217
<para>
225
223
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the protocol used or "error" if the URL is broken
226
224
</simpara></listitem></varlistentry>
227
225
</variablelist></refsect2>
228
 
<refsect2>
229
 
<title><anchor id="swfdec-url-has-protocol" role="function"/>swfdec_url_has_protocol ()</title>
230
 
<indexterm><primary>swfdec_url_has_protocol</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_has_protocol             (const <link linkend="SwfdecURL">SwfdecURL</link> *url,
 
226
<refsect2 id="swfdec-url-has-protocol" role="function">
 
227
<title>swfdec_url_has_protocol ()</title>
 
228
<indexterm zone="swfdec-url-has-protocol"><primary>swfdec_url_has_protocol</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_has_protocol             (const <link linkend="SwfdecURL">SwfdecURL</link> *url,
231
229
                                                         const <link linkend="char">char</link> *protocol);</programlisting>
232
230
<para>
233
231
Checks if the given <parameter>url</parameter> references the given <parameter>protocol</parameter></para>
243
241
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if both protocols match, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise
244
242
</simpara></listitem></varlistentry>
245
243
</variablelist></refsect2>
246
 
<refsect2>
247
 
<title><anchor id="swfdec-url-get-host" role="function"/>swfdec_url_get_host ()</title>
248
 
<indexterm><primary>swfdec_url_get_host</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_host                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
244
<refsect2 id="swfdec-url-get-host" role="function">
 
245
<title>swfdec_url_get_host ()</title>
 
246
<indexterm zone="swfdec-url-get-host"><primary>swfdec_url_get_host</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_host                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
249
247
<para>
250
248
Gets the host for <parameter>url</parameter> as a lower case string.</para>
251
249
<para>
257
255
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the host or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if none (typically for file URLs).
258
256
</simpara></listitem></varlistentry>
259
257
</variablelist></refsect2>
260
 
<refsect2>
261
 
<title><anchor id="swfdec-url-get-port" role="function"/>swfdec_url_get_port ()</title>
262
 
<indexterm><primary>swfdec_url_get_port</primary></indexterm><programlisting><link linkend="guint">guint</link>               swfdec_url_get_port                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
258
<refsect2 id="swfdec-url-get-port" role="function">
 
259
<title>swfdec_url_get_port ()</title>
 
260
<indexterm zone="swfdec-url-get-port"><primary>swfdec_url_get_port</primary></indexterm><programlisting><link linkend="guint">guint</link>               swfdec_url_get_port                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
263
261
<para>
264
262
Gets the port number specified by the given <parameter>url</parameter>. If the <parameter>url</parameter> does not 
265
263
specify a port number, 0 will be returned.</para>
272
270
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the specified port or 0 if none was given.
273
271
</simpara></listitem></varlistentry>
274
272
</variablelist></refsect2>
275
 
<refsect2>
276
 
<title><anchor id="swfdec-url-get-path" role="function"/>swfdec_url_get_path ()</title>
277
 
<indexterm><primary>swfdec_url_get_path</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_path                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
273
<refsect2 id="swfdec-url-get-path" role="function">
 
274
<title>swfdec_url_get_path ()</title>
 
275
<indexterm zone="swfdec-url-get-path"><primary>swfdec_url_get_path</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_path                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
278
276
<para>
279
277
Gets the path associated with <parameter>url</parameter>. If it contains no path, <link linkend="NULL:CAPS"><literal>NULL</literal></link> is 
280
278
returned.
289
287
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the path or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if none
290
288
</simpara></listitem></varlistentry>
291
289
</variablelist></refsect2>
292
 
<refsect2>
293
 
<title><anchor id="swfdec-url-get-query" role="function"/>swfdec_url_get_query ()</title>
294
 
<indexterm><primary>swfdec_url_get_query</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_query                (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
290
<refsect2 id="swfdec-url-get-query" role="function">
 
291
<title>swfdec_url_get_query ()</title>
 
292
<indexterm zone="swfdec-url-get-query"><primary>swfdec_url_get_query</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_query                (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
295
293
<para>
296
294
Gets the query string associated with <parameter>url</parameter>. If the URL does not have a query
297
295
string, <link linkend="NULL:CAPS"><literal>NULL</literal></link> is returned.</para>
304
302
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> Query string or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
305
303
</simpara></listitem></varlistentry>
306
304
</variablelist></refsect2>
307
 
<refsect2>
308
 
<title><anchor id="swfdec-url-get-url" role="function"/>swfdec_url_get_url ()</title>
309
 
<indexterm><primary>swfdec_url_get_url</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_url                  (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
305
<refsect2 id="swfdec-url-get-url" role="function">
 
306
<title>swfdec_url_get_url ()</title>
 
307
<indexterm zone="swfdec-url-get-url"><primary>swfdec_url_get_url</primary></indexterm><programlisting>const <link linkend="char">char</link>*         swfdec_url_get_url                  (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
310
308
<para>
311
309
Gets the whole URL.</para>
312
310
<para>
318
316
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the complete URL as string
319
317
</simpara></listitem></varlistentry>
320
318
</variablelist></refsect2>
321
 
<refsect2>
322
 
<title><anchor id="swfdec-url-is-local" role="function"/>swfdec_url_is_local ()</title>
323
 
<indexterm><primary>swfdec_url_is_local</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_is_local                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
319
<refsect2 id="swfdec-url-is-local" role="function">
 
320
<title>swfdec_url_is_local ()</title>
 
321
<indexterm zone="swfdec-url-is-local"><primary>swfdec_url_is_local</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_is_local                 (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
324
322
<para>
325
323
Checks if the given <parameter>url</parameter> references a local resource. Local resources are
326
324
treated differently by Flash, since they get a higher degree of trust.</para>
333
331
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the given url is local.
334
332
</simpara></listitem></varlistentry>
335
333
</variablelist></refsect2>
336
 
<refsect2>
337
 
<title><anchor id="swfdec-url-is-parent" role="function"/>swfdec_url_is_parent ()</title>
338
 
<indexterm><primary>swfdec_url_is_parent</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_is_parent                (const <link linkend="SwfdecURL">SwfdecURL</link> *parent,
 
334
<refsect2 id="swfdec-url-is-parent" role="function">
 
335
<title>swfdec_url_is_parent ()</title>
 
336
<indexterm zone="swfdec-url-is-parent"><primary>swfdec_url_is_parent</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_is_parent                (const <link linkend="SwfdecURL">SwfdecURL</link> *parent,
339
337
                                                         const <link linkend="SwfdecURL">SwfdecURL</link> *child);</programlisting>
340
338
<para>
341
339
Checks if the given <parameter>parent</parameter> url is a parent url of the given <parameter>child</parameter> url. The
354
352
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>parent</parameter> is a parent of <parameter>child</parameter>, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise.
355
353
</simpara></listitem></varlistentry>
356
354
</variablelist></refsect2>
357
 
<refsect2>
358
 
<title><anchor id="swfdec-url-format-for-display" role="function"/>swfdec_url_format_for_display ()</title>
359
 
<indexterm><primary>swfdec_url_format_for_display</primary></indexterm><programlisting><link linkend="char">char</link>*               swfdec_url_format_for_display       (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
 
355
<refsect2 id="swfdec-url-format-for-display" role="function">
 
356
<title>swfdec_url_format_for_display ()</title>
 
357
<indexterm zone="swfdec-url-format-for-display"><primary>swfdec_url_format_for_display</primary></indexterm><programlisting><link linkend="char">char</link>*               swfdec_url_format_for_display       (const <link linkend="SwfdecURL">SwfdecURL</link> *url);</programlisting>
360
358
<para>
361
359
Creates a string suitable to display the given <parameter>url</parameter>. An example for using
362
360
this function is to identify a currently playing Flash URL. Use 
372
370
         after use.
373
371
</simpara></listitem></varlistentry>
374
372
</variablelist></refsect2>
375
 
<refsect2>
376
 
<title><anchor id="swfdec-url-equal" role="function"/>swfdec_url_equal ()</title>
377
 
<indexterm><primary>swfdec_url_equal</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_equal                    (<link linkend="gconstpointer">gconstpointer</link> a,
 
373
<refsect2 id="swfdec-url-equal" role="function">
 
374
<title>swfdec_url_equal ()</title>
 
375
<indexterm zone="swfdec-url-equal"><primary>swfdec_url_equal</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_equal                    (<link linkend="gconstpointer">gconstpointer</link> a,
378
376
                                                         <link linkend="gconstpointer">gconstpointer</link> b);</programlisting>
379
377
<para>
380
378
Compares the 2 given URLs for equality. 2 URLs are considered equal, when
393
391
         otherwise.
394
392
</simpara></listitem></varlistentry>
395
393
</variablelist></refsect2>
396
 
<refsect2>
397
 
<title><anchor id="swfdec-url-hash" role="function"/>swfdec_url_hash ()</title>
398
 
<indexterm><primary>swfdec_url_hash</primary></indexterm><programlisting><link linkend="guint">guint</link>               swfdec_url_hash                     (<link linkend="gconstpointer">gconstpointer</link> url);</programlisting>
 
394
<refsect2 id="swfdec-url-hash" role="function">
 
395
<title>swfdec_url_hash ()</title>
 
396
<indexterm zone="swfdec-url-hash"><primary>swfdec_url_hash</primary></indexterm><programlisting><link linkend="guint">guint</link>               swfdec_url_hash                     (<link linkend="gconstpointer">gconstpointer</link> url);</programlisting>
399
397
<para>
400
398
Creates a hash value for the given <parameter>url</parameter>. This function is intended to be 
401
399
used together with <link linkend="swfdec-url-equal"><function>swfdec_url_equal()</function></link> in a <link linkend="GHashtable"><type>GHashtable</type></link>.</para>
408
406
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a hash value
409
407
</simpara></listitem></varlistentry>
410
408
</variablelist></refsect2>
411
 
<refsect2>
412
 
<title><anchor id="swfdec-url-path-is-relative" role="function"/>swfdec_url_path_is_relative ()</title>
413
 
<indexterm><primary>swfdec_url_path_is_relative</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_path_is_relative         (const <link linkend="char">char</link> *path);</programlisting>
 
409
<refsect2 id="swfdec-url-path-is-relative" role="function">
 
410
<title>swfdec_url_path_is_relative ()</title>
 
411
<indexterm zone="swfdec-url-path-is-relative"><primary>swfdec_url_path_is_relative</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            swfdec_url_path_is_relative         (const <link linkend="char">char</link> *path);</programlisting>
414
412
<para>
415
413
Checks if the given URL is relative or absolute.</para>
416
414
<para>
428
426
 
429
427
 
430
428
 
431
 
 
432
 
<refsect1><refsect2 /><refsect2 /></refsect1>
433
429
</refentry>