88<meta name="generator" content="codedoc v3.8">
99<meta name="author" content="Michael R Sweet">
1010<meta name="language" content="en-US">
11- <meta name="copyright" content="Copyright © 2021-2025 by OpenPrinting. All Rights Reserved.">
11+ <meta name="copyright" content="Copyright © 2021-2026 by OpenPrinting. All Rights Reserved.">
1212<meta name="version" content="3.0.0">
1313<style type="text/css"><!--
1414body {
272272<div class="header">
273273<h1 class="title">CUPS 3.0 Programming Manual</h1>
274274<p>Michael R Sweet</p>
275- <p>Copyright © 2021-2025 by OpenPrinting. All Rights Reserved.</p>
275+ <p>Copyright © 2021-2026 by OpenPrinting. All Rights Reserved.</p>
276276</div>
277277<div class="contents">
278278<h2 class="title">Contents</h2>
@@ -9824,9 +9824,13 @@ <h4 class="parameters">Parameters</h4>
98249824<h4 class="returnvalue">Return Value</h4>
98259825<p class="description">Required size for expanded variables</p>
98269826<h4 class="discussion">Discussion</h4>
9827- <p class="discussion">This function expands IPP data file variables of the form "$name" and
9828- environment variables of the form "$ENV[name]" in the source string to the
9829- destination string. The</p>
9827+ <p class="discussion">This function expands IPP data file variables in "src" of the form "$name" or
9828+ "${name}" and environment variables of the form "$ENV[name]" in the source
9829+ string to the destination buffer. The destination buffer "dst" is filled up
9830+ to "dstsize - 1" bytes to allow for a trailing NUL character.<br>
9831+ <br>
9832+ The return value is the actual required size for all expansions regardless of
9833+ the value of "dstsize".</p>
98309834<h3 class="function"><a id="ippFileGetAttribute">ippFileGetAttribute</a></h3>
98319835<p class="description">Get a single named attribute from an IPP data file.</p>
98329836<p class="code">
@@ -9844,9 +9848,7 @@ <h4 class="returnvalue">Return Value</h4>
98449848<p class="description">Attribute or <code>NULL</code> if none</p>
98459849<h4 class="discussion">Discussion</h4>
98469850<p class="discussion">This function finds the first occurence of a named attribute in the current
9847- IPP attributes in the specified data file. Unlike
9848- <a href="#ippFileGetAttributes"><code>ippFileGetAttributes</code></a>, this function does not clear the attribute
9849- state.</p>
9851+ IPP attributes in the specified data file.</p>
98509852<h3 class="function"><a id="ippFileGetAttributes">ippFileGetAttributes</a></h3>
98519853<p class="description">Get the current set of attributes from an IPP data file.</p>
98529854<p class="code">
0 commit comments