updated to V0.8.0

This commit is contained in:
Tim Rühsen 2015-08-10 17:33:46 +02:00
parent f106188887
commit 565b1c73e7
8 changed files with 238 additions and 236 deletions

View File

@ -2,17 +2,17 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Libpsl Reference Manual: API Index</title>
<title>API Index: Libpsl Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libpsl Reference Manual">
<link rel="up" href="index.html" title="Libpsl Reference Manual">
<link rel="prev" href="object-tree.html" title="Object Hierarchy">
<link rel="next" href="deprecated-api-index.html" title="Index of deprecated API">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"><span id="nav_index"><a class="shortcut" href="#idxB">B</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#idxC">C</a>
@ -124,7 +124,6 @@
<dd></dd>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -2,16 +2,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Libpsl Reference Manual: Index of deprecated API</title>
<title>Index of deprecated API: Libpsl Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libpsl Reference Manual">
<link rel="up" href="index.html" title="Libpsl Reference Manual">
<link rel="prev" href="api-index-full.html" title="API Index">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
@ -24,7 +24,6 @@
<a name="idx"></a>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libpsl Reference Manual">
<link rel="next" href="libpsl.html" title="Libpsl Overview">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -15,7 +15,7 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Libpsl Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for Libpsl 0.4.0
for Libpsl 0.8.0
.
The latest version of this documentation can be found on-line at
<a class="ulink" href="http://github.com/rockdaboot/libpsl" target="_top">GitHub</a>.
@ -34,7 +34,6 @@
</dl></div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -3,7 +3,6 @@
<ANCHOR id="libpsl-Public-Suffix-List-functions.stability-level" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.stability-level">
<ANCHOR id="libpsl-Public-Suffix-List-functions.functions" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.functions">
<ANCHOR id="libpsl-Public-Suffix-List-functions.other" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.other">
<ANCHOR id="libpsl-Public-Suffix-List-functions.object-hierarchy" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.object-hierarchy">
<ANCHOR id="libpsl-Public-Suffix-List-functions.includes" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.includes">
<ANCHOR id="libpsl-Public-Suffix-List-functions.description" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.description">
<ANCHOR id="libpsl-Public-Suffix-List-functions.functions_details" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.functions_details">
@ -25,4 +24,10 @@
<ANCHOR id="psl-str-to-utf8lower" href="libpsl/libpsl-Public-Suffix-List-functions.html#psl-str-to-utf8lower">
<ANCHOR id="libpsl-Public-Suffix-List-functions.other_details" href="libpsl/libpsl-Public-Suffix-List-functions.html#libpsl-Public-Suffix-List-functions.other_details">
<ANCHOR id="psl-error-t" href="libpsl/libpsl-Public-Suffix-List-functions.html#psl-error-t">
<ANCHOR id="PSL-SUCCESS:CAPS" href="libpsl/libpsl-Public-Suffix-List-functions.html#PSL-SUCCESS:CAPS">
<ANCHOR id="PSL-ERR-INVALID-ARG:CAPS" href="libpsl/libpsl-Public-Suffix-List-functions.html#PSL-ERR-INVALID-ARG:CAPS">
<ANCHOR id="PSL-ERR-CONVERTER:CAPS" href="libpsl/libpsl-Public-Suffix-List-functions.html#PSL-ERR-CONVERTER:CAPS">
<ANCHOR id="PSL-ERR-TO-UTF16:CAPS" href="libpsl/libpsl-Public-Suffix-List-functions.html#PSL-ERR-TO-UTF16:CAPS">
<ANCHOR id="PSL-ERR-TO-LOWER:CAPS" href="libpsl/libpsl-Public-Suffix-List-functions.html#PSL-ERR-TO-LOWER:CAPS">
<ANCHOR id="PSL-ERR-TO-UTF8:CAPS" href="libpsl/libpsl-Public-Suffix-List-functions.html#PSL-ERR-TO-UTF8:CAPS">
<ANCHOR id="psl-ctx-t" href="libpsl/libpsl-Public-Suffix-List-functions.html#psl-ctx-t">

