doc: Update

This commit is contained in:
github-actions[bot]
2025-05-21 17:51:15 +00:00
parent 0ea6532985
commit 9a11b8fe98
31 changed files with 557 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@@ -108,6 +108,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -349,6 +353,28 @@ can parse and play such as single <span class="caps">URI</span> or a streaming&n
</div> </div>
</div> </div>
<div class="">
<h6><a href="method.Harvest.set_expiration_date_utc.html">clapper_harvest_set_expiration_date_utc</a></h6>
<div class="docblock">
<p>Set date in <span class="caps">UTC</span> time until harvested content is expected
to stay&nbsp;alive.</p>
</div>
<div class="docblock">
<p><span class="emblem available-next" title="This method will be available in the next stable release">unstable</span>&nbsp;<span class="emblem available">since: 0.10</span></p>
</div>
</div>
<div class="">
<h6><a href="method.Harvest.set_expiration_seconds.html">clapper_harvest_set_expiration_seconds</a></h6>
<div class="docblock">
<p>Set amount of seconds for how long harvested content is
expected to stay&nbsp;alive.</p>
</div>
<div class="docblock">
<p><span class="emblem available-next" title="This method will be available in the next stable release">unstable</span>&nbsp;<span class="emblem available">since: 0.10</span></p>
</div>
</div>
<div class=""> <div class="">
<h6><a href="method.Harvest.tags_add.html">clapper_harvest_tags_add</a></h6> <h6><a href="method.Harvest.tags_add.html">clapper_harvest_tags_add</a></h6>
<div class="docblock"> <div class="docblock">

File diff suppressed because one or more lines are too long

View File

@@ -163,7 +163,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L725">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L729">[src]</a>
</h4> </h4>

View File

@@ -161,7 +161,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L662">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L666">[src]</a>
</h4> </h4>

View File

@@ -162,7 +162,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L698">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L702">[src]</a>
</h4> </h4>

View File

@@ -161,7 +161,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L600">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L604">[src]</a>
</h4> </h4>

View File

@@ -161,7 +161,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L644">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L648">[src]</a>
</h4> </h4>

View File

@@ -161,7 +161,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L622">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L626">[src]</a>
</h4> </h4>

View File

@@ -161,7 +161,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L864">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L868">[src]</a>
</h4> </h4>

View File

@@ -162,7 +162,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L777">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L781">[src]</a>
</h4> </h4>

View File

@@ -162,7 +162,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L833">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L837">[src]</a>
</h4> </h4>

View File

@@ -161,7 +161,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L680">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L684">[src]</a>
</h4> </h4>

View File

@@ -163,7 +163,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L942">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L946">[src]</a>
</h4> </h4>

View File

@@ -162,7 +162,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1018">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1022">[src]</a>
</h4> </h4>

View File

@@ -162,7 +162,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L803">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L807">[src]</a>
</h4> </h4>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -154,7 +158,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L122">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L424">[src]</a>
</h4> </h4>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -153,7 +157,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L208">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L510">[src]</a>
</h4> </h4>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -153,7 +157,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L186">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L488">[src]</a>
</h4> </h4>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -153,7 +157,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L355">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L657">[src]</a>
</h4> </h4>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method current" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method current" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -153,7 +157,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L391">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L693">[src]</a>
</h4> </h4>

View File

@@ -0,0 +1,235 @@
<!--
SPDX-FileCopyrightText: Rafał Dzięgiel
SPDX-License-Identifier: LGPL-2.1-or-later
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Clapper.Harvest.set_expiration_date_utc</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta property="og:type" content="website"/>
<meta property="og:image:width" content="256"/>
<meta property="og:image:height" content="256"/>
<meta property="og:image:secure_url" content="clapper-logo.svg"/>
<meta property="og:image:alt" content="Clapper-0.0"/>
<meta priority="og:title" content="Clapper.Harvest.set_expiration_date_utc"/>
<meta priority="og:description" content="Reference for Clapper.Harvest.set_expiration_date_utc"/>
<meta name="twitter:title" content="Clapper.Harvest.set_expiration_date_utc"/>
<meta name="twitter:description" content="Reference for Clapper.Harvest.set_expiration_date_utc"/>
<meta name="twitter:card" content="summary"/>
<link rel="search" type="application/opensearchdescription+xml" title="Clapper" href="opensearch.xml">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="urlmap.js"></script>
<script src="fzy.js"></script>
<script src="search.js"></script>
<script src="main.js"></script>
</head>
<body>
<div id="body-wrapper" tabindex="-1">
<nav class="sidebar devhelp-hidden">
<div class="section">
<a href="index.html"><img src="clapper-logo.svg" class="logo"/></a>
</div>
<div class="search section">
<form id="search-form" autocomplete="off">
<input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
</form>
</div>
<div class="section namespace">
<h3><a href="index.html">Clapper</a></h3>
<p>API Version: 0.0</p>
<p>Library Version: 0.9.0</p>
</div>
<div class="section">
<h5>Type</h5>
<div class="links">
<a href="class.Harvest.html">Harvest</a>
</div>
</div>
<div class="section">
<h5>Methods</h5>
<div class="links">
<a class="method" href="method.Harvest.fill.html">fill</a>
<a class="method" href="method.Harvest.fill_with_bytes.html">fill_with_bytes</a>
<a class="method" href="method.Harvest.fill_with_text.html">fill_with_text</a>
<a class="method" href="method.Harvest.headers_set.html">headers_set</a>
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method current" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
<a class="method" href="method.Harvest.toc_add.html">toc_add</a>
</div>
</div>
<div class="section generator">
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.3</p>
</div>
</nav>
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
<section id="main" class="content">
<header>
<h3>Method</h3>
<h1><a href="index.html">Clapper</a><span class="sep"></span><a href="class.Harvest.html">Harvest</a><span class="sep"></span>set_expiration_date_utc</h1>
</header>
<section>
<div class="docblock">
<p><span class="emblem available-next" title="This method will be available in the next stable release">unstable</span>&nbsp;<span class="emblem available">since: 0.10</span></p>
</div>
<div class="declaration toggle-wrapper">
<h4 style="display:flex;" id="declaration">
Declaration
<a class="anchor" href="#declaration"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.h#L65">[src]</a>
</h4>
<div class="docblock c-decl">
<pre><code><div class="highlight"><pre><span></span><span class="kt">void</span>
<span class="n">clapper_harvest_set_expiration_date_utc</span><span class="w"> </span><span class="p">(</span>
<span class="w"> </span><span class="n">ClapperHarvest</span><span class="o">*</span><span class="w"> </span><span class="n">harvest</span><span class="p">,</span>
<span class="w"> </span><span class="n">GDateTime</span><span class="o">*</span><span class="w"> </span><span class="n">date_utc</span>
<span class="p">)</span>
</pre></div>
</code></pre>
</div>
</div>
<div class="description toggle-wrapper">
<h4 style="display:flex;" id="description">
Description
<a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L718">[src]</a>
</h4>
<div class="docblock">
<p>Set date in <span class="caps">UTC</span> time until harvested content is expected
to stay&nbsp;alive.</p>
<p>This is used for harvest caching, so next time user requests to
play the same <span class="caps">URI</span>, recently harvested data can be reused without
the need to run <a href="vfunc.Extractable.extract.html"><code>Clapper.ExtractableInterface.extract</code></a>&nbsp;again.</p>
</div>
<div class="docblock">
<p>Available since: 0.10</p>
</div>
</div>
<div class="parameters toggle-wrapper">
<h4 id="parameters">
Parameters
<a href="#parameters" class="anchor"></a>
</h4>
<div class="docblock">
<dl class="arguments">
<dt class="arg-name"><code>date_utc</code></dt>
<dd class="arg-description">
<p><em>Type:</em>&nbsp;<a href="javascript:void(0)" data-link="struct.DateTime.html" data-namespace="GLib" class="external"><code>GDateTime</code></a></p>
<p>A <code>GDateTime</code> in <span class="caps">UTC</span>&nbsp;time.</p>
<table>
<tr><td title="transfer: none">The data is owned by the caller of the method.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
</section>
</section>
<section id="search" class="content hidden"></section>
<footer>
</footer>
</div>
</body>
</html>

View File

@@ -0,0 +1,236 @@
<!--
SPDX-FileCopyrightText: Rafał Dzięgiel
SPDX-License-Identifier: LGPL-2.1-or-later
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Clapper.Harvest.set_expiration_seconds</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta property="og:type" content="website"/>
<meta property="og:image:width" content="256"/>
<meta property="og:image:height" content="256"/>
<meta property="og:image:secure_url" content="clapper-logo.svg"/>
<meta property="og:image:alt" content="Clapper-0.0"/>
<meta priority="og:title" content="Clapper.Harvest.set_expiration_seconds"/>
<meta priority="og:description" content="Reference for Clapper.Harvest.set_expiration_seconds"/>
<meta name="twitter:title" content="Clapper.Harvest.set_expiration_seconds"/>
<meta name="twitter:description" content="Reference for Clapper.Harvest.set_expiration_seconds"/>
<meta name="twitter:card" content="summary"/>
<link rel="search" type="application/opensearchdescription+xml" title="Clapper" href="opensearch.xml">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="urlmap.js"></script>
<script src="fzy.js"></script>
<script src="search.js"></script>
<script src="main.js"></script>
</head>
<body>
<div id="body-wrapper" tabindex="-1">
<nav class="sidebar devhelp-hidden">
<div class="section">
<a href="index.html"><img src="clapper-logo.svg" class="logo"/></a>
</div>
<div class="search section">
<form id="search-form" autocomplete="off">
<input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
</form>
</div>
<div class="section namespace">
<h3><a href="index.html">Clapper</a></h3>
<p>API Version: 0.0</p>
<p>Library Version: 0.9.0</p>
</div>
<div class="section">
<h5>Type</h5>
<div class="links">
<a href="class.Harvest.html">Harvest</a>
</div>
</div>
<div class="section">
<h5>Methods</h5>
<div class="links">
<a class="method" href="method.Harvest.fill.html">fill</a>
<a class="method" href="method.Harvest.fill_with_bytes.html">fill_with_bytes</a>
<a class="method" href="method.Harvest.fill_with_text.html">fill_with_text</a>
<a class="method" href="method.Harvest.headers_set.html">headers_set</a>
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method current" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
<a class="method" href="method.Harvest.toc_add.html">toc_add</a>
</div>
</div>
<div class="section generator">
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.3</p>
</div>
</nav>
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
<section id="main" class="content">
<header>
<h3>Method</h3>
<h1><a href="index.html">Clapper</a><span class="sep"></span><a href="class.Harvest.html">Harvest</a><span class="sep"></span>set_expiration_seconds</h1>
</header>
<section>
<div class="docblock">
<p><span class="emblem available-next" title="This method will be available in the next stable release">unstable</span>&nbsp;<span class="emblem available">since: 0.10</span></p>
</div>
<div class="declaration toggle-wrapper">
<h4 style="display:flex;" id="declaration">
Declaration
<a class="anchor" href="#declaration"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.h#L68">[src]</a>
</h4>
<div class="docblock c-decl">
<pre><code><div class="highlight"><pre><span></span><span class="kt">void</span>
<span class="n">clapper_harvest_set_expiration_seconds</span><span class="w"> </span><span class="p">(</span>
<span class="w"> </span><span class="n">ClapperHarvest</span><span class="o">*</span><span class="w"> </span><span class="n">harvest</span><span class="p">,</span>
<span class="w"> </span><span class="n">gdouble</span><span class="w"> </span><span class="n">seconds</span>
<span class="p">)</span>
</pre></div>
</code></pre>
</div>
</div>
<div class="description toggle-wrapper">
<h4 style="display:flex;" id="description">
Description
<a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L742">[src]</a>
</h4>
<div class="docblock">
<p>Set amount of seconds for how long harvested content is
expected to stay&nbsp;alive.</p>
<p>Alternative function to <a href="method.Harvest.set_expiration_date_utc.html"><code>clapper_harvest_set_expiration_date_utc()</code></a>,
but takes time as number in seconds from&nbsp;now.</p>
<p>It is safe to pass zero or negative number to this function in
case when calculating time manually and it already&nbsp;expired.</p>
</div>
<div class="docblock">
<p>Available since: 0.10</p>
</div>
</div>
<div class="parameters toggle-wrapper">
<h4 id="parameters">
Parameters
<a href="#parameters" class="anchor"></a>
</h4>
<div class="docblock">
<dl class="arguments">
<dt class="arg-name"><code>seconds</code></dt>
<dd class="arg-description">
<p><em>Type:</em>&nbsp;<code>gdouble</code></p>
<p>Time in seconds until&nbsp;expiration.</p>
<table>
</table>
</dd>
</dl>
</div>
</div>
</section>
</section>
<section id="search" class="content hidden"></section>
<footer>
</footer>
</div>
</body>
</html>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method current" href="method.Harvest.tags_add.html">tags_add</a> <a class="method current" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -153,7 +157,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L235">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L537">[src]</a>
</h4> </h4>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method current" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method current" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -153,7 +157,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L262">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L564">[src]</a>
</h4> </h4>

View File

@@ -99,6 +99,10 @@ SPDX-License-Identifier: LGPL-2.1-or-later
<a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a> <a class="method" href="method.Harvest.headers_set_value.html">headers_set_value</a>
<a class="method" href="method.Harvest.set_expiration_date_utc.html">set_expiration_date_utc</a>
<a class="method" href="method.Harvest.set_expiration_seconds.html">set_expiration_seconds</a>
<a class="method" href="method.Harvest.tags_add.html">tags_add</a> <a class="method" href="method.Harvest.tags_add.html">tags_add</a>
<a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a> <a class="method" href="method.Harvest.tags_add_value.html">tags_add_value</a>
@@ -155,7 +159,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a class="anchor" href="#description"></a> <a class="anchor" href="#description"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L283">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-harvest.c#L585">[src]</a>
</h4> </h4>

View File

@@ -136,7 +136,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a href="#description" class="anchor"></a> <a href="#description" class="anchor"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1184">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1188">[src]</a>
</h4> </h4>

View File

@@ -136,7 +136,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a href="#description" class="anchor"></a> <a href="#description" class="anchor"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1151">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1155">[src]</a>
</h4> </h4>

View File

@@ -136,7 +136,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a href="#description" class="anchor"></a> <a href="#description" class="anchor"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1173">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1177">[src]</a>
</h4> </h4>

View File

@@ -136,7 +136,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a href="#description" class="anchor"></a> <a href="#description" class="anchor"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1162">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1166">[src]</a>
</h4> </h4>

View File

@@ -136,7 +136,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
Description Description
<a href="#description" class="anchor"></a> <a href="#description" class="anchor"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1195">[src]</a> <a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-enhancer-proxy.c#L1199">[src]</a>
</h4> </h4>