View File

@ -2,21 +2,20 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Libpsl Reference Manual: libpsl</title>
<title>libpsl: Libpsl Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libpsl Reference Manual">
<link rel="up" href="libpsl.html" title="Libpsl Overview">
<link rel="prev" href="libpsl.html" title="Libpsl Overview">
<link rel="next" href="object-tree.html" title="Object Hierarchy">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
<a href="#libpsl-Public-Suffix-List-functions.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
<a href="#libpsl-Public-Suffix-List-functions.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#libpsl-Public-Suffix-List-functions.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libpsl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
@ -34,7 +33,7 @@
</tr></table></div>
<div class="refsect1">
<a name="libpsl-Public-Suffix-List-functions.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="libpsl-Public-Suffix-List-functions.functions"></a><h2>Functions</h2>
@ -160,7 +159,7 @@ Unstable, unless otherwise indicated
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
<a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-error-t" title="enum psl_error_t"><span class="returnvalue">psl_error_t</span></a>
</td>
<td class="function_name">
<a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-str-to-utf8lower" title="psl_str_to_utf8lower ()">psl_str_to_utf8lower</a> <span class="c_punctuation">()</span>
@ -189,11 +188,6 @@ Unstable, unless otherwise indicated
</table></div>
</div>
<div class="refsect1">
<a name="libpsl-Public-Suffix-List-functions.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">
</pre>
</div>
<div class="refsect1">
<a name="libpsl-Public-Suffix-List-functions.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;libpsl.h&gt;
</pre>
@ -213,7 +207,7 @@ psl_load_file (<em class="parameter"><code>const <span class="type">char</span>
To free the allocated resources, call <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-free" title="psl_free ()"><code class="function">psl_free()</code></a>.</p>
<p>The suffixes are expected to be lowercase UTF-8 encoded if they are international.</p>
<div class="refsect3">
<a name="id-1.2.3.9.2.6"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.2.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -228,11 +222,10 @@ To free the allocated resources, call <a class="link" href="libpsl-Public-Suffix
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.2.7"></a><h4>Returns</h4>
<a name="id-1.2.3.8.2.7"></a><h4>Returns</h4>
<p> Pointer to a PSL context or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -243,7 +236,7 @@ psl_load_fp (<em class="parameter"><code><span class="type">FILE</span> *fp</cod
To free the allocated resources, call <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-free" title="psl_free ()"><code class="function">psl_free()</code></a>.</p>
<p>The suffixes are expected to be lowercase UTF-8 encoded if they are international.</p>
<div class="refsect3">
<a name="id-1.2.3.9.3.6"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.3.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -258,11 +251,10 @@ To free the allocated resources, call <a class="link" href="libpsl-Public-Suffix
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.3.7"></a><h4>Returns</h4>
<a name="id-1.2.3.8.3.7"></a><h4>Returns</h4>
<p> Pointer to a PSL context or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -276,11 +268,10 @@ You don't have to free the returned context explicitely.</p>
So if using the builtin psl context, you can provide UTF-8 or punycode representations of domains to
functions like <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-is-public-suffix" title="psl_is_public_suffix ()"><code class="function">psl_is_public_suffix()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.3.9.4.7"></a><h4>Returns</h4>
<a name="id-1.2.3.8.4.7"></a><h4>Returns</h4>
<p> Pointer to the built in PSL data or NULL if this data is not available.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -305,7 +296,7 @@ Other encodings result in unexpected behavior.</p>
is a context returned by either <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-load-file" title="psl_load_file ()"><code class="function">psl_load_file()</code></a>, <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-load-fp" title="psl_load_fp ()"><code class="function">psl_load_fp()</code></a> or
<a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-builtin" title="psl_builtin ()"><code class="function">psl_builtin()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.3.9.6.8"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.6.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -327,11 +318,10 @@ Other encodings result in unexpected behavior.</p>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.6.9"></a><h4>Returns</h4>
<a name="id-1.2.3.8.6.9"></a><h4>Returns</h4>
<p> 1 if domain is a public suffix, 0 if not.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -349,7 +339,7 @@ Other encodings result in unexpected behavior.</p>
is a context returned by either <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-load-file" title="psl_load_file ()"><code class="function">psl_load_file()</code></a>, <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-load-fp" title="psl_load_fp ()"><code class="function">psl_load_fp()</code></a> or
<a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-builtin" title="psl_builtin ()"><code class="function">psl_builtin()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.3.9.7.7"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.7.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -371,14 +361,13 @@ Other encodings result in unexpected behavior.</p>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.7.8"></a><h4>Returns</h4>
<a name="id-1.2.3.8.7.8"></a><h4>Returns</h4>
<p> Pointer to longest public suffix part of <em class="parameter"><code>domain</code></em>
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>domain</code></em>
does not contain a public suffix (or if <em class="parameter"><code>psl</code></em>
is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -396,7 +385,7 @@ Other encodings result in unexpected behavior.</p>
is a context returned by either <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-load-file" title="psl_load_file ()"><code class="function">psl_load_file()</code></a>, <a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-load-fp" title="psl_load_fp ()"><code class="function">psl_load_fp()</code></a> or
<a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-builtin" title="psl_builtin ()"><code class="function">psl_builtin()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.3.9.8.7"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.8.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -418,14 +407,13 @@ Other encodings result in unexpected behavior.</p>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.8.8"></a><h4>Returns</h4>
<a name="id-1.2.3.8.8.8"></a><h4>Returns</h4>
<p> Pointer to shortest private suffix part of <em class="parameter"><code>domain</code></em>
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>domain</code></em>
does not contain a private suffix (or if <em class="parameter"><code>psl</code></em>
is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -437,7 +425,7 @@ psl_suffix_count (<em class="parameter"><code>const <a class="link" href="libpsl
The number of exceptions within the Public Suffix List are not included.</p>
<p>If the generation of built-in data has been disabled during compilation, 0 will be returned.</p>
<div class="refsect3">
<a name="id-1.2.3.9.9.6"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -452,11 +440,10 @@ The number of exceptions within the Public Suffix List are not included.</p>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.9.7"></a><h4>Returns</h4>
<a name="id-1.2.3.8.9.7"></a><h4>Returns</h4>
<p> Number of public suffixes entries in PSL context.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -467,7 +454,7 @@ psl_suffix_exception_count (<em class="parameter"><code>const <a class="link" hr
.</p>
<p>If the generation of built-in data has been disabled during compilation, 0 will be returned.</p>
<div class="refsect3">
<a name="id-1.2.3.9.10.6"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -482,11 +469,10 @@ psl_suffix_exception_count (<em class="parameter"><code>const <a class="link" hr
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.10.7"></a><h4>Returns</h4>
<a name="id-1.2.3.8.10.7"></a><h4>Returns</h4>
<p> Number of public suffix exceptions in PSL context.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -496,11 +482,10 @@ psl_builtin_compile_time (<em class="parameter"><code><span class="type">void</s
<p>This function returns the time when the Publix Suffix List has been compiled into C code (by psl2c).</p>
<p>If the generation of built-in data has been disabled during compilation, 0 will be returned.</p>
<div class="refsect3">
<a name="id-1.2.3.9.11.6"></a><h4>Returns</h4>
<a name="id-1.2.3.8.11.6"></a><h4>Returns</h4>
<p> time_t value or 0.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -510,11 +495,10 @@ psl_builtin_file_time (<em class="parameter"><code><span class="type">void</span
<p>This function returns the mtime of the Publix Suffix List file that has been built in.</p>
<p>If the generation of built-in data has been disabled during compilation, 0 will be returned.</p>
<div class="refsect3">
<a name="id-1.2.3.9.12.6"></a><h4>Returns</h4>
<a name="id-1.2.3.8.12.6"></a><h4>Returns</h4>
<p> time_t value or 0.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -525,11 +509,10 @@ psl_builtin_sha1sum (<em class="parameter"><code><span class="type">void</span><
The returned string is in lowercase hex encoding, e.g. "2af1e9e3044eda0678bb05949d7cca2f769901d8".</p>
<p>If the generation of built-in data has been disabled during compilation, an empty string will be returned.</p>
<div class="refsect3">
<a name="id-1.2.3.9.13.6"></a><h4>Returns</h4>
<a name="id-1.2.3.8.13.6"></a><h4>Returns</h4>
<p> String containing SHA1 checksum or an empty string.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -539,11 +522,10 @@ psl_builtin_filename (<em class="parameter"><code><span class="type">void</span>
<p>This function returns the file name of the Publix Suffix List file that has been built in.</p>
<p>If the generation of built-in data has been disabled during compilation, an empty string will be returned.</p>
<div class="refsect3">
<a name="id-1.2.3.9.14.6"></a><h4>Returns</h4>
<a name="id-1.2.3.8.14.6"></a><h4>Returns</h4>
<p> String containing the PSL file name or an empty string.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -568,7 +550,7 @@ but '.com' or 'com' would NOT be acceptable since 'com' is a public suffix.</p><
but NOT for 'forgot.his.name' since 'forgot.his.name' is a public suffix.</p></li>
</ol></div>
<div class="refsect3">
<a name="id-1.2.3.9.15.8"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.15.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -595,11 +577,10 @@ but NOT for 'forgot.his.name' since 'forgot.his.name' is a public suffix.</p></l
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.15.9"></a><h4>Returns</h4>
<a name="id-1.2.3.8.15.9"></a><h4>Returns</h4>
<p> 1 if acceptable, 0 if not acceptable.</p>
<p></p>
</div>
<p class="since">Since 0.1</p>
<p class="since">Since: 0.1</p>
</div>
<hr>
<div class="refsect2">
@ -608,16 +589,15 @@ but NOT for 'forgot.his.name' since 'forgot.his.name' is a public suffix.</p></l
psl_get_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Get libpsl version.</p>
<div class="refsect3">
<a name="id-1.2.3.9.16.5"></a><h4>Returns</h4>
<a name="id-1.2.3.8.16.5"></a><h4>Returns</h4>
<p> String containing version of libpsl.</p>
<p></p>
</div>
<p class="since">Since 0.2.5</p>
<p class="since">Since: 0.2.5</p>
</div>
<hr>
<div class="refsect2">
<a name="psl-str-to-utf8lower"></a><h3>psl_str_to_utf8lower ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
<pre class="programlisting"><a class="link" href="libpsl-Public-Suffix-List-functions.html#psl-error-t" title="enum psl_error_t"><span class="returnvalue">psl_error_t</span></a>
psl_str_to_utf8lower (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *encoding</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *locale</code></em>,
@ -625,10 +605,10 @@ psl_str_to_utf8lower (<em class="parameter"><code>const <span class="type">char<
<p>This helper function converts a string to lowercase UTF-8 representation.
Lowercase UTF-8 is needed as input to the domain checking functions.</p>
<p><em class="parameter"><code>lower</code></em>
is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
The return value 'lower' must be freed after usage.</p>
is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.</p>
<p>The return value 'lower' must be freed after usage.</p>
<div class="refsect3">
<a name="id-1.2.3.9.17.6"></a><h4>Parameters</h4>
<a name="id-1.2.3.8.17.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
@ -662,7 +642,7 @@ for to lowercase conversion, e.g. 'de' or <a href="/usr/share/gtk-doc/html/glib/
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.9.17.7"></a><h4>Returns</h4>
<a name="id-1.2.3.8.17.8"></a><h4>Returns</h4>
<p> psl_error_t value.
PSL_SUCCESS: Success
PSL_ERR_INVALID_ARG: <em class="parameter"><code>str</code></em>
@ -672,9 +652,8 @@ PSL_ERR_TO_UTF16: Failed to convert <em class="parameter"><code>str</code></em>
to unicode
PSL_ERR_TO_LOWER: Failed to convert unicode to lowercase
PSL_ERR_TO_UTF8: Failed to convert unicode to UTF-8</p>
<p></p>
</div>
<p class="since">Since 0.4</p>
<p class="since">Since: 0.4</p>
</div>
</div>
<div class="refsect1">
@ -685,7 +664,7 @@ PSL_ERR_TO_UTF8: Failed to convert unicode to UTF-8</p>
Negative return codes mean failure.
Positive values are reserved for non-error return codes.</p>
<div class="refsect3">
<a name="id-1.2.3.10.2.4"></a><h4>Members</h4>
<a name="id-1.2.3.9.2.4"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
@ -748,7 +727,6 @@ Positive values are reserved for non-error return codes.</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<book xmlns="http://www.devhelp.net/book" title="Libpsl Reference Manual" link="index.html" author="" name="libpsl" version="2" language="c">
<chapters>
<sub name="Libpsl Overview" link="libpsl.html">
@ -28,5 +27,11 @@
<keyword type="function" name="psl_str_to_utf8lower ()" link="libpsl-Public-Suffix-List-functions.html#psl-str-to-utf8lower" since="0.4"/>
<keyword type="enum" name="enum psl_error_t" link="libpsl-Public-Suffix-List-functions.html#psl-error-t"/>
<keyword type="typedef" name="psl_ctx_t" link="libpsl-Public-Suffix-List-functions.html#psl-ctx-t"/>
<keyword type="constant" name="PSL_SUCCESS" link="libpsl-Public-Suffix-List-functions.html#PSL-SUCCESS:CAPS"/>
<keyword type="constant" name="PSL_ERR_INVALID_ARG" link="libpsl-Public-Suffix-List-functions.html#PSL-ERR-INVALID-ARG:CAPS"/>
<keyword type="constant" name="PSL_ERR_CONVERTER" link="libpsl-Public-Suffix-List-functions.html#PSL-ERR-CONVERTER:CAPS"/>
<keyword type="constant" name="PSL_ERR_TO_UTF16" link="libpsl-Public-Suffix-List-functions.html#PSL-ERR-TO-UTF16:CAPS"/>
<keyword type="constant" name="PSL_ERR_TO_LOWER" link="libpsl-Public-Suffix-List-functions.html#PSL-ERR-TO-LOWER:CAPS"/>
<keyword type="constant" name="PSL_ERR_TO_UTF8" link="libpsl-Public-Suffix-List-functions.html#PSL-ERR-TO-UTF8:CAPS"/>
</functions>
</book>

View File

@ -2,17 +2,17 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Libpsl Reference Manual: Object Hierarchy</title>
<title>Object Hierarchy: Libpsl Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libpsl Reference Manual">
<link rel="up" href="index.html" title="Libpsl Reference Manual">
<link rel="prev" href="libpsl-Public-Suffix-List-functions.html" title="libpsl">
<link rel="next" href="api-index-full.html" title="API Index">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
@ -27,7 +27,6 @@
</pre>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

302
style.css
View File

@ -30,127 +30,6 @@ body
vertical-align: top;
}
@media screen {
sup a.footnote
{
position: relative;
top: 0em ! important;
}
/* this is needed so that the local anchors are displayed below the naviagtion */
div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
{
display: inline-block;
position: relative;
top:-5em;
}
/* this seems to be a bug in the xsl style sheets when generating indexes */
div.index div.index
{
top: 0em;
}
/* make space for the fixed navigation bar and add space at the bottom so that
* link targets appear somewhat close to top
*/
body
{
padding-top: 5em;
padding-bottom: 500px;
max-width: 60em;
}
p
{
max-width: 60em;
}
/* style and size the navigation bar */
table.navigation#top
{
position: fixed;
background: #e2e2e2;
border-bottom: solid 1px #babdb6;
margin-top: 0;
margin-bottom: 0;
top: 0;
left: 0;
height: 3em;
z-index: 10;
}
.navigation a, .navigation a:visited
{
/* tango:sky blue 3 */
color: #204a87;
}
.navigation a:hover
{
/* tango:sky blue 2 */
color: #3465a4;
}
td.shortcuts
{
/* tango:sky blue 2 */
color: #3465a4;
font-size: 80%;
white-space: nowrap;
}
td.shortcuts .dim
{
color: #babdb6;
}
}
@media screen and (min-width: 60em) {
/* screen larger than 60em */
body { margin: auto; }
}
@media screen and (max-width: 60em) {
/* screen less than 60em */
#nav_hierarchy { display: none; }
#nav_interfaces { display: none; }
#nav_prerequisites { display: none; }
#nav_derived_interfaces { display: none; }
#nav_implementations { display: none; }
#nav_child_properties { display: none; }
#nav_style_properties { display: none; }
#nav_index { display: none; }
#nav_glossary { display: none; }
.gallery_image { display: none; }
.property_flags { display: none; }
.signal_flags { display: none; }
.parameter_annotations { display: none; }
.enum_member_annotations { display: none; }
.struct_member_annotations { display: none; }
.union_member_annotations { display: none; }
/* now that a column is hidden, optimize space */
col.parameters_name { width: auto; }
col.parameters_description { width: auto; }
col.struct_members_name { width: auto; }
col.struct_members_description { width: auto; }
col.enum_members_name { width: auto; }
col.enum_members_description { width: auto; }
col.union_members_name { width: auto; }
col.union_members_description { width: auto; }
}
@media print {
table.navigation {
visibility: collapse;
display: none;
}
div.titlepage table.navigation {
visibility: visible;
display: table;
background: #e2e2e2;
border: solid 1px #babdb6;
margin-top: 0;
margin-bottom: 0;
top: 0;
left: 0;
height: 3em;
}
}
.navigation .title
{
font-size: 120%;
}
div.gallery-float
{
float: left;
@ -181,7 +60,7 @@ a:hover
div.informaltable table
{
border-collapse: separate;
border-spacing: 20px 3px;
border-spacing: 1em 0.3em;
border: none;
}
@ -239,6 +118,11 @@ div.informaltable table td, div.informaltable table th
color: #729fcf;
}
td p
{
margin: 0.25em;
}
div.table table
{
border-collapse: collapse;
@ -264,6 +148,8 @@ div.table table th
h4
{
color: #555753;
margin-top: 1em;
margin-bottom: 1em;
}
hr
@ -282,17 +168,16 @@ dl.toc dt
padding-bottom: 0.25em;
}
dl.toc > dd > dl > dt
dl.toc > dt
{
padding-top: 0.25em;
padding-bottom: 0.25em;
font-weight: bold;
}
dl.toc > dt
dl.toc > dl
{
padding-top: 1em;
padding-bottom: 0.5em;
font-weight: bold;
}
.parameter
@ -404,21 +289,28 @@ h2 .extralinks, h3 .extralinks
font-weight: normal;
}
acronym,abbr
{
border-bottom: 1px dotted gray;
}
/* code listings */
.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */
.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */
.listing_code .programlisting .function { color: #000000; font-weight: bold; }
.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */
.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */
.listing_code .programlisting .normal,
.listing_code .programlisting .normal a,
.listing_code .programlisting .number,
.listing_code .programlisting .cbracket,
.listing_code .programlisting .symbol { color: #555753; }
.listing_code .programlisting .comment,
.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */
.listing_code .programlisting .normal { color: #000000; }
.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */
.listing_code .programlisting .function,
.listing_code .programlisting .function a,
.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */
.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */
.listing_code .programlisting .type { color: #000000; }
.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */
.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */
.listing_code .programlisting .string { color: #ad7fa8; } /* tango: plum */
.listing_code .programlisting .keyword,
.listing_code .programlisting .usertype,
.listing_code .programlisting .type,
.listing_code .programlisting .type a { color: #4e9a06; } /* tango: chameleon 3 */
.listing_frame {
/* tango:sky blue 1 */
@ -432,11 +324,6 @@ h2 .extralinks, h3 .extralinks
margin-bottom: 0px;
padding: 0.5em;
}
.listing_lines {
/* this just adds visual clutter and
takes precious room from small screens */
display: none;
}
.listing_lines {
/* tango:sky blue 0.5 */
background: #a6c5e3;
@ -459,3 +346,134 @@ h2 .extralinks, h3 .extralinks
margin: 0px;
}
@media screen {
/* these have a <sup> as a first child, but since there are no parent selectors
* we can't use that. */
a.footnote
{
position: relative;
top: 0em ! important;
}
/* this is needed so that the local anchors are displayed below the naviagtion */
div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
{
display: inline-block;
position: relative;
top:-5em;
}
/* this seems to be a bug in the xsl style sheets when generating indexes */
div.index div.index
{
top: 0em;
}
/* make space for the fixed navigation bar and add space at the bottom so that
* link targets appear somewhat close to top
*/
body
{
padding-top: 2.5em;
padding-bottom: 500px;
max-width: 60em;
}
p
{
max-width: 60em;
}
/* style and size the navigation bar */
table.navigation#top
{
position: fixed;
background: #e2e2e2;
border-bottom: solid 1px #babdb6;
border-spacing: 5px;
margin-top: 0;
margin-bottom: 0;
top: 0;
left: 0;
z-index: 10;
}
table.navigation#top td
{
padding-left: 6px;
padding-right: 6px;
}
.navigation a, .navigation a:visited
{
/* tango:sky blue 3 */
color: #204a87;
}
.navigation a:hover
{
/* tango:sky blue 2 */
color: #3465a4;
}
td.shortcuts
{
/* tango:sky blue 2 */
color: #3465a4;
font-size: 80%;
white-space: nowrap;
}
td.shortcuts .dim
{
color: #babdb6;
}
.navigation .title
{
font-size: 80%;
max-width: none;
margin: 0px;
font-weight: normal;
}
}
@media screen and (min-width: 60em) {
/* screen larger than 60em */
body { margin: auto; }
}
@media screen and (max-width: 60em) {
/* screen less than 60em */
#nav_hierarchy { display: none; }
#nav_interfaces { display: none; }
#nav_prerequisites { display: none; }
#nav_derived_interfaces { display: none; }
#nav_implementations { display: none; }
#nav_child_properties { display: none; }
#nav_style_properties { display: none; }
#nav_index { display: none; }
#nav_glossary { display: none; }
.gallery_image { display: none; }
.property_flags { display: none; }
.signal_flags { display: none; }
.parameter_annotations { display: none; }
.enum_member_annotations { display: none; }
.struct_member_annotations { display: none; }
.union_member_annotations { display: none; }
/* now that a column is hidden, optimize space */
col.parameters_name { width: auto; }
col.parameters_description { width: auto; }
col.struct_members_name { width: auto; }
col.struct_members_description { width: auto; }
col.enum_members_name { width: auto; }
col.enum_members_description { width: auto; }
col.union_members_name { width: auto; }
col.union_members_description { width: auto; }
.listing_lines { display: none; }
}
@media print {
table.navigation {
visibility: collapse;
display: none;
}
div.titlepage table.navigation {
visibility: visible;
display: table;
background: #e2e2e2;
border: solid 1px #babdb6;
margin-top: 0;
margin-bottom: 0;
top: 0;
left: 0;
height: 3em;
}
}