white-space: nowrap;
}
h3 span.info, h4 span.info {
+ border-top-left-radius: 10px;
+ border-top-right-radius: 10px;
float: right;
- font-size: 100%;
+ padding: 3px 6px;
}
ul.code, ul.contents, ul.subcontents {
list-style-type: none;
ul.contents li ul.code, ul.contents li ul.subcontents {
padding-left: 2em;
}
-div.body dl {
- margin-top: 0;
+table.list {
+ border-collapse: collapse;
+ width: 100%;
}
-div.body dt {
- font-style: italic;
- margin-top: 0;
+table.list tr:nth-child(even) {
+ background: rgba(127,127,127,0.1);]n}
+table.list th {
+ border-right: 2px solid gray;
+ font-family: monospace;
+ padding: 5px 10px 5px 2px;
+ text-align: right;
+ vertical-align: top;
}
-div.body dd {
- margin-bottom: 0.5em;
+table.list td {
+ padding: 5px 2px 5px 10px;
+ text-align: left;
+ vertical-align: top;
+ width: 80%;
}
h1.title {
}
<li><a href="#cupsGetDestMediaCount">cupsGetDestMediaCount</a></li>
<li><a href="#cupsGetDestMediaDefault">cupsGetDestMediaDefault</a></li>
<li><a href="#cupsGetDestWithURI">cupsGetDestWithURI</a></li>
+ <li><a href="#cupsGetDests2">cupsGetDests2</a></li>
<li><a href="#cupsGetIntegerOption">cupsGetIntegerOption</a></li>
<li><a href="#cupsGetJobs2">cupsGetJobs2</a></li>
<li><a href="#cupsGetNamedDest">cupsGetNamedDest</a></li>
<li><a href="#cupsGetOption">cupsGetOption</a></li>
<li><a href="#cupsGetPassword2">cupsGetPassword2</a></li>
- <li><a href="#cupsLangDefault">cupsLangDefault</a></li>
- <li><a href="#cupsLangEncoding">cupsLangEncoding</a></li>
- <li><a href="#cupsLangFlush">cupsLangFlush</a></li>
- <li><a href="#cupsLangFree">cupsLangFree</a></li>
- <li><a href="#cupsLangGet">cupsLangGet</a></li>
<li><a href="#cupsLocalizeDestMedia">cupsLocalizeDestMedia</a></li>
<li><a href="#cupsLocalizeDestOption">cupsLocalizeDestOption</a></li>
<li><a href="#cupsLocalizeDestValue">cupsLocalizeDestValue</a></li>
<li><a href="#cupsMakeServerCredentials">cupsMakeServerCredentials</a></li>
- <li><a href="#cupsNotifySubject">cupsNotifySubject</a></li>
- <li><a href="#cupsNotifyText">cupsNotifyText</a></li>
<li><a href="#cupsParseOptions">cupsParseOptions</a></li>
<li><a href="#cupsRemoveDest">cupsRemoveDest</a></li>
<li><a href="#cupsRemoveOption">cupsRemoveOption</a></li>
<li><a href="#cupsSetClientCertCB">cupsSetClientCertCB</a></li>
<li><a href="#cupsSetCredentials">cupsSetCredentials</a></li>
<li><a href="#cupsSetDefaultDest">cupsSetDefaultDest</a></li>
- <li><a href="#cupsSetDests">cupsSetDests</a></li>
<li><a href="#cupsSetDests2">cupsSetDests2</a></li>
<li><a href="#cupsSetEncryption">cupsSetEncryption</a></li>
- <li><a href="#cupsSetPasswordCB">cupsSetPasswordCB</a></li>
<li><a href="#cupsSetPasswordCB2">cupsSetPasswordCB2</a></li>
<li><a href="#cupsSetServer">cupsSetServer</a></li>
<li><a href="#cupsSetServerCertCB">cupsSetServerCertCB</a></li>
<li><a href="#httpReconnect2">httpReconnect2</a></li>
<li><a href="#httpResolveHostname">httpResolveHostname</a></li>
<li><a href="#httpSaveCredentials">httpSaveCredentials</a></li>
- <li><a href="#httpSeparate">httpSeparate</a></li>
- <li><a href="#httpSeparate2">httpSeparate2</a></li>
<li><a href="#httpSeparateURI">httpSeparateURI</a></li>
<li><a href="#httpSetAuthString">httpSetAuthString</a></li>
<li><a href="#httpSetCookie">httpSetCookie</a></li>
<li><a href="#cups_dest_t">cups_dest_t</a></li>
<li><a href="#cups_dinfo_t">cups_dinfo_t</a></li>
<li><a href="#cups_job_t">cups_job_t</a></li>
- <li><a href="#cups_lang_t">cups_lang_t</a></li>
<li><a href="#cups_option_t">cups_option_t</a></li>
<li><a href="#cups_password_cb2_t">cups_password_cb2_t</a></li>
<li><a href="#cups_ptype_t">cups_ptype_t</a></li>
<li><a href="#ipp_res_t">ipp_res_t</a></li>
<li><a href="#ipp_state_t">ipp_state_t</a></li>
<li><a href="#ipp_t">ipp_t</a></li>
- <li><a href="#ipp_uchar_t">ipp_uchar_t</a></li>
</ul></li>
<li><a href="#STRUCTURES">Structures</a><ul class="subcontents">
<li><a href="#cups_dest_s">cups_dest_s</a></li>
<li><a href="#cups_job_s">cups_job_s</a></li>
- <li><a href="#cups_lang_s">cups_lang_s</a></li>
<li><a href="#cups_option_s">cups_option_s</a></li>
<li><a href="#cups_size_s">cups_size_s</a></li>
</ul></li>
<h3 class="function"><a id="cupsAddDest">cupsAddDest</a></h3>
<p class="description">Add a destination to the list of destinations.</p>
<p class="code">
-int cupsAddDest (<br>
-    const char *name,<br>
-    const char *instance,<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> **dests<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Destination name</dd>
-<dt>instance</dt>
- <dd class="description">Instance name or <code>NULL</code> for none/primary</dd>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destinations</dd>
-</dl>
+int cupsAddDest(const char *name, const char *instance, int num_dests, <a href="#cups_dest_t">cups_dest_t</a> **dests);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Destination name</td></tr>
+<tr><th>instance</th>
+ <td class="description">Instance name or <code>NULL</code> for none/primary</td></tr>
+<tr><th>num_dests</th>
+ <td class="description">Number of destinations</td></tr>
+<tr><th>dests</th>
+ <td class="description">Destinations</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New number of destinations</p>
<h4 class="discussion">Discussion</h4>
<br>
Use the <a href="#cupsSaveDests"><code>cupsSaveDests</code></a> function to save the updated list of
destinations to the user's lpoptions file.</p>
-<h3 class="function"><span class="info"> CUPS 2.2.4 </span><a id="cupsAddIntegerOption">cupsAddIntegerOption</a></h3>
+<h3 class="function"><span class="info"> CUPS 2.2.4/macOS 10.13 </span><a id="cupsAddIntegerOption">cupsAddIntegerOption</a></h3>
<p class="description">Add an integer option to an option array.</p>
<p class="code">
-int cupsAddIntegerOption (<br>
-    const char *name,<br>
-    int value,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> **options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Name of option</dd>
-<dt>value</dt>
- <dd class="description">Value of option</dd>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Pointer to options</dd>
-</dl>
+int cupsAddIntegerOption(const char *name, int value, int num_options, <a href="#cups_option_t">cups_option_t</a> **options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Name of option</td></tr>
+<tr><th>value</th>
+ <td class="description">Value of option</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Pointer to options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of options</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="cupsAddOption">cupsAddOption</a></h3>
<p class="description">Add an option to an option array.</p>
<p class="code">
-int cupsAddOption (<br>
-    const char *name,<br>
-    const char *value,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> **options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Name of option</dd>
-<dt>value</dt>
- <dd class="description">Value of option</dd>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Pointer to options</dd>
-</dl>
+int cupsAddOption(const char *name, const char *value, int num_options, <a href="#cups_option_t">cups_option_t</a> **options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Name of option</td></tr>
+<tr><th>value</th>
+ <td class="description">Value of option</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Pointer to options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of options</p>
<h4 class="discussion">Discussion</h4>
<p class="discussion">New option arrays can be initialized simply by passing 0 for the
"num_options" parameter.</p>
-<h3 class="function"><a id="cupsCancelDestJob">cupsCancelDestJob</a></h3>
- <p class="description">Include necessary headers...</p>
-<p class="code">
-ipp_status_t cupsCancelDestJob (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    int job_id<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>job_id</dt>
- <dd class="description">Job ID</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsCancelDestJob">cupsCancelDestJob</a></h3>
<p class="description">Cancel a job on a destination.</p>
+<p class="code">
+ipp_status_t cupsCancelDestJob(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, int job_id);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>job_id</th>
+ <td class="description">Job ID</td></tr>
+</tbody></table>
+<h4 class="returnvalue">Return Value</h4>
+ <p class="description">Status of cancel operation</p>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">The "job_id" is the number returned by cupsCreateDestJob.<br>
<br>
Returns <code>IPP_STATUS_OK</code> on success and
-<code>IPP_STATUS_ERRPR_NOT_AUTHORIZED</code> or
+<code>IPP_STATUS_ERROR_NOT_AUTHORIZED</code> or
<code>IPP_STATUS_ERROR_FORBIDDEN</code> on failure.
</p>
<p class="description">Check that the option and value are supported
by the destination.</p>
<p class="code">
-int cupsCheckDestSupported (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    const char *option,<br>
-    const char *value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>option</dt>
- <dd class="description">Option</dd>
-<dt>value</dt>
- <dd class="description">Value</dd>
-</dl>
+int cupsCheckDestSupported(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, const char *option, const char *value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>option</th>
+ <td class="description">Option</td></tr>
+<tr><th>value</th>
+ <td class="description">Value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if supported, 0 otherwise</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsCloseDestJob">cupsCloseDestJob</a></h3>
<p class="description">Close a job and start printing.</p>
<p class="code">
-ipp_status_t cupsCloseDestJob (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *info,<br>
-    int job_id<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>info</dt>
- <dd class="description">Destination information</dd>
-<dt>job_id</dt>
- <dd class="description">Job ID</dd>
-</dl>
+ipp_status_t cupsCloseDestJob(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *info, int job_id);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>info</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>job_id</th>
+ <td class="description">Job ID</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">IPP status code</p>
<h4 class="discussion">Discussion</h4>
</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsConnectDest">cupsConnectDest</a></h3>
- <p class="description">Connect to the server for a destination.</p>
-<p class="code">
-<a href="#http_t">http_t</a> *cupsConnectDest (<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    unsigned flags,<br>
-    int msec,<br>
-    int *cancel,<br>
-    char *resource,<br>
-    size_t resourcesize,<br>
-    <a href="#cups_dest_cb_t">cups_dest_cb_t</a> cb,<br>
-    void *user_data<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>flags</dt>
- <dd class="description">Connection flags</dd>
-<dt>msec</dt>
- <dd class="description">Timeout in milliseconds</dd>
-<dt>cancel</dt>
- <dd class="description">Pointer to "cancel" variable</dd>
-<dt>resource</dt>
- <dd class="description">Resource buffer</dd>
-<dt>resourcesize</dt>
- <dd class="description">Size of resource buffer</dd>
-<dt>cb</dt>
- <dd class="description">Callback function</dd>
-<dt>user_data</dt>
- <dd class="description">User data pointer</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Connection to server or <code>NULL</code></p>
-<h4 class="discussion">Discussion</h4>
- <p class="discussion">Connect to the destination, returning a new http_t connection object and
-optionally the resource path to use for the destination. These calls will
-block until a connection is made, the timeout expires, the integer pointed
-to by "cancel" is non-zero, or the callback function (or block) returns 0,
-The caller is responsible for calling httpClose() on the returned object.
+ <p class="description">Open a conection to the destination.</p>
+<p class="code">
+<a href="#http_t">http_t</a> *cupsConnectDest(<a href="#cups_dest_t">cups_dest_t</a> *dest, unsigned flags, int msec, int *cancel, char *resource, size_t resourcesize, <a href="#cups_dest_cb_t">cups_dest_cb_t</a> cb, void *user_data);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>flags</th>
+ <td class="description">Connection flags</td></tr>
+<tr><th>msec</th>
+ <td class="description">Timeout in milliseconds</td></tr>
+<tr><th>cancel</th>
+ <td class="description">Pointer to "cancel" variable</td></tr>
+<tr><th>resource</th>
+ <td class="description">Resource buffer</td></tr>
+<tr><th>resourcesize</th>
+ <td class="description">Size of resource buffer</td></tr>
+<tr><th>cb</th>
+ <td class="description">Callback function</td></tr>
+<tr><th>user_data</th>
+ <td class="description">User data pointer</td></tr>
+</tbody></table>
+<h4 class="returnvalue">Return Value</h4>
+ <p class="description">Connection to destination or <code>NULL</code></p>
+<h4 class="discussion">Discussion</h4>
+ <p class="discussion">Connect to the destination, returning a new <code>http_t</code> connection object
+and optionally the resource path to use for the destination. These calls
+will block until a connection is made, the timeout expires, the integer
+pointed to by "cancel" is non-zero, or the callback function (or block)
+returns 0. The caller is responsible for calling <a href="#httpClose"><code>httpClose</code></a> on the
+returned connection.
</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsCopyDest">cupsCopyDest</a></h3>
<p class="description">Copy a destination.</p>
<p class="code">
-int cupsCopyDest (<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> **dests<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>dest</dt>
- <dd class="description">Destination to copy</dd>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destination array</dd>
-</dl>
+int cupsCopyDest(<a href="#cups_dest_t">cups_dest_t</a> *dest, int num_dests, <a href="#cups_dest_t">cups_dest_t</a> **dests);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>dest</th>
+ <td class="description">Destination to copy</td></tr>
+<tr><th>num_dests</th>
+ <td class="description">Number of destinations</td></tr>
+<tr><th>dests</th>
+ <td class="description">Destination array</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New number of destinations</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Get conflicts and resolutions for a new
option/value pair.</p>
<p class="code">
-int cupsCopyDestConflicts (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options,<br>
-    const char *new_option,<br>
-    const char *new_value,<br>
-    int *num_conflicts,<br>
-    <a href="#cups_option_t">cups_option_t</a> **conflicts,<br>
-    int *num_resolved,<br>
-    <a href="#cups_option_t">cups_option_t</a> **resolved<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>num_options</dt>
- <dd class="description">Number of current options</dd>
-<dt>options</dt>
- <dd class="description">Current options</dd>
-<dt>new_option</dt>
- <dd class="description">New option</dd>
-<dt>new_value</dt>
- <dd class="description">New value</dd>
-<dt>num_conflicts</dt>
- <dd class="description">Number of conflicting options</dd>
-<dt>conflicts</dt>
- <dd class="description">Conflicting options</dd>
-<dt>num_resolved</dt>
- <dd class="description">Number of options to resolve</dd>
-<dt>resolved</dt>
- <dd class="description">Resolved options</dd>
-</dl>
+int cupsCopyDestConflicts(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, int num_options, <a href="#cups_option_t">cups_option_t</a> *options, const char *new_option, const char *new_value, int *num_conflicts, <a href="#cups_option_t">cups_option_t</a> **conflicts, int *num_resolved, <a href="#cups_option_t">cups_option_t</a> **resolved);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of current options</td></tr>
+<tr><th>options</th>
+ <td class="description">Current options</td></tr>
+<tr><th>new_option</th>
+ <td class="description">New option</td></tr>
+<tr><th>new_value</th>
+ <td class="description">New value</td></tr>
+<tr><th>num_conflicts</th>
+ <td class="description">Number of conflicting options</td></tr>
+<tr><th>conflicts</th>
+ <td class="description">Conflicting options</td></tr>
+<tr><th>num_resolved</th>
+ <td class="description">Number of options to resolve</td></tr>
+<tr><th>resolved</th>
+ <td class="description">Resolved options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if there is a conflict, 0 if none, -1 on error</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Get the supported values/capabilities for the
destination.</p>
<p class="code">
-<a href="#cups_dinfo_t">cups_dinfo_t</a> *cupsCopyDestInfo (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest<br>
-);</p>
+<a href="#cups_dinfo_t">cups_dinfo_t</a> *cupsCopyDestInfo(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Destination information</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsCreateDestJob">cupsCreateDestJob</a></h3>
<p class="description">Create a job on a destination.</p>
<p class="code">
-ipp_status_t cupsCreateDestJob (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *info,<br>
-    int *job_id,<br>
-    const char *title,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>info</dt>
- <dd class="description">Destination information</dd>
-<dt>job_id</dt>
- <dd class="description">Job ID or 0 on error</dd>
-<dt>title</dt>
- <dd class="description">Job name</dd>
-<dt>num_options</dt>
- <dd class="description">Number of job options</dd>
-<dt>options</dt>
- <dd class="description">Job options</dd>
-</dl>
+ipp_status_t cupsCreateDestJob(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *info, int *job_id, const char *title, int num_options, <a href="#cups_option_t">cups_option_t</a> *options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>info</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>job_id</th>
+ <td class="description">Job ID or 0 on error</td></tr>
+<tr><th>title</th>
+ <td class="description">Job name</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of job options</td></tr>
+<tr><th>options</th>
+ <td class="description">Job options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">IPP status code</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.1.20/macOS 10.4 </span><a id="cupsDoAuthentication">cupsDoAuthentication</a></h3>
<p class="description">Authenticate a request.</p>
<p class="code">
-int cupsDoAuthentication (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *method,<br>
-    const char *resource<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></dd>
-<dt>method</dt>
- <dd class="description">Request method ("GET", "POST", "PUT")</dd>
-<dt>resource</dt>
- <dd class="description">Resource path</dd>
-</dl>
+int cupsDoAuthentication(<a href="#http_t">http_t</a> *http, const char *method, const char *resource);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></td></tr>
+<tr><th>method</th>
+ <td class="description">Request method ("GET", "POST", "PUT")</td></tr>
+<tr><th>resource</th>
+ <td class="description">Resource path</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, -1 on error</p>
<h4 class="discussion">Discussion</h4>
</p>
<h3 class="function"><a id="cupsEncodeOptions">cupsEncodeOptions</a></h3>
- <p class="description"></p>
-<p class="code">
-void cupsEncodeOptions (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">Request to add to</dd>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Options</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
<p class="description">Encode printer options into IPP attributes.</p>
+<p class="code">
+void cupsEncodeOptions(<a href="#ipp_t">ipp_t</a> *ipp, int num_options, <a href="#cups_option_t">cups_option_t</a> *options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">Request to add to</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Options</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">This function adds operation, job, and then subscription attributes,
-in that order. Use the cupsEncodeOptions2() function to add attributes
-for a single group.
-
-</p>
-<h3 class="function"><a id="cupsEncodeOptions2">cupsEncodeOptions2</a></h3>
- <p class="description">Add the options in the proper groups & order...</p>
-<p class="code">
-void cupsEncodeOptions2 (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options,<br>
-    ipp_tag_t group_tag<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">Request to add to</dd>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Options</dd>
-<dt>group_tag</dt>
- <dd class="description">Group to encode</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+in that order. Use the <a href="#cupsEncodeOptions2"><code>cupsEncodeOptions2</code></a> function to add attributes
+for a single group.</p>
+<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="cupsEncodeOptions2">cupsEncodeOptions2</a></h3>
<p class="description">Encode printer options into IPP attributes for a group.</p>
+<p class="code">
+void cupsEncodeOptions2(<a href="#ipp_t">ipp_t</a> *ipp, int num_options, <a href="#cups_option_t">cups_option_t</a> *options, ipp_tag_t group_tag);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">Request to add to</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Options</td></tr>
+<tr><th>group_tag</th>
+ <td class="description">Group to encode</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">This function only adds attributes for a single group. Call this
-function multiple times for each group, or use cupsEncodeOptions()
+function multiple times for each group, or use <a href="#cupsEncodeOptions"><code>cupsEncodeOptions</code></a>
to add the standard groups.
</p>
<h3 class="function"><a id="cupsEncryption">cupsEncryption</a></h3>
<p class="description">Get the current encryption settings.</p>
<p class="code">
-<a href="#http_encryption_t">http_encryption_t</a> cupsEncryption (void);</p>
+<a href="#http_encryption_t">http_encryption_t</a> cupsEncryption(void);</p>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Encryption settings</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsEnumDests">cupsEnumDests</a></h3>
<p class="description">Enumerate available destinations with a callback function.</p>
<p class="code">
-int cupsEnumDests (<br>
-    unsigned flags,<br>
-    int msec,<br>
-    int *cancel,<br>
-    <a href="#cups_ptype_t">cups_ptype_t</a> type,<br>
-    <a href="#cups_ptype_t">cups_ptype_t</a> mask,<br>
-    <a href="#cups_dest_cb_t">cups_dest_cb_t</a> cb,<br>
-    void *user_data<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>flags</dt>
- <dd class="description">Enumeration flags</dd>
-<dt>msec</dt>
- <dd class="description">Timeout in milliseconds, -1 for indefinite</dd>
-<dt>cancel</dt>
- <dd class="description">Pointer to "cancel" variable</dd>
-<dt>type</dt>
- <dd class="description">Printer type bits</dd>
-<dt>mask</dt>
- <dd class="description">Mask for printer type bits</dd>
-<dt>cb</dt>
- <dd class="description">Callback function</dd>
-<dt>user_data</dt>
- <dd class="description">User data</dd>
-</dl>
+int cupsEnumDests(unsigned flags, int msec, int *cancel, <a href="#cups_ptype_t">cups_ptype_t</a> type, <a href="#cups_ptype_t">cups_ptype_t</a> mask, <a href="#cups_dest_cb_t">cups_dest_cb_t</a> cb, void *user_data);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>flags</th>
+ <td class="description">Enumeration flags</td></tr>
+<tr><th>msec</th>
+ <td class="description">Timeout in milliseconds, -1 for indefinite</td></tr>
+<tr><th>cancel</th>
+ <td class="description">Pointer to "cancel" variable</td></tr>
+<tr><th>type</th>
+ <td class="description">Printer type bits</td></tr>
+<tr><th>mask</th>
+ <td class="description">Mask for printer type bits</td></tr>
+<tr><th>cb</th>
+ <td class="description">Callback function</td></tr>
+<tr><th>user_data</th>
+ <td class="description">User data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="cupsFindDestDefault">cupsFindDestDefault</a></h3>
<p class="description">Find the default value(s) for the given option.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *cupsFindDestDefault (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    const char *option<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>option</dt>
- <dd class="description">Option/attribute name</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *cupsFindDestDefault(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, const char *option);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>option</th>
+ <td class="description">Option/attribute name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Default attribute or <code>NULL</code> for none</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="cupsFindDestReady">cupsFindDestReady</a></h3>
<p class="description">Find the default value(s) for the given option.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *cupsFindDestReady (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    const char *option<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>option</dt>
- <dd class="description">Option/attribute name</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *cupsFindDestReady(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, const char *option);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>option</th>
+ <td class="description">Option/attribute name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Default attribute or <code>NULL</code> for none</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="cupsFindDestSupported">cupsFindDestSupported</a></h3>
<p class="description">Find the default value(s) for the given option.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *cupsFindDestSupported (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    const char *option<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>option</dt>
- <dd class="description">Option/attribute name</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *cupsFindDestSupported(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, const char *option);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>option</th>
+ <td class="description">Option/attribute name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Default attribute or <code>NULL</code> for none</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsFinishDestDocument">cupsFinishDestDocument</a></h3>
<p class="description">Finish the current document.</p>
<p class="code">
-ipp_status_t cupsFinishDestDocument (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *info<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>info</dt>
- <dd class="description">Destination information</dd>
-</dl>
+ipp_status_t cupsFinishDestDocument(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *info);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>info</th>
+ <td class="description">Destination information</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of document submission</p>
<h4 class="discussion">Discussion</h4>
<p class="discussion">Returns <code>IPP_STATUS_OK</code> or <code>IPP_STATUS_OK_SUBST</code> on success.
</p>
-<h3 class="function"><a id="cupsFreeDestInfo">cupsFreeDestInfo</a></h3>
- <p class="description">Find and return the attribute...</p>
-<p class="code">
-void cupsFreeDestInfo (<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsFreeDestInfo">cupsFreeDestInfo</a></h3>
<p class="description">Free destination information obtained using
<a href="#cupsCopyDestInfo"><code>cupsCopyDestInfo</code></a>.</p>
-<h3 class="function"><a id="cupsFreeDests">cupsFreeDests</a></h3>
- <p class="description">Block</p>
<p class="code">
-void cupsFreeDests (<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dests<br>
-);</p>
+void cupsFreeDestInfo(<a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destinations</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<table class="list"><tbody>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+</tbody></table>
+<h3 class="function"><a id="cupsFreeDests">cupsFreeDests</a></h3>
<p class="description">Free the memory used by the list of destinations.</p>
-<h3 class="function"><a id="cupsFreeJobs">cupsFreeJobs</a></h3>
- <p class="description">Printer resource</p>
<p class="code">
-void cupsFreeJobs (<br>
-    int num_jobs,<br>
-    <a href="#cups_job_t">cups_job_t</a> *jobs<br>
-);</p>
+void cupsFreeDests(int num_dests, <a href="#cups_dest_t">cups_dest_t</a> *dests);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>num_jobs</dt>
- <dd class="description">Number of jobs</dd>
-<dt>jobs</dt>
- <dd class="description">Jobs</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<table class="list"><tbody>
+<tr><th>num_dests</th>
+ <td class="description">Number of destinations</td></tr>
+<tr><th>dests</th>
+ <td class="description">Destinations</td></tr>
+</tbody></table>
+<h3 class="function"><a id="cupsFreeJobs">cupsFreeJobs</a></h3>
<p class="description">Free memory used by job data.</p>
-<h3 class="function"><a id="cupsFreeOptions">cupsFreeOptions</a></h3>
- <p class="description">Match found; free the old value...</p>
<p class="code">
-void cupsFreeOptions (<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options<br>
-);</p>
+void cupsFreeJobs(int num_jobs, <a href="#cups_job_t">cups_job_t</a> *jobs);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Pointer to options</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<table class="list"><tbody>
+<tr><th>num_jobs</th>
+ <td class="description">Number of jobs</td></tr>
+<tr><th>jobs</th>
+ <td class="description">Jobs</td></tr>
+</tbody></table>
+<h3 class="function"><a id="cupsFreeOptions">cupsFreeOptions</a></h3>
<p class="description">Free all memory used by options.</p>
+<p class="code">
+void cupsFreeOptions(int num_options, <a href="#cups_option_t">cups_option_t</a> *options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Pointer to options</td></tr>
+</tbody></table>
<h3 class="function"><a id="cupsGetDest">cupsGetDest</a></h3>
<p class="description">Get the named destination from the list.</p>
<p class="code">
-<a href="#cups_dest_t">cups_dest_t</a> *cupsGetDest (<br>
-    const char *name,<br>
-    const char *instance,<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dests<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Destination name or <code>NULL</code> for the default destination</dd>
-<dt>instance</dt>
- <dd class="description">Instance name or <code>NULL</code></dd>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destinations</dd>
-</dl>
+<a href="#cups_dest_t">cups_dest_t</a> *cupsGetDest(const char *name, const char *instance, int num_dests, <a href="#cups_dest_t">cups_dest_t</a> *dests);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Destination name or <code>NULL</code> for the default destination</td></tr>
+<tr><th>instance</th>
+ <td class="description">Instance name or <code>NULL</code></td></tr>
+<tr><th>num_dests</th>
+ <td class="description">Number of destinations</td></tr>
+<tr><th>dests</th>
+ <td class="description">Destinations</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Destination pointer or <code>NULL</code></p>
<h4 class="discussion">Discussion</h4>
- <p class="discussion">Use the <a href="#cupsGetDests"><code>cupsGetDests</code></a> or <a href="#cupsGetDests2"><code>cupsGetDests2</code></a> functions to get a
+ <p class="discussion">Use the <a href="#cupsEnumDests"><code>cupsEnumDests</code></a> or <a href="#cupsGetDests2"><code>cupsGetDests2</code></a> functions to get a
list of supported destinations for the current user.</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="cupsGetDestMediaByIndex">cupsGetDestMediaByIndex</a></h3>
<p class="description">Get a media name, dimension, and margins for a
specific size.</p>
<p class="code">
-int cupsGetDestMediaByIndex (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    int n,<br>
-    unsigned flags,<br>
-    <a href="#cups_size_t">cups_size_t</a> *size<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>n</dt>
- <dd class="description">Media size number (0-based)</dd>
-<dt>flags</dt>
- <dd class="description">Media flags</dd>
-<dt>size</dt>
- <dd class="description">Media size information</dd>
-</dl>
+int cupsGetDestMediaByIndex(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, int n, unsigned flags, <a href="#cups_size_t">cups_size_t</a> *size);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>n</th>
+ <td class="description">Media size number (0-based)</td></tr>
+<tr><th>flags</th>
+ <td class="description">Media flags</td></tr>
+<tr><th>size</th>
+ <td class="description">Media size information</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsGetDestMediaByName">cupsGetDestMediaByName</a></h3>
<p class="description">Get media names, dimensions, and margins.</p>
<p class="code">
-int cupsGetDestMediaByName (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    const char *media,<br>
-    unsigned flags,<br>
-    <a href="#cups_size_t">cups_size_t</a> *size<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>media</dt>
- <dd class="description">Media name</dd>
-<dt>flags</dt>
- <dd class="description">Media matching flags</dd>
-<dt>size</dt>
- <dd class="description">Media size information</dd>
-</dl>
+int cupsGetDestMediaByName(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, const char *media, unsigned flags, <a href="#cups_size_t">cups_size_t</a> *size);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>media</th>
+ <td class="description">Media name</td></tr>
+<tr><th>flags</th>
+ <td class="description">Media matching flags</td></tr>
+<tr><th>size</th>
+ <td class="description">Media size information</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on match, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsGetDestMediaBySize">cupsGetDestMediaBySize</a></h3>
<p class="description">Get media names, dimensions, and margins.</p>
<p class="code">
-int cupsGetDestMediaBySize (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    int width,<br>
-    int length,<br>
-    unsigned flags,<br>
-    <a href="#cups_size_t">cups_size_t</a> *size<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>width</dt>
- <dd class="description">Media width in hundredths of
-of millimeters</dd>
-<dt>length</dt>
- <dd class="description">Media length in hundredths of
-of millimeters</dd>
-<dt>flags</dt>
- <dd class="description">Media matching flags</dd>
-<dt>size</dt>
- <dd class="description">Media size information</dd>
-</dl>
+int cupsGetDestMediaBySize(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, int width, int length, unsigned flags, <a href="#cups_size_t">cups_size_t</a> *size);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>width</th>
+ <td class="description">Media width in hundredths of
+of millimeters</td></tr>
+<tr><th>length</th>
+ <td class="description">Media length in hundredths of
+of millimeters</td></tr>
+<tr><th>flags</th>
+ <td class="description">Media matching flags</td></tr>
+<tr><th>size</th>
+ <td class="description">Media size information</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on match, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Get the number of sizes supported by a
destination.</p>
<p class="code">
-int cupsGetDestMediaCount (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    unsigned flags<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>flags</dt>
- <dd class="description">Media flags</dd>
-</dl>
+int cupsGetDestMediaCount(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, unsigned flags);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>flags</th>
+ <td class="description">Media flags</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of sizes</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="cupsGetDestMediaDefault">cupsGetDestMediaDefault</a></h3>
<p class="description">Get the default size for a destination.</p>
<p class="code">
-int cupsGetDestMediaDefault (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    unsigned flags,<br>
-    <a href="#cups_size_t">cups_size_t</a> *size<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>flags</dt>
- <dd class="description">Media flags</dd>
-<dt>size</dt>
- <dd class="description">Media size information</dd>
-</dl>
+int cupsGetDestMediaDefault(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, unsigned flags, <a href="#cups_size_t">cups_size_t</a> *size);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>flags</th>
+ <td class="description">Media flags</td></tr>
+<tr><th>size</th>
+ <td class="description">Media size information</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/macOS 10.10 </span><a id="cupsGetDestWithURI">cupsGetDestWithURI</a></h3>
<p class="description">Get a destination associated with a URI.</p>
<p class="code">
-<a href="#cups_dest_t">cups_dest_t</a> *cupsGetDestWithURI (<br>
-    const char *name,<br>
-    const char *uri<br>
-);</p>
+<a href="#cups_dest_t">cups_dest_t</a> *cupsGetDestWithURI(const char *name, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Desired printer name or <code>NULL</code></dd>
-<dt>uri</dt>
- <dd class="description">URI for the printer</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Desired printer name or <code>NULL</code></td></tr>
+<tr><th>uri</th>
+ <td class="description">URI for the printer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Destination or <code>NULL</code></p>
<h4 class="discussion">Discussion</h4>
"uri" is the "ipp" or "ipps" URI for the printer.
</p>
-<h3 class="function"><span class="info"> 2.2.4 </span><a id="cupsGetIntegerOption">cupsGetIntegerOption</a></h3>
+<h3 class="function"><span class="info"> CUPS 1.1.21/macOS 10.4 </span><a id="cupsGetDests2">cupsGetDests2</a></h3>
+ <p class="description">Get the list of destinations from the specified server.</p>
+<p class="code">
+int cupsGetDests2(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> **dests);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></td></tr>
+<tr><th>dests</th>
+ <td class="description">Destinations</td></tr>
+</tbody></table>
+<h4 class="returnvalue">Return Value</h4>
+ <p class="description">Number of destinations</p>
+<h4 class="discussion">Discussion</h4>
+ <p class="discussion">Starting with CUPS 1.2, the returned list of destinations include the
+"printer-info", "printer-is-accepting-jobs", "printer-is-shared",
+"printer-make-and-model", "printer-state", "printer-state-change-time",
+"printer-state-reasons", "printer-type", and "printer-uri-supported"
+attributes as options.<br>
+<br>
+CUPS 1.4 adds the "marker-change-time", "marker-colors",
+"marker-high-levels", "marker-levels", "marker-low-levels", "marker-message",
+"marker-names", "marker-types", and "printer-commands" attributes as options.<br>
+<br>
+CUPS 2.2 adds accessible IPP printers to the list of destinations that can
+be used. The "printer-uri-supported" option will be present for those IPP
+printers that have been recently used.<br>
+<br>
+Use the <a href="#cupsFreeDests"><code>cupsFreeDests</code></a> function to free the destination list and
+the <a href="#cupsGetDest"><code>cupsGetDest</code></a> function to find a particular destination.
+
+</p>
+<h3 class="function"><span class="info"> CUPS 2.2.4/macOS 10.13 </span><a id="cupsGetIntegerOption">cupsGetIntegerOption</a></h3>
<p class="description">Get an integer option value.</p>
<p class="code">
-int cupsGetIntegerOption (<br>
-    const char *name,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Name of option</dd>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Options</dd>
-</dl>
+int cupsGetIntegerOption(const char *name, int num_options, <a href="#cups_option_t">cups_option_t</a> *options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Name of option</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Option value or <code>INT_MIN</code></p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.1.21/macOS 10.4 </span><a id="cupsGetJobs2">cupsGetJobs2</a></h3>
<p class="description">Get the jobs from the specified server.</p>
<p class="code">
-int cupsGetJobs2 (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_job_t">cups_job_t</a> **jobs,<br>
-    const char *name,<br>
-    int myjobs,<br>
-    int whichjobs<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></dd>
-<dt>jobs</dt>
- <dd class="description">Job data</dd>
-<dt>name</dt>
- <dd class="description"><code>NULL</code> = all destinations, otherwise show jobs for named destination</dd>
-<dt>myjobs</dt>
- <dd class="description">0 = all users, 1 = mine</dd>
-<dt>whichjobs</dt>
- <dd class="description"><code>CUPS_WHICHJOBS_ALL</code>, <code>CUPS_WHICHJOBS_ACTIVE</code>, or <code>CUPS_WHICHJOBS_COMPLETED</code></dd>
-</dl>
+int cupsGetJobs2(<a href="#http_t">http_t</a> *http, <a href="#cups_job_t">cups_job_t</a> **jobs, const char *name, int myjobs, int whichjobs);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></td></tr>
+<tr><th>jobs</th>
+ <td class="description">Job data</td></tr>
+<tr><th>name</th>
+ <td class="description"><code>NULL</code> = all destinations, otherwise show jobs for named destination</td></tr>
+<tr><th>myjobs</th>
+ <td class="description">0 = all users, 1 = mine</td></tr>
+<tr><th>whichjobs</th>
+ <td class="description"><code>CUPS_WHICHJOBS_ALL</code>, <code>CUPS_WHICHJOBS_ACTIVE</code>, or <code>CUPS_WHICHJOBS_COMPLETED</code></td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of jobs</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.4/macOS 10.6 </span><a id="cupsGetNamedDest">cupsGetNamedDest</a></h3>
<p class="description">Get options for the named destination.</p>
<p class="code">
-<a href="#cups_dest_t">cups_dest_t</a> *cupsGetNamedDest (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *name,<br>
-    const char *instance<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></dd>
-<dt>name</dt>
- <dd class="description">Destination name or <code>NULL</code> for the default destination</dd>
-<dt>instance</dt>
- <dd class="description">Instance name or <code>NULL</code></dd>
-</dl>
+<a href="#cups_dest_t">cups_dest_t</a> *cupsGetNamedDest(<a href="#http_t">http_t</a> *http, const char *name, const char *instance);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></td></tr>
+<tr><th>name</th>
+ <td class="description">Destination name or <code>NULL</code> for the default destination</td></tr>
+<tr><th>instance</th>
+ <td class="description">Instance name or <code>NULL</code></td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Destination or <code>NULL</code></p>
<h4 class="discussion">Discussion</h4>
<p class="discussion">This function is optimized for retrieving a single destination and should
-be used instead of <a href="#cupsGetDests"><code>cupsGetDests</code></a> and <a href="#cupsGetDest"><code>cupsGetDest</code></a> when you either
-know the name of the destination or want to print to the default destination.
-If <code>NULL</code> is returned, the destination does not exist or there is no
-default destination.<br>
+be used instead of <a href="#cupsGetDests2"><code>cupsGetDests2</code></a> and <a href="#cupsGetDest"><code>cupsGetDest</code></a> when you
+either know the name of the destination or want to print to the default
+destination. If <code>NULL</code> is returned, the destination does not exist or
+there is no default destination.<br>
<br>
If "http" is <code>CUPS_HTTP_DEFAULT</code>, the connection to the default print
server will be used.<br>
<h3 class="function"><a id="cupsGetOption">cupsGetOption</a></h3>
<p class="description">Get an option value.</p>
<p class="code">
-const char *cupsGetOption (<br>
-    const char *name,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Name of option</dd>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Options</dd>
-</dl>
+const char *cupsGetOption(const char *name, int num_options, <a href="#cups_option_t">cups_option_t</a> *options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Name of option</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Option value or <code>NULL</code></p>
<h3 class="function"><span class="info"> CUPS 1.4/macOS 10.6 </span><a id="cupsGetPassword2">cupsGetPassword2</a></h3>
- <p class="description">Get a password from the user using the advanced
+ <p class="description">Get a password from the user using the current
password callback.</p>
<p class="code">
-const char *cupsGetPassword2 (<br>
-    const char *prompt,<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *method,<br>
-    const char *resource<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>prompt</dt>
- <dd class="description">Prompt string</dd>
-<dt>http</dt>
- <dd class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></dd>
-<dt>method</dt>
- <dd class="description">Request method ("GET", "POST", "PUT")</dd>
-<dt>resource</dt>
- <dd class="description">Resource path</dd>
-</dl>
+const char *cupsGetPassword2(const char *prompt, <a href="#http_t">http_t</a> *http, const char *method, const char *resource);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>prompt</th>
+ <td class="description">Prompt string</td></tr>
+<tr><th>http</th>
+ <td class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></td></tr>
+<tr><th>method</th>
+ <td class="description">Request method ("GET", "POST", "PUT")</td></tr>
+<tr><th>resource</th>
+ <td class="description">Resource path</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Password</p>
<h4 class="discussion">Discussion</h4>
<br>
Note: The current password callback function is tracked separately for each
thread in a program. Multi-threaded programs that override the setting via
-the <a href="#cupsSetPasswordCB"><code>cupsSetPasswordCB</code></a> or <a href="#cupsSetPasswordCB2"><code>cupsSetPasswordCB2</code></a> functions need to
-do so in each thread for the same function to be used.
+the <a href="#cupsSetPasswordCB2"><code>cupsSetPasswordCB2</code></a> function need to do so in each thread for the
+same function to be used.
</p>
-<h3 class="function"><a id="cupsLangDefault">cupsLangDefault</a></h3>
- <p class="description">Return the default language.</p>
-<p class="code">
-<a href="#cups_lang_t">cups_lang_t</a> *cupsLangDefault (void);</p>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Language data</p>
-<h3 class="function"><a id="cupsLangEncoding">cupsLangEncoding</a></h3>
- <p class="description">Return the character encoding (us-ascii, etc.)
-for the given language.</p>
-<p class="code">
-const char *cupsLangEncoding (<br>
-    <a href="#cups_lang_t">cups_lang_t</a> *lang<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>lang</dt>
- <dd class="description">Language data</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Character encoding</p>
-<h3 class="function"><a id="cupsLangFlush">cupsLangFlush</a></h3>
- <p class="description">Language data</p>
-<p class="code">
-void cupsLangFlush (void);</p>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Flush all language data out of the cache.</p>
-<h3 class="function"><a id="cupsLangFree">cupsLangFree</a></h3>
- <p class="description">Then free the language structure itself...</p>
-<p class="code">
-void cupsLangFree (<br>
-    <a href="#cups_lang_t">cups_lang_t</a> *lang<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>lang</dt>
- <dd class="description">Language to free</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Free language data.</p>
- <p class="discussion">This does not actually free anything; use <a href="#cupsLangFlush"><code>cupsLangFlush</code></a> for that.</p>
-<h3 class="function"><a id="cupsLangGet">cupsLangGet</a></h3>
- <p class="description">Get a language.</p>
-<p class="code">
-<a href="#cups_lang_t">cups_lang_t</a> *cupsLangGet (<br>
-    const char *language<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>language</dt>
- <dd class="description">Language or locale</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Language data</p>
<h3 class="function"><span class="info"> CUPS 2.0/macOS 10.10 </span><a id="cupsLocalizeDestMedia">cupsLocalizeDestMedia</a></h3>
<p class="description">Get the localized string for a destination media
size.</p>
<p class="code">
-const char *cupsLocalizeDestMedia (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    unsigned flags,<br>
-    <a href="#cups_size_t">cups_size_t</a> *size<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>flags</dt>
- <dd class="description">Media flags</dd>
-<dt>size</dt>
- <dd class="description">Media size</dd>
-</dl>
+const char *cupsLocalizeDestMedia(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, unsigned flags, <a href="#cups_size_t">cups_size_t</a> *size);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>flags</th>
+ <td class="description">Media flags</td></tr>
+<tr><th>size</th>
+ <td class="description">Media size</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Localized string</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Get the localized string for a destination
option.</p>
<p class="code">
-const char *cupsLocalizeDestOption (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    const char *option<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>option</dt>
- <dd class="description">Option to localize</dd>
-</dl>
+const char *cupsLocalizeDestOption(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, const char *option);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>option</th>
+ <td class="description">Option to localize</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Localized string</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Get the localized string for a destination
option+value pair.</p>
<p class="code">
-const char *cupsLocalizeDestValue (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo,<br>
-    const char *option,<br>
-    const char *value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>dinfo</dt>
- <dd class="description">Destination information</dd>
-<dt>option</dt>
- <dd class="description">Option to localize</dd>
-<dt>value</dt>
- <dd class="description">Value to localize</dd>
-</dl>
+const char *cupsLocalizeDestValue(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *dinfo, const char *option, const char *value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>dinfo</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>option</th>
+ <td class="description">Option to localize</td></tr>
+<tr><th>value</th>
+ <td class="description">Value to localize</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Localized string</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="cupsMakeServerCredentials">cupsMakeServerCredentials</a></h3>
<p class="description">Make a self-signed certificate and private key pair.</p>
<p class="code">
-int cupsMakeServerCredentials (<br>
-    const char *path,<br>
-    const char *common_name,<br>
-    int num_alt_names,<br>
-    const char **alt_names,<br>
-    time_t expiration_date<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>path</dt>
- <dd class="description">Keychain path or <code>NULL</code> for default</dd>
-<dt>common_name</dt>
- <dd class="description">Common name</dd>
-<dt>num_alt_names</dt>
- <dd class="description">Number of subject alternate names</dd>
-<dt>alt_names</dt>
- <dd class="description">Subject Alternate Names</dd>
-<dt>expiration_date</dt>
- <dd class="description">Expiration date</dd>
-</dl>
+int cupsMakeServerCredentials(const char *path, const char *common_name, int num_alt_names, const char **alt_names, time_t expiration_date);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>path</th>
+ <td class="description">Keychain path or <code>NULL</code> for default</td></tr>
+<tr><th>common_name</th>
+ <td class="description">Common name</td></tr>
+<tr><th>num_alt_names</th>
+ <td class="description">Number of subject alternate names</td></tr>
+<tr><th>alt_names</th>
+ <td class="description">Subject Alternate Names</td></tr>
+<tr><th>expiration_date</th>
+ <td class="description">Expiration date</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
-<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="cupsNotifySubject">cupsNotifySubject</a></h3>
- <p class="description">Return the subject for the given notification message.</p>
-<p class="code">
-char *cupsNotifySubject (<br>
-    <a href="#cups_lang_t">cups_lang_t</a> *lang,<br>
-    <a href="#ipp_t">ipp_t</a> *event<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>lang</dt>
- <dd class="description">Language data</dd>
-<dt>event</dt>
- <dd class="description">Event data</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Subject string or <code>NULL</code></p>
-<h4 class="discussion">Discussion</h4>
- <p class="discussion">The returned string must be freed by the caller using <code>free</code>.
-
-</p>
-<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="cupsNotifyText">cupsNotifyText</a></h3>
- <p class="description">Return the text for the given notification message.</p>
-<p class="code">
-char *cupsNotifyText (<br>
-    <a href="#cups_lang_t">cups_lang_t</a> *lang,<br>
-    <a href="#ipp_t">ipp_t</a> *event<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>lang</dt>
- <dd class="description">Language data</dd>
-<dt>event</dt>
- <dd class="description">Event data</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Message text or <code>NULL</code></p>
-<h4 class="discussion">Discussion</h4>
- <p class="discussion">The returned string must be freed by the caller using <code>free</code>.
-
-</p>
<h3 class="function"><a id="cupsParseOptions">cupsParseOptions</a></h3>
<p class="description">Parse options from a command-line argument.</p>
<p class="code">
-int cupsParseOptions (<br>
-    const char *arg,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> **options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>arg</dt>
- <dd class="description">Argument to parse</dd>
-<dt>num_options</dt>
- <dd class="description">Number of options</dd>
-<dt>options</dt>
- <dd class="description">Options found</dd>
-</dl>
+int cupsParseOptions(const char *arg, int num_options, <a href="#cups_option_t">cups_option_t</a> **options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>arg</th>
+ <td class="description">Argument to parse</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Options found</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of options found</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.3/macOS 10.5 </span><a id="cupsRemoveDest">cupsRemoveDest</a></h3>
<p class="description">Remove a destination from the destination list.</p>
<p class="code">
-int cupsRemoveDest (<br>
-    const char *name,<br>
-    const char *instance,<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> **dests<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Destination name</dd>
-<dt>instance</dt>
- <dd class="description">Instance name or <code>NULL</code></dd>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destinations</dd>
-</dl>
+int cupsRemoveDest(const char *name, const char *instance, int num_dests, <a href="#cups_dest_t">cups_dest_t</a> **dests);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Destination name</td></tr>
+<tr><th>instance</th>
+ <td class="description">Instance name or <code>NULL</code></td></tr>
+<tr><th>num_dests</th>
+ <td class="description">Number of destinations</td></tr>
+<tr><th>dests</th>
+ <td class="description">Destinations</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New number of destinations</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="cupsRemoveOption">cupsRemoveOption</a></h3>
<p class="description">Remove an option from an option array.</p>
<p class="code">
-int cupsRemoveOption (<br>
-    const char *name,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> **options<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Option name</dd>
-<dt>num_options</dt>
- <dd class="description">Current number of options</dd>
-<dt>options</dt>
- <dd class="description">Options</dd>
-</dl>
+int cupsRemoveOption(const char *name, int num_options, <a href="#cups_option_t">cups_option_t</a> **options);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Option name</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Current number of options</td></tr>
+<tr><th>options</th>
+ <td class="description">Options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New number of options</p>
<h3 class="function"><a id="cupsServer">cupsServer</a></h3>
<p class="description">Return the hostname/address of the current server.</p>
<p class="code">
-const char *cupsServer (void);</p>
+const char *cupsServer(void);</p>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Server name</p>
<h4 class="discussion">Discussion</h4>
Multi-threaded programs that override the server via the
<a href="#cupsSetServer"><code>cupsSetServer</code></a> function need to do so in each thread for the same
server to be used.</p>
-<h3 class="function"><a id="cupsSetClientCertCB">cupsSetClientCertCB</a></h3>
- <p class="description">Pointer to library globals</p>
+<h3 class="function"><span class="info"> CUPS 1.5/macOS 10.7 </span><a id="cupsSetClientCertCB">cupsSetClientCertCB</a></h3>
+ <p class="description">Set the client certificate callback.</p>
<p class="code">
-void cupsSetClientCertCB (<br>
-    <a href="#cups_client_cert_cb_t">cups_client_cert_cb_t</a> cb,<br>
-    void *user_data<br>
-);</p>
+void cupsSetClientCertCB(<a href="#cups_client_cert_cb_t">cups_client_cert_cb_t</a> cb, void *user_data);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cb</dt>
- <dd class="description">Callback function</dd>
-<dt>user_data</dt>
- <dd class="description">User data pointer</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the client certificate callback.</p>
+<table class="list"><tbody>
+<tr><th>cb</th>
+ <td class="description">Callback function</td></tr>
+<tr><th>user_data</th>
+ <td class="description">User data pointer</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">Pass <code>NULL</code> to restore the default callback.<br>
<br>
Note: The current certificate callback is tracked separately for each thread
<p class="description">Set the default credentials to be used for SSL/TLS
connections.</p>
<p class="code">
-int cupsSetCredentials (<br>
-    cups_array_t *credentials<br>
-);</p>
+int cupsSetCredentials(cups_array_t *credentials);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>credentials</dt>
- <dd class="description">Array of credentials</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>credentials</th>
+ <td class="description">Array of credentials</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h4 class="discussion">Discussion</h4>
each thread for the same setting to be used.
</p>
-<h3 class="function"><a id="cupsSetDefaultDest">cupsSetDefaultDest</a></h3>
- <p class="description">Remove the destination from the array...</p>
-<p class="code">
-void cupsSetDefaultDest (<br>
-    const char *name,<br>
-    const char *instance,<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dests<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Destination name</dd>
-<dt>instance</dt>
- <dd class="description">Instance name or <code>NULL</code></dd>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destinations</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<h3 class="function"><span class="info"> CUPS 1.3/macOS 10.5 </span><a id="cupsSetDefaultDest">cupsSetDefaultDest</a></h3>
<p class="description">Set the default destination.</p>
- <p class="discussion"></p>
-<h3 class="function"><a id="cupsSetDests">cupsSetDests</a></h3>
- <p class="description">Loop through the array and set the "is_default" flag for the matching
-destination...</p>
-<p class="code">
-void cupsSetDests (<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dests<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destinations</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Save the list of destinations for the default server.</p>
- <p class="discussion">This function saves the destinations to /etc/cups/lpoptions when run
-as root and ~/.cups/lpoptions when run as a normal user.</p>
+<p class="code">
+void cupsSetDefaultDest(const char *name, const char *instance, int num_dests, <a href="#cups_dest_t">cups_dest_t</a> *dests);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Destination name</td></tr>
+<tr><th>instance</th>
+ <td class="description">Instance name or <code>NULL</code></td></tr>
+<tr><th>num_dests</th>
+ <td class="description">Number of destinations</td></tr>
+<tr><th>dests</th>
+ <td class="description">Destinations</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 1.1.21/macOS 10.4 </span><a id="cupsSetDests2">cupsSetDests2</a></h3>
<p class="description">Save the list of destinations for the specified server.</p>
<p class="code">
-int cupsSetDests2 (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    int num_dests,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dests<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></dd>
-<dt>num_dests</dt>
- <dd class="description">Number of destinations</dd>
-<dt>dests</dt>
- <dd class="description">Destinations</dd>
-</dl>
+int cupsSetDests2(<a href="#http_t">http_t</a> *http, int num_dests, <a href="#cups_dest_t">cups_dest_t</a> *dests);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to server or <code>CUPS_HTTP_DEFAULT</code></td></tr>
+<tr><th>num_dests</th>
+ <td class="description">Number of destinations</td></tr>
+<tr><th>dests</th>
+ <td class="description">Destinations</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, -1 on error</p>
<h4 class="discussion">Discussion</h4>
</p>
<h3 class="function"><a id="cupsSetEncryption">cupsSetEncryption</a></h3>
- <p class="description">Pointer to library globals</p>
+ <p class="description">Set the encryption preference.</p>
<p class="code">
-void cupsSetEncryption (<br>
-    <a href="#http_encryption_t">http_encryption_t</a> e<br>
-);</p>
+void cupsSetEncryption(<a href="#http_encryption_t">http_encryption_t</a> e);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>e</dt>
- <dd class="description">New encryption preference</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the encryption preference.</p>
+<table class="list"><tbody>
+<tr><th>e</th>
+ <td class="description">New encryption preference</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">The default encryption setting comes from the CUPS_ENCRYPTION
environment variable, then the ~/.cups/client.conf file, and finally the
/etc/cups/client.conf file. If not set, the default is
Note: The current encryption setting is tracked separately for each thread
in a program. Multi-threaded programs that override the setting need to do
so in each thread for the same setting to be used.</p>
-<h3 class="function"><a id="cupsSetPasswordCB">cupsSetPasswordCB</a></h3>
- <p class="description">Pointer to library globals</p>
-<p class="code">
-void cupsSetPasswordCB (<br>
-    <a href="#cups_password_cb_t">cups_password_cb_t</a> cb<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cb</dt>
- <dd class="description">Callback function</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the password callback for CUPS.</p>
- <p class="discussion">Pass <code>NULL</code> to restore the default (console) password callback, which
-reads the password from the console. Programs should call either this
-function or <a href="#cupsSetPasswordCB2"><code>cupsSetPasswordCB2</code></a>, as only one callback can be registered
-by a program per thread.<br>
-<br>
-Note: The current password callback is tracked separately for each thread
-in a program. Multi-threaded programs that override the callback need to do
-so in each thread for the same callback to be used.
-
-</p>
-<h3 class="function"><a id="cupsSetPasswordCB2">cupsSetPasswordCB2</a></h3>
- <p class="description">Pointer to library globals</p>
+<h3 class="function"><span class="info"> CUPS 1.4/macOS 10.6 </span><a id="cupsSetPasswordCB2">cupsSetPasswordCB2</a></h3>
+ <p class="description">Set the advanced password callback for CUPS.</p>
<p class="code">
-void cupsSetPasswordCB2 (<br>
-    <a href="#cups_password_cb2_t">cups_password_cb2_t</a> cb,<br>
-    void *user_data<br>
-);</p>
+void cupsSetPasswordCB2(<a href="#cups_password_cb2_t">cups_password_cb2_t</a> cb, void *user_data);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cb</dt>
- <dd class="description">Callback function</dd>
-<dt>user_data</dt>
- <dd class="description">User data pointer</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the advanced password callback for CUPS.</p>
+<table class="list"><tbody>
+<tr><th>cb</th>
+ <td class="description">Callback function</td></tr>
+<tr><th>user_data</th>
+ <td class="description">User data pointer</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">Pass <code>NULL</code> to restore the default (console) password callback, which
reads the password from the console. Programs should call either this
function or <a href="#cupsSetPasswordCB2"><code>cupsSetPasswordCB2</code></a>, as only one callback can be registered
</p>
<h3 class="function"><a id="cupsSetServer">cupsSetServer</a></h3>
- <p class="description">Pointer to library globals</p>
+ <p class="description">Set the default server name and port.</p>
<p class="code">
-void cupsSetServer (<br>
-    const char *server<br>
-);</p>
+void cupsSetServer(const char *server);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>server</dt>
- <dd class="description">Server name</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the default server name and port.</p>
+<table class="list"><tbody>
+<tr><th>server</th>
+ <td class="description">Server name</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">The "server" string can be a fully-qualified hostname, a numeric
IPv4 or IPv6 address, or a domain socket pathname. Hostnames and numeric IP
addresses can be optionally followed by a colon and port number to override
Note: The current server is tracked separately for each thread in a program.
Multi-threaded programs that override the server need to do so in each
thread for the same server to be used.</p>
-<h3 class="function"><a id="cupsSetServerCertCB">cupsSetServerCertCB</a></h3>
- <p class="description">Pointer to library globals</p>
+<h3 class="function"><span class="info"> CUPS 1.5/macOS 10.7 </span><a id="cupsSetServerCertCB">cupsSetServerCertCB</a></h3>
+ <p class="description">Set the server certificate callback.</p>
<p class="code">
-void cupsSetServerCertCB (<br>
-    <a href="#cups_server_cert_cb_t">cups_server_cert_cb_t</a> cb,<br>
-    void *user_data<br>
-);</p>
+void cupsSetServerCertCB(<a href="#cups_server_cert_cb_t">cups_server_cert_cb_t</a> cb, void *user_data);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cb</dt>
- <dd class="description">Callback function</dd>
-<dt>user_data</dt>
- <dd class="description">User data pointer</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the server certificate callback.</p>
+<table class="list"><tbody>
+<tr><th>cb</th>
+ <td class="description">Callback function</td></tr>
+<tr><th>user_data</th>
+ <td class="description">User data pointer</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">Pass <code>NULL</code> to restore the default callback.<br>
<br>
Note: The current credentials callback is tracked separately for each thread
<h3 class="function"><span class="info"> CUPS 2.0/macOS 10.10 </span><a id="cupsSetServerCredentials">cupsSetServerCredentials</a></h3>
<p class="description">Set the default server credentials.</p>
<p class="code">
-int cupsSetServerCredentials (<br>
-    const char *path,<br>
-    const char *common_name,<br>
-    int auto_create<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>path</dt>
- <dd class="description">Keychain path or <code>NULL</code> for default</dd>
-<dt>common_name</dt>
- <dd class="description">Default common name for server</dd>
-<dt>auto_create</dt>
- <dd class="description">1 = automatically create self-signed certificates</dd>
-</dl>
+int cupsSetServerCredentials(const char *path, const char *common_name, int auto_create);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>path</th>
+ <td class="description">Keychain path or <code>NULL</code> for default</td></tr>
+<tr><th>common_name</th>
+ <td class="description">Default common name for server</td></tr>
+<tr><th>auto_create</th>
+ <td class="description">1 = automatically create self-signed certificates</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
</p>
<h3 class="function"><a id="cupsSetUser">cupsSetUser</a></h3>
- <p class="description">Pointer to library globals</p>
+ <p class="description">Set the default user name.</p>
<p class="code">
-void cupsSetUser (<br>
-    const char *user<br>
-);</p>
+void cupsSetUser(const char *user);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>user</dt>
- <dd class="description">User name</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the default user name.</p>
+<table class="list"><tbody>
+<tr><th>user</th>
+ <td class="description">User name</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">Pass <code>NULL</code> to restore the default user name.<br>
<br>
Note: The current user name is tracked separately for each thread in a
program. Multi-threaded programs that override the user name need to do so
in each thread for the same user name to be used.</p>
-<h3 class="function"><a id="cupsSetUserAgent">cupsSetUserAgent</a></h3>
- <p class="description">Pointer to library globals</p>
+<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="cupsSetUserAgent">cupsSetUserAgent</a></h3>
+ <p class="description">Set the default HTTP User-Agent string.</p>
<p class="code">
-void cupsSetUserAgent (<br>
-    const char *user_agent<br>
-);</p>
+void cupsSetUserAgent(const char *user_agent);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>user_agent</dt>
- <dd class="description">User-Agent string or <code>NULL</code></dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the default HTTP User-Agent string.</p>
+<table class="list"><tbody>
+<tr><th>user_agent</th>
+ <td class="description">User-Agent string or <code>NULL</code></td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">Setting the string to NULL forces the default value containing the CUPS
version, IPP version, and operating system version and architecture.
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cupsStartDestDocument">cupsStartDestDocument</a></h3>
<p class="description">Start a new document.</p>
<p class="code">
-http_status_t cupsStartDestDocument (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#cups_dest_t">cups_dest_t</a> *dest,<br>
-    <a href="#cups_dinfo_t">cups_dinfo_t</a> *info,<br>
-    int job_id,<br>
-    const char *docname,<br>
-    const char *format,<br>
-    int num_options,<br>
-    <a href="#cups_option_t">cups_option_t</a> *options,<br>
-    int last_document<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to destination</dd>
-<dt>dest</dt>
- <dd class="description">Destination</dd>
-<dt>info</dt>
- <dd class="description">Destination information</dd>
-<dt>job_id</dt>
- <dd class="description">Job ID</dd>
-<dt>docname</dt>
- <dd class="description">Document name</dd>
-<dt>format</dt>
- <dd class="description">Document format</dd>
-<dt>num_options</dt>
- <dd class="description">Number of document options</dd>
-<dt>options</dt>
- <dd class="description">Document options</dd>
-<dt>last_document</dt>
- <dd class="description">1 if this is the last document</dd>
-</dl>
+http_status_t cupsStartDestDocument(<a href="#http_t">http_t</a> *http, <a href="#cups_dest_t">cups_dest_t</a> *dest, <a href="#cups_dinfo_t">cups_dinfo_t</a> *info, int job_id, const char *docname, const char *format, int num_options, <a href="#cups_option_t">cups_option_t</a> *options, int last_document);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to destination</td></tr>
+<tr><th>dest</th>
+ <td class="description">Destination</td></tr>
+<tr><th>info</th>
+ <td class="description">Destination information</td></tr>
+<tr><th>job_id</th>
+ <td class="description">Job ID</td></tr>
+<tr><th>docname</th>
+ <td class="description">Document name</td></tr>
+<tr><th>format</th>
+ <td class="description">Document format</td></tr>
+<tr><th>num_options</th>
+ <td class="description">Number of document options</td></tr>
+<tr><th>options</th>
+ <td class="description">Document options</td></tr>
+<tr><th>last_document</th>
+ <td class="description">1 if this is the last document</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of document creation</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="cupsUser">cupsUser</a></h3>
<p class="description">Return the current user's name.</p>
<p class="code">
-const char *cupsUser (void);</p>
+const char *cupsUser(void);</p>
<h4 class="returnvalue">Return Value</h4>
<p class="description">User name</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="cupsUserAgent">cupsUserAgent</a></h3>
<p class="description">Return the default HTTP User-Agent string.</p>
<p class="code">
-const char *cupsUserAgent (void);</p>
+const char *cupsUserAgent(void);</p>
<h4 class="returnvalue">Return Value</h4>
<p class="description">User-Agent string</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpAcceptConnection">httpAcceptConnection</a></h3>
<p class="description">Accept a new HTTP client connection from the
specified listening socket.</p>
<p class="code">
-<a href="#http_t">http_t</a> *httpAcceptConnection (<br>
-    int fd,<br>
-    int blocking<br>
-);</p>
+<a href="#http_t">http_t</a> *httpAcceptConnection(int fd, int blocking);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>fd</dt>
- <dd class="description">Listen socket file descriptor</dd>
-<dt>blocking</dt>
- <dd class="description">1 if the connection should be
-blocking, 0 otherwise</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>fd</th>
+ <td class="description">Listen socket file descriptor</td></tr>
+<tr><th>blocking</th>
+ <td class="description">1 if the connection should be
+blocking, 0 otherwise</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">HTTP connection or <code>NULL</code></p>
<h3 class="function"><span class="info"> CUPS 1.5/macOS 10.7 </span><a id="httpAddCredential">httpAddCredential</a></h3>
<p class="description">Allocates and adds a single credential to an array.</p>
<p class="code">
-int httpAddCredential (<br>
-    cups_array_t *credentials,<br>
-    const void *data,<br>
-    size_t datalen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>credentials</dt>
- <dd class="description">Credentials array</dd>
-<dt>data</dt>
- <dd class="description">PEM-encoded X.509 data</dd>
-<dt>datalen</dt>
- <dd class="description">Length of data</dd>
-</dl>
+int httpAddCredential(cups_array_t *credentials, const void *data, size_t datalen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>credentials</th>
+ <td class="description">Credentials array</td></tr>
+<tr><th>data</th>
+ <td class="description">PEM-encoded X.509 data</td></tr>
+<tr><th>datalen</th>
+ <td class="description">Length of data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, -1 on error</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrAny">httpAddrAny</a></h3>
<p class="description">Check for the "any" address.</p>
<p class="code">
-int httpAddrAny (<br>
-    const <a href="#http_addr_t">http_addr_t</a> *addr<br>
-);</p>
+int httpAddrAny(const <a href="#http_addr_t">http_addr_t</a> *addr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address to check</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address to check</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if "any", 0 otherwise</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpAddrClose">httpAddrClose</a></h3>
<p class="description">Close a socket created by <a href="#httpAddrConnect"><code>httpAddrConnect</code></a> or
<a href="#httpAddrListen"><code>httpAddrListen</code></a>.</p>
<p class="code">
-int httpAddrClose (<br>
-    <a href="#http_addr_t">http_addr_t</a> *addr,<br>
-    int fd<br>
-);</p>
+int httpAddrClose(<a href="#http_addr_t">http_addr_t</a> *addr, int fd);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Listen address or <code>NULL</code></dd>
-<dt>fd</dt>
- <dd class="description">Socket file descriptor</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Listen address or <code>NULL</code></td></tr>
+<tr><th>fd</th>
+ <td class="description">Socket file descriptor</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, -1 on failure</p>
<h4 class="discussion">Discussion</h4>
- <p class="discussion">Pass <code>NULL</code> for sockets created with <a href="#httpAddrConnect"><code>httpAddrConnect</code></a> and the
-listen address for sockets created with <a href="#httpAddrListen"><code>httpAddrListen</code></a>. This will
-ensure that domain sockets are removed when closed.
+ <p class="discussion">Pass <code>NULL</code> for sockets created with <a href="#httpAddrConnect2"><code>httpAddrConnect2</code></a> and the
+listen address for sockets created with <a href="#httpAddrListen"><code>httpAddrListen</code></a>. This function
+ensures that domain sockets are removed when closed.
</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpAddrConnect2">httpAddrConnect2</a></h3>
<p class="description">Connect to any of the addresses in the list with a
timeout and optional cancel.</p>
<p class="code">
-<a href="#http_addrlist_t">http_addrlist_t</a> *httpAddrConnect2 (<br>
-    <a href="#http_addrlist_t">http_addrlist_t</a> *addrlist,<br>
-    int *sock,<br>
-    int msec,<br>
-    int *cancel<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addrlist</dt>
- <dd class="description">List of potential addresses</dd>
-<dt>sock</dt>
- <dd class="description">Socket</dd>
-<dt>msec</dt>
- <dd class="description">Timeout in milliseconds</dd>
-<dt>cancel</dt>
- <dd class="description">Pointer to "cancel" variable</dd>
-</dl>
+<a href="#http_addrlist_t">http_addrlist_t</a> *httpAddrConnect2(<a href="#http_addrlist_t">http_addrlist_t</a> *addrlist, int *sock, int msec, int *cancel);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>addrlist</th>
+ <td class="description">List of potential addresses</td></tr>
+<tr><th>sock</th>
+ <td class="description">Socket</td></tr>
+<tr><th>msec</th>
+ <td class="description">Timeout in milliseconds</td></tr>
+<tr><th>cancel</th>
+ <td class="description">Pointer to "cancel" variable</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Connected address or NULL on failure</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpAddrCopyList">httpAddrCopyList</a></h3>
<p class="description">Copy an address list.</p>
<p class="code">
-<a href="#http_addrlist_t">http_addrlist_t</a> *httpAddrCopyList (<br>
-    <a href="#http_addrlist_t">http_addrlist_t</a> *src<br>
-);</p>
+<a href="#http_addrlist_t">http_addrlist_t</a> *httpAddrCopyList(<a href="#http_addrlist_t">http_addrlist_t</a> *src);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>src</dt>
- <dd class="description">Source address list</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>src</th>
+ <td class="description">Source address list</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New address list or <code>NULL</code> on error</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrEqual">httpAddrEqual</a></h3>
<p class="description">Compare two addresses.</p>
<p class="code">
-int httpAddrEqual (<br>
-    const <a href="#http_addr_t">http_addr_t</a> *addr1,<br>
-    const <a href="#http_addr_t">http_addr_t</a> *addr2<br>
-);</p>
+int httpAddrEqual(const <a href="#http_addr_t">http_addr_t</a> *addr1, const <a href="#http_addr_t">http_addr_t</a> *addr2);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr1</dt>
- <dd class="description">First address</dd>
-<dt>addr2</dt>
- <dd class="description">Second address</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr1</th>
+ <td class="description">First address</td></tr>
+<tr><th>addr2</th>
+ <td class="description">Second address</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if equal, 0 if not</p>
<h3 class="function"><a id="httpAddrFamily">httpAddrFamily</a></h3>
<p class="description">Get the address family of an address.</p>
<p class="code">
-int httpAddrFamily (<br>
-    <a href="#http_addr_t">http_addr_t</a> *addr<br>
-);</p>
+int httpAddrFamily(<a href="#http_addr_t">http_addr_t</a> *addr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Address family</p>
-<h3 class="function"><a id="httpAddrFreeList">httpAddrFreeList</a></h3>
- <p class="description">Current list entry</p>
+<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrFreeList">httpAddrFreeList</a></h3>
+ <p class="description">Free an address list.</p>
<p class="code">
-void httpAddrFreeList (<br>
-    <a href="#http_addrlist_t">http_addrlist_t</a> *addrlist<br>
-);</p>
+void httpAddrFreeList(<a href="#http_addrlist_t">http_addrlist_t</a> *addrlist);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addrlist</dt>
- <dd class="description">Address list to free</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Free an address list.</p>
- <p class="discussion"></p>
+<table class="list"><tbody>
+<tr><th>addrlist</th>
+ <td class="description">Address list to free</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrGetList">httpAddrGetList</a></h3>
<p class="description">Get a list of addresses for a hostname.</p>
<p class="code">
-<a href="#http_addrlist_t">http_addrlist_t</a> *httpAddrGetList (<br>
-    const char *hostname,<br>
-    int family,<br>
-    const char *service<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>hostname</dt>
- <dd class="description">Hostname, IP address, or NULL for passive listen address</dd>
-<dt>family</dt>
- <dd class="description">Address family or AF_UNSPEC</dd>
-<dt>service</dt>
- <dd class="description">Service name or port number</dd>
-</dl>
+<a href="#http_addrlist_t">http_addrlist_t</a> *httpAddrGetList(const char *hostname, int family, const char *service);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>hostname</th>
+ <td class="description">Hostname, IP address, or NULL for passive listen address</td></tr>
+<tr><th>family</th>
+ <td class="description">Address family or AF_UNSPEC</td></tr>
+<tr><th>service</th>
+ <td class="description">Service name or port number</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">List of addresses or NULL</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrLength">httpAddrLength</a></h3>
<p class="description">Return the length of the address in bytes.</p>
<p class="code">
-int httpAddrLength (<br>
-    const <a href="#http_addr_t">http_addr_t</a> *addr<br>
-);</p>
+int httpAddrLength(const <a href="#http_addr_t">http_addr_t</a> *addr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Length in bytes</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpAddrListen">httpAddrListen</a></h3>
<p class="description">Create a listening socket bound to the specified
address and port.</p>
<p class="code">
-int httpAddrListen (<br>
-    <a href="#http_addr_t">http_addr_t</a> *addr,<br>
-    int port<br>
-);</p>
+int httpAddrListen(<a href="#http_addr_t">http_addr_t</a> *addr, int port);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address to bind to</dd>
-<dt>port</dt>
- <dd class="description">Port number to bind to</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address to bind to</td></tr>
+<tr><th>port</th>
+ <td class="description">Port number to bind to</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Socket or -1 on error</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrLocalhost">httpAddrLocalhost</a></h3>
<p class="description">Check for the local loopback address.</p>
<p class="code">
-int httpAddrLocalhost (<br>
-    const <a href="#http_addr_t">http_addr_t</a> *addr<br>
-);</p>
+int httpAddrLocalhost(const <a href="#http_addr_t">http_addr_t</a> *addr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address to check</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address to check</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if local host, 0 otherwise</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrLookup">httpAddrLookup</a></h3>
<p class="description">Lookup the hostname associated with the address.</p>
<p class="code">
-char *httpAddrLookup (<br>
-    const <a href="#http_addr_t">http_addr_t</a> *addr,<br>
-    char *name,<br>
-    int namelen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address to lookup</dd>
-<dt>name</dt>
- <dd class="description">Host name buffer</dd>
-<dt>namelen</dt>
- <dd class="description">Size of name buffer</dd>
-</dl>
+char *httpAddrLookup(const <a href="#http_addr_t">http_addr_t</a> *addr, char *name, int namelen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address to lookup</td></tr>
+<tr><th>name</th>
+ <td class="description">Host name buffer</td></tr>
+<tr><th>namelen</th>
+ <td class="description">Size of name buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Host name</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpAddrPort">httpAddrPort</a></h3>
<p class="description">Get the port number associated with an address.</p>
<p class="code">
-int httpAddrPort (<br>
-    <a href="#http_addr_t">http_addr_t</a> *addr<br>
-);</p>
+int httpAddrPort(<a href="#http_addr_t">http_addr_t</a> *addr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Port number</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAddrString">httpAddrString</a></h3>
<p class="description">Convert an address to a numeric string.</p>
<p class="code">
-char *httpAddrString (<br>
-    const <a href="#http_addr_t">http_addr_t</a> *addr,<br>
-    char *s,<br>
-    int slen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>addr</dt>
- <dd class="description">Address to convert</dd>
-<dt>s</dt>
- <dd class="description">String buffer</dd>
-<dt>slen</dt>
- <dd class="description">Length of string</dd>
-</dl>
+char *httpAddrString(const <a href="#http_addr_t">http_addr_t</a> *addr, char *s, int slen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>addr</th>
+ <td class="description">Address to convert</td></tr>
+<tr><th>s</th>
+ <td class="description">String buffer</td></tr>
+<tr><th>slen</th>
+ <td class="description">Length of string</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Numeric address string</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpAssembleURI">httpAssembleURI</a></h3>
<p class="description">Assemble a uniform resource identifier from its
components.</p>
<p class="code">
-<a href="#http_uri_status_t">http_uri_status_t</a> httpAssembleURI (<br>
-    <a href="#http_uri_coding_t">http_uri_coding_t</a> encoding,<br>
-    char *uri,<br>
-    int urilen,<br>
-    const char *scheme,<br>
-    const char *username,<br>
-    const char *host,<br>
-    int port,<br>
-    const char *resource<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>encoding</dt>
- <dd class="description">Encoding flags</dd>
-<dt>uri</dt>
- <dd class="description">URI buffer</dd>
-<dt>urilen</dt>
- <dd class="description">Size of URI buffer</dd>
-<dt>scheme</dt>
- <dd class="description">Scheme name</dd>
-<dt>username</dt>
- <dd class="description">Username</dd>
-<dt>host</dt>
- <dd class="description">Hostname or address</dd>
-<dt>port</dt>
- <dd class="description">Port number</dd>
-<dt>resource</dt>
- <dd class="description">Resource</dd>
-</dl>
+<a href="#http_uri_status_t">http_uri_status_t</a> httpAssembleURI(<a href="#http_uri_coding_t">http_uri_coding_t</a> encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resource);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>encoding</th>
+ <td class="description">Encoding flags</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI buffer</td></tr>
+<tr><th>urilen</th>
+ <td class="description">Size of URI buffer</td></tr>
+<tr><th>scheme</th>
+ <td class="description">Scheme name</td></tr>
+<tr><th>username</th>
+ <td class="description">Username</td></tr>
+<tr><th>host</th>
+ <td class="description">Hostname or address</td></tr>
+<tr><th>port</th>
+ <td class="description">Port number</td></tr>
+<tr><th>resource</th>
+ <td class="description">Resource</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">URI status</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Assemble a uniform resource identifier from its
components with a formatted resource.</p>
<p class="code">
-<a href="#http_uri_status_t">http_uri_status_t</a> httpAssembleURIf (<br>
-    <a href="#http_uri_coding_t">http_uri_coding_t</a> encoding,<br>
-    char *uri,<br>
-    int urilen,<br>
-    const char *scheme,<br>
-    const char *username,<br>
-    const char *host,<br>
-    int port,<br>
-    const char *resourcef,<br>
-    ...<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>encoding</dt>
- <dd class="description">Encoding flags</dd>
-<dt>uri</dt>
- <dd class="description">URI buffer</dd>
-<dt>urilen</dt>
- <dd class="description">Size of URI buffer</dd>
-<dt>scheme</dt>
- <dd class="description">Scheme name</dd>
-<dt>username</dt>
- <dd class="description">Username</dd>
-<dt>host</dt>
- <dd class="description">Hostname or address</dd>
-<dt>port</dt>
- <dd class="description">Port number</dd>
-<dt>resourcef</dt>
- <dd class="description">Printf-style resource</dd>
-<dt>...</dt>
- <dd class="description">Additional arguments as needed</dd>
-</dl>
+<a href="#http_uri_status_t">http_uri_status_t</a> httpAssembleURIf(<a href="#http_uri_coding_t">http_uri_coding_t</a> encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resourcef, ...);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>encoding</th>
+ <td class="description">Encoding flags</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI buffer</td></tr>
+<tr><th>urilen</th>
+ <td class="description">Size of URI buffer</td></tr>
+<tr><th>scheme</th>
+ <td class="description">Scheme name</td></tr>
+<tr><th>username</th>
+ <td class="description">Username</td></tr>
+<tr><th>host</th>
+ <td class="description">Hostname or address</td></tr>
+<tr><th>port</th>
+ <td class="description">Port number</td></tr>
+<tr><th>resourcef</th>
+ <td class="description">Printf-style resource</td></tr>
+<tr><th>...</th>
+ <td class="description">Additional arguments as needed</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">URI status</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpAssembleUUID">httpAssembleUUID</a></h3>
<p class="description">Assemble a name-based UUID URN conforming to RFC 4122.</p>
<p class="code">
-char *httpAssembleUUID (<br>
-    const char *server,<br>
-    int port,<br>
-    const char *name,<br>
-    int number,<br>
-    char *buffer,<br>
-    size_t bufsize<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>server</dt>
- <dd class="description">Server name</dd>
-<dt>port</dt>
- <dd class="description">Port number</dd>
-<dt>name</dt>
- <dd class="description">Object name or NULL</dd>
-<dt>number</dt>
- <dd class="description">Object number or 0</dd>
-<dt>buffer</dt>
- <dd class="description">String buffer</dd>
-<dt>bufsize</dt>
- <dd class="description">Size of buffer</dd>
-</dl>
+char *httpAssembleUUID(const char *server, int port, const char *name, int number, char *buffer, size_t bufsize);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>server</th>
+ <td class="description">Server name</td></tr>
+<tr><th>port</th>
+ <td class="description">Port number</td></tr>
+<tr><th>name</th>
+ <td class="description">Object name or NULL</td></tr>
+<tr><th>number</th>
+ <td class="description">Object number or 0</td></tr>
+<tr><th>buffer</th>
+ <td class="description">String buffer</td></tr>
+<tr><th>bufsize</th>
+ <td class="description">Size of buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">UUID string</p>
<h4 class="discussion">Discussion</h4>
</p>
<h3 class="function"><a id="httpBlocking">httpBlocking</a></h3>
- <p class="description">Credential data</p>
+ <p class="description">Set blocking/non-blocking behavior on a connection.</p>
<p class="code">
-void httpBlocking (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    int b<br>
-);</p>
+void httpBlocking(<a href="#http_t">http_t</a> *http, int b);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>b</dt>
- <dd class="description">1 = blocking, 0 = non-blocking</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set blocking/non-blocking behavior on a connection.</p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>b</th>
+ <td class="description">1 = blocking, 0 = non-blocking</td></tr>
+</tbody></table>
<h3 class="function"><a id="httpCheck">httpCheck</a></h3>
<p class="description">Check to see if there is a pending response from the server.</p>
<p class="code">
-int httpCheck (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+int httpCheck(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 = no data, 1 = data available</p>
-<h3 class="function"><a id="httpClearCookie">httpClearCookie</a></h3>
- <p class="description">HTTP connection</p>
+<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="httpClearCookie">httpClearCookie</a></h3>
+ <p class="description">Clear the cookie value(s).</p>
<p class="code">
-void httpClearCookie (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+void httpClearCookie(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Clear the cookie value(s).</p>
- <p class="discussion"></p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h3 class="function"><a id="httpClearFields">httpClearFields</a></h3>
- <p class="description">HTTP connection</p>
+ <p class="description">Clear HTTP request fields.</p>
<p class="code">
-void httpClearFields (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+void httpClearFields(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Clear HTTP request fields.</p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h3 class="function"><a id="httpClose">httpClose</a></h3>
- <p class="description">HTTP connection</p>
+ <p class="description">Close an HTTP connection.</p>
<p class="code">
-void httpClose (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+void httpClose(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Close an HTTP connection.</p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpCompareCredentials">httpCompareCredentials</a></h3>
<p class="description">Compare two sets of X.509 credentials.</p>
<p class="code">
-int httpCompareCredentials (<br>
-    cups_array_t *cred1,<br>
-    cups_array_t *cred2<br>
-);</p>
+int httpCompareCredentials(cups_array_t *cred1, cups_array_t *cred2);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cred1</dt>
- <dd class="description">First set of X.509 credentials</dd>
-<dt>cred2</dt>
- <dd class="description">Second set of X.509 credentials</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>cred1</th>
+ <td class="description">First set of X.509 credentials</td></tr>
+<tr><th>cred2</th>
+ <td class="description">Second set of X.509 credentials</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if they match, 0 if they do not</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpConnect2">httpConnect2</a></h3>
<p class="description">Connect to a HTTP server.</p>
<p class="code">
-<a href="#http_t">http_t</a> *httpConnect2 (<br>
-    const char *host,<br>
-    int port,<br>
-    <a href="#http_addrlist_t">http_addrlist_t</a> *addrlist,<br>
-    int family,<br>
-    <a href="#http_encryption_t">http_encryption_t</a> encryption,<br>
-    int blocking,<br>
-    int msec,<br>
-    int *cancel<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>host</dt>
- <dd class="description">Host to connect to</dd>
-<dt>port</dt>
- <dd class="description">Port number</dd>
-<dt>addrlist</dt>
- <dd class="description">List of addresses or NULL to lookup</dd>
-<dt>family</dt>
- <dd class="description">Address family to use or <code>AF_UNSPEC</code> for any</dd>
-<dt>encryption</dt>
- <dd class="description">Type of encryption to use</dd>
-<dt>blocking</dt>
- <dd class="description">1 for blocking connection, 0 for non-blocking</dd>
-<dt>msec</dt>
- <dd class="description">Connection timeout in milliseconds, 0 means don't connect</dd>
-<dt>cancel</dt>
- <dd class="description">Pointer to "cancel" variable</dd>
-</dl>
+<a href="#http_t">http_t</a> *httpConnect2(const char *host, int port, <a href="#http_addrlist_t">http_addrlist_t</a> *addrlist, int family, <a href="#http_encryption_t">http_encryption_t</a> encryption, int blocking, int msec, int *cancel);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>host</th>
+ <td class="description">Host to connect to</td></tr>
+<tr><th>port</th>
+ <td class="description">Port number</td></tr>
+<tr><th>addrlist</th>
+ <td class="description">List of addresses or NULL to lookup</td></tr>
+<tr><th>family</th>
+ <td class="description">Address family to use or <code>AF_UNSPEC</code> for any</td></tr>
+<tr><th>encryption</th>
+ <td class="description">Type of encryption to use</td></tr>
+<tr><th>blocking</th>
+ <td class="description">1 for blocking connection, 0 for non-blocking</td></tr>
+<tr><th>msec</th>
+ <td class="description">Connection timeout in milliseconds, 0 means don't connect</td></tr>
+<tr><th>cancel</th>
+ <td class="description">Pointer to "cancel" variable</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New HTTP connection</p>
<h3 class="function"><span class="info"> CUPS 1.5/macOS 10.7 </span><a id="httpCopyCredentials">httpCopyCredentials</a></h3>
<p class="description">Copy the credentials associated with the peer in
an encrypted connection.</p>
<p class="code">
-int httpCopyCredentials (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    cups_array_t **credentials<br>
-);</p>
+int httpCopyCredentials(<a href="#http_t">http_t</a> *http, cups_array_t **credentials);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection to server</dd>
-<dt>credentials</dt>
- <dd class="description">Array of credentials</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection to server</td></tr>
+<tr><th>credentials</th>
+ <td class="description">Array of credentials</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><span class="info"> CUPS 2.0/macOS 10.10 </span><a id="httpCredentialsAreValidForName">httpCredentialsAreValidForName</a></h3>
<p class="description">Return whether the credentials are valid for the given name.</p>
<p class="code">
-int httpCredentialsAreValidForName (<br>
-    cups_array_t *credentials,<br>
-    const char *common_name<br>
-);</p>
+int httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>credentials</dt>
- <dd class="description">Credentials</dd>
-<dt>common_name</dt>
- <dd class="description">Name to check</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>credentials</th>
+ <td class="description">Credentials</td></tr>
+<tr><th>common_name</th>
+ <td class="description">Name to check</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if valid, 0 otherwise</p>
<h3 class="function"><span class="info"> CUPS 2.0/macOS 10.10 </span><a id="httpCredentialsGetExpiration">httpCredentialsGetExpiration</a></h3>
<p class="description">Return the expiration date of the credentials.</p>
<p class="code">
-time_t httpCredentialsGetExpiration (<br>
-    cups_array_t *credentials<br>
-);</p>
+time_t httpCredentialsGetExpiration(cups_array_t *credentials);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>credentials</dt>
- <dd class="description">Credentials</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>credentials</th>
+ <td class="description">Credentials</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Expiration date of credentials</p>
<h3 class="function"><span class="info"> CUPS 2.0/macOS 10.10 </span><a id="httpCredentialsGetTrust">httpCredentialsGetTrust</a></h3>
<p class="description">Return the trust of credentials.</p>
<p class="code">
-<a href="#http_trust_t">http_trust_t</a> httpCredentialsGetTrust (<br>
-    cups_array_t *credentials,<br>
-    const char *common_name<br>
-);</p>
+<a href="#http_trust_t">http_trust_t</a> httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>credentials</dt>
- <dd class="description">Credentials</dd>
-<dt>common_name</dt>
- <dd class="description">Common name for trust lookup</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>credentials</th>
+ <td class="description">Credentials</td></tr>
+<tr><th>common_name</th>
+ <td class="description">Common name for trust lookup</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Level of trust</p>
<h3 class="function"><span class="info"> CUPS 2.0/macOS 10.10 </span><a id="httpCredentialsString">httpCredentialsString</a></h3>
<p class="description">Return a string representing the credentials.</p>
<p class="code">
-size_t httpCredentialsString (<br>
-    cups_array_t *credentials,<br>
-    char *buffer,<br>
-    size_t bufsize<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>credentials</dt>
- <dd class="description">Credentials</dd>
-<dt>buffer</dt>
- <dd class="description">Buffer or <code>NULL</code></dd>
-<dt>bufsize</dt>
- <dd class="description">Size of buffer</dd>
-</dl>
+size_t httpCredentialsString(cups_array_t *credentials, char *buffer, size_t bufsize);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>credentials</th>
+ <td class="description">Credentials</td></tr>
+<tr><th>buffer</th>
+ <td class="description">Buffer or <code>NULL</code></td></tr>
+<tr><th>bufsize</th>
+ <td class="description">Size of buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Total size of credentials string</p>
<h3 class="function"><span class="info"> CUPS 1.1.21/macOS 10.4 </span><a id="httpDecode64_2">httpDecode64_2</a></h3>
<p class="description">Base64-decode a string.</p>
<p class="code">
-char *httpDecode64_2 (<br>
-    char *out,<br>
-    int *outlen,<br>
-    const char *in<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>out</dt>
- <dd class="description">String to write to</dd>
-<dt>outlen</dt>
- <dd class="description">Size of output string</dd>
-<dt>in</dt>
- <dd class="description">String to read from</dd>
-</dl>
+char *httpDecode64_2(char *out, int *outlen, const char *in);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>out</th>
+ <td class="description">String to write to</td></tr>
+<tr><th>outlen</th>
+ <td class="description">Size of output string</td></tr>
+<tr><th>in</th>
+ <td class="description">String to read from</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Decoded string</p>
+<h4 class="discussion">Discussion</h4>
+ <p class="discussion">The caller must initialize "outlen" to the maximum size of the decoded
+string before calling @httpDecode64_2@. On return "outlen" contains the
+decoded length of the string.
+
+</p>
<h3 class="function"><a id="httpDelete">httpDelete</a></h3>
<p class="description">Send a DELETE request to the server.</p>
<p class="code">
-int httpDelete (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *uri<br>
-);</p>
+int httpDelete(<a href="#http_t">http_t</a> *http, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI to delete</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI to delete</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><span class="info"> CUPS 1.1.21/macOS 10.4 </span><a id="httpEncode64_2">httpEncode64_2</a></h3>
<p class="description">Base64-encode a string.</p>
<p class="code">
-char *httpEncode64_2 (<br>
-    char *out,<br>
-    int outlen,<br>
-    const char *in,<br>
-    int inlen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>out</dt>
- <dd class="description">String to write to</dd>
-<dt>outlen</dt>
- <dd class="description">Size of output string</dd>
-<dt>in</dt>
- <dd class="description">String to read from</dd>
-<dt>inlen</dt>
- <dd class="description">Size of input string</dd>
-</dl>
+char *httpEncode64_2(char *out, int outlen, const char *in, int inlen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>out</th>
+ <td class="description">String to write to</td></tr>
+<tr><th>outlen</th>
+ <td class="description">Maximum size of output string</td></tr>
+<tr><th>in</th>
+ <td class="description">String to read from</td></tr>
+<tr><th>inlen</th>
+ <td class="description">Size of input string</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Encoded string</p>
<h3 class="function"><a id="httpEncryption">httpEncryption</a></h3>
<p class="description">Set the required encryption on the link.</p>
<p class="code">
-int httpEncryption (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#http_encryption_t">http_encryption_t</a> e<br>
-);</p>
+int httpEncryption(<a href="#http_t">http_t</a> *http, <a href="#http_encryption_t">http_encryption_t</a> e);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>e</dt>
- <dd class="description">New encryption preference</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>e</th>
+ <td class="description">New encryption preference</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">-1 on error, 0 on success</p>
<h3 class="function"><a id="httpError">httpError</a></h3>
<p class="description">Get the last error on a connection.</p>
<p class="code">
-int httpError (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+int httpError(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Error code (errno) value</p>
<h3 class="function"><a id="httpFieldValue">httpFieldValue</a></h3>
<p class="description">Return the HTTP field enumeration value for a field
name.</p>
<p class="code">
-<a href="#http_field_t">http_field_t</a> httpFieldValue (<br>
-    const char *name<br>
-);</p>
+<a href="#http_field_t">http_field_t</a> httpFieldValue(const char *name);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">String name</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">String name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Field index</p>
<h3 class="function"><a id="httpFlush">httpFlush</a></h3>
- <p class="description">Looping var</p>
+ <p class="description">Flush data from a HTTP connection.</p>
<p class="code">
-void httpFlush (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+void httpFlush(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Flush data from a HTTP connection.</p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpFlushWrite">httpFlushWrite</a></h3>
<p class="description">Flush data in write buffer.</p>
<p class="code">
-int httpFlushWrite (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+int httpFlushWrite(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Bytes written or -1 on error</p>
<h3 class="function"><a id="httpFreeCredentials">httpFreeCredentials</a></h3>
- <p class="description">Bytes written</p>
+ <p class="description">Free an array of credentials.</p>
<p class="code">
-void httpFreeCredentials (<br>
-    cups_array_t *credentials<br>
-);</p>
+void httpFreeCredentials(cups_array_t *credentials);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>credentials</dt>
- <dd class="description">Array of credentials</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Free an array of credentials.</p>
+<table class="list"><tbody>
+<tr><th>credentials</th>
+ <td class="description">Array of credentials</td></tr>
+</tbody></table>
<h3 class="function"><a id="httpGet">httpGet</a></h3>
<p class="description">Send a GET request to the server.</p>
<p class="code">
-int httpGet (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *uri<br>
-);</p>
+int httpGet(<a href="#http_t">http_t</a> *http, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI to get</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI to get</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpGetActivity">httpGetActivity</a></h3>
<p class="description">Get the most recent activity for a connection.</p>
<p class="code">
-time_t httpGetActivity (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+time_t httpGetActivity(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Time of last read or write</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpGetAddress">httpGetAddress</a></h3>
<p class="description">Get the address of the connected peer of a connection.</p>
<p class="code">
-<a href="#http_addr_t">http_addr_t</a> *httpGetAddress (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+<a href="#http_addr_t">http_addr_t</a> *httpGetAddress(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Connected address or <code>NULL</code></p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.3/macOS 10.5 </span><a id="httpGetAuthString">httpGetAuthString</a></h3>
<p class="description">Get the current authorization string.</p>
<p class="code">
-char *httpGetAuthString (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+char *httpGetAuthString(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Authorization string</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpGetBlocking">httpGetBlocking</a></h3>
<p class="description">Get the blocking/non-block state of a connection.</p>
<p class="code">
-int httpGetBlocking (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+int httpGetBlocking(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if blocking, 0 if non-blocking</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpGetContentEncoding">httpGetContentEncoding</a></h3>
<p class="description">Get a common content encoding, if any, between
the client and server.</p>
<p class="code">
-const char *httpGetContentEncoding (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+const char *httpGetContentEncoding(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Content-Coding value or
<code>NULL</code> for the identity
<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="httpGetCookie">httpGetCookie</a></h3>
<p class="description">Get any cookie data from the response.</p>
<p class="code">
-const char *httpGetCookie (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+const char *httpGetCookie(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Cookie data or NULL</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpGetDateString2">httpGetDateString2</a></h3>
<p class="description">Get a formatted date/time string from a time value.</p>
<p class="code">
-const char *httpGetDateString2 (<br>
-    time_t t,<br>
-    char *s,<br>
-    int slen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>t</dt>
- <dd class="description">UNIX time</dd>
-<dt>s</dt>
- <dd class="description">String buffer</dd>
-<dt>slen</dt>
- <dd class="description">Size of string buffer</dd>
-</dl>
+const char *httpGetDateString2(time_t t, char *s, int slen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>t</th>
+ <td class="description">UNIX time</td></tr>
+<tr><th>s</th>
+ <td class="description">String buffer</td></tr>
+<tr><th>slen</th>
+ <td class="description">Size of string buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Date/time string</p>
<h3 class="function"><a id="httpGetDateTime">httpGetDateTime</a></h3>
<p class="description">Get a time value from a formatted date/time string.</p>
<p class="code">
-time_t httpGetDateTime (<br>
-    const char *s<br>
-);</p>
+time_t httpGetDateTime(const char *s);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>s</dt>
- <dd class="description">Date/time string</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>s</th>
+ <td class="description">Date/time string</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">UNIX time</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpGetEncryption">httpGetEncryption</a></h3>
<p class="description">Get the current encryption mode of a connection.</p>
<p class="code">
-<a href="#http_encryption_t">http_encryption_t</a> httpGetEncryption (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+<a href="#http_encryption_t">http_encryption_t</a> httpGetEncryption(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Current encryption mode</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpGetExpect">httpGetExpect</a></h3>
<p class="description">Get the value of the Expect header, if any.</p>
<p class="code">
-http_status_t httpGetExpect (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+http_status_t httpGetExpect(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Expect: status, if any</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpGetFd">httpGetFd</a></h3>
<p class="description">Get the file descriptor associated with a connection.</p>
<p class="code">
-int httpGetFd (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+int httpGetFd(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">File descriptor or -1 if none</p>
<h3 class="function"><a id="httpGetField">httpGetField</a></h3>
<p class="description">Get a field value from a request/response.</p>
<p class="code">
-const char *httpGetField (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#http_field_t">http_field_t</a> field<br>
-);</p>
+const char *httpGetField(<a href="#http_t">http_t</a> *http, <a href="#http_field_t">http_field_t</a> field);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>field</dt>
- <dd class="description">Field to get</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>field</th>
+ <td class="description">Field to get</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Field value</p>
<h3 class="function"><span class="info"> DEPRECATED </span><a id="httpGetHostByName">httpGetHostByName</a></h3>
<p class="description">Lookup a hostname or IPv4 address, and return
address records for the specified name.</p>
<p class="code">
-struct hostent *httpGetHostByName (<br>
-    const char *name<br>
-);</p>
+struct hostent *httpGetHostByName(const char *name);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Hostname or IP address</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Hostname or IP address</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Host entry</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpGetHostname">httpGetHostname</a></h3>
<p class="description">Get the FQDN for the connection or local system.</p>
<p class="code">
-const char *httpGetHostname (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    char *s,<br>
-    int slen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection or NULL</dd>
-<dt>s</dt>
- <dd class="description">String buffer for name</dd>
-<dt>slen</dt>
- <dd class="description">Size of buffer</dd>
-</dl>
+const char *httpGetHostname(<a href="#http_t">http_t</a> *http, char *s, int slen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection or NULL</td></tr>
+<tr><th>s</th>
+ <td class="description">String buffer for name</td></tr>
+<tr><th>slen</th>
+ <td class="description">Size of buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">FQDN for connection or system</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpGetKeepAlive">httpGetKeepAlive</a></h3>
<p class="description">Get the current Keep-Alive state of the connection.</p>
<p class="code">
-<a href="#http_keepalive_t">http_keepalive_t</a> httpGetKeepAlive (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+<a href="#http_keepalive_t">http_keepalive_t</a> httpGetKeepAlive(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Keep-Alive state</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpGetLength2">httpGetLength2</a></h3>
<p class="description">Get the amount of data remaining from the
content-length or transfer-encoding fields.</p>
<p class="code">
-off_t httpGetLength2 (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+off_t httpGetLength2(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Content length</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpGetPending">httpGetPending</a></h3>
<p class="description">Get the number of bytes that are buffered for writing.</p>
<p class="code">
-size_t httpGetPending (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+size_t httpGetPending(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of bytes buffered</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpGetReady">httpGetReady</a></h3>
<p class="description">Get the number of bytes that can be read without blocking.</p>
<p class="code">
-size_t httpGetReady (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+size_t httpGetReady(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of bytes available</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpGetRemaining">httpGetRemaining</a></h3>
<p class="description">Get the number of remaining bytes in the message
body or current chunk.</p>
<p class="code">
-size_t httpGetRemaining (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+size_t httpGetRemaining(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Remaining bytes</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="httpGetState">httpGetState</a></h3>
<p class="description">Get the current state of the HTTP request.</p>
<p class="code">
-<a href="#http_state_t">http_state_t</a> httpGetState (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+<a href="#http_state_t">http_state_t</a> httpGetState(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">HTTP state</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpGetStatus">httpGetStatus</a></h3>
<p class="description">Get the status of the last HTTP request.</p>
<p class="code">
-http_status_t httpGetStatus (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+http_status_t httpGetStatus(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">HTTP status</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpGetSubField2">httpGetSubField2</a></h3>
<p class="description">Get a sub-field value.</p>
<p class="code">
-char *httpGetSubField2 (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#http_field_t">http_field_t</a> field,<br>
-    const char *name,<br>
-    char *value,<br>
-    int valuelen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>field</dt>
- <dd class="description">Field index</dd>
-<dt>name</dt>
- <dd class="description">Name of sub-field</dd>
-<dt>value</dt>
- <dd class="description">Value string</dd>
-<dt>valuelen</dt>
- <dd class="description">Size of value buffer</dd>
-</dl>
+char *httpGetSubField2(<a href="#http_t">http_t</a> *http, <a href="#http_field_t">http_field_t</a> field, const char *name, char *value, int valuelen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>field</th>
+ <td class="description">Field index</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of sub-field</td></tr>
+<tr><th>value</th>
+ <td class="description">Value string</td></tr>
+<tr><th>valuelen</th>
+ <td class="description">Size of value buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Value or NULL</p>
<h3 class="function"><a id="httpGetVersion">httpGetVersion</a></h3>
<p class="description">Get the HTTP version at the other end.</p>
<p class="code">
-<a href="#http_version_t">http_version_t</a> httpGetVersion (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+<a href="#http_version_t">http_version_t</a> httpGetVersion(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Version number</p>
<h3 class="function"><a id="httpGets">httpGets</a></h3>
<p class="description">Get a line of text from a HTTP connection.</p>
<p class="code">
-char *httpGets (<br>
-    char *line,<br>
-    int length,<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>line</dt>
- <dd class="description">Line to read into</dd>
-<dt>length</dt>
- <dd class="description">Max length of buffer</dd>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+char *httpGets(char *line, int length, <a href="#http_t">http_t</a> *http);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>line</th>
+ <td class="description">Line to read into</td></tr>
+<tr><th>length</th>
+ <td class="description">Max length of buffer</td></tr>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Line or NULL</p>
<h3 class="function"><a id="httpHead">httpHead</a></h3>
<p class="description">Send a HEAD request to the server.</p>
<p class="code">
-int httpHead (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *uri<br>
-);</p>
+int httpHead(<a href="#http_t">http_t</a> *http, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI for head</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI for head</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><a id="httpInitialize">httpInitialize</a></h3>
- <p class="description">URI for head</p>
-<p class="code">
-void httpInitialize (void);</p>
-<h4 class="returnvalue">Return Value</h4>
<p class="description">Initialize the HTTP interface library and set the
default HTTP proxy (if any).</p>
+<p class="code">
+void httpInitialize(void);</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpIsChunked">httpIsChunked</a></h3>
<p class="description">Report whether a message body is chunked.</p>
<p class="code">
-int httpIsChunked (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+int httpIsChunked(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if chunked, 0 if not</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpIsEncrypted">httpIsEncrypted</a></h3>
<p class="description">Report whether a connection is encrypted.</p>
<p class="code">
-int httpIsEncrypted (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+int httpIsEncrypted(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if encrypted, 0 if not</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpLoadCredentials">httpLoadCredentials</a></h3>
<p class="description">Load X.509 credentials from a keychain file.</p>
<p class="code">
-int httpLoadCredentials (<br>
-    const char *path,<br>
-    cups_array_t **credentials,<br>
-    const char *common_name<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>path</dt>
- <dd class="description">Keychain path or <code>NULL</code> for default</dd>
-<dt>credentials</dt>
- <dd class="description">Credentials</dd>
-<dt>common_name</dt>
- <dd class="description">Common name for credentials</dd>
-</dl>
+int httpLoadCredentials(const char *path, cups_array_t **credentials, const char *common_name);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>path</th>
+ <td class="description">Keychain path or <code>NULL</code> for default</td></tr>
+<tr><th>credentials</th>
+ <td class="description">Credentials</td></tr>
+<tr><th>common_name</th>
+ <td class="description">Common name for credentials</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, -1 on error</p>
<h3 class="function"><a id="httpOptions">httpOptions</a></h3>
<p class="description">Send an OPTIONS request to the server.</p>
<p class="code">
-int httpOptions (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *uri<br>
-);</p>
+int httpOptions(<a href="#http_t">http_t</a> *http, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI for options</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI for options</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpPeek">httpPeek</a></h3>
<p class="description">Peek at data from a HTTP connection.</p>
<p class="code">
-ssize_t httpPeek (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    char *buffer,<br>
-    size_t length<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>buffer</dt>
- <dd class="description">Buffer for data</dd>
-<dt>length</dt>
- <dd class="description">Maximum number of bytes</dd>
-</dl>
+ssize_t httpPeek(<a href="#http_t">http_t</a> *http, char *buffer, size_t length);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>buffer</th>
+ <td class="description">Buffer for data</td></tr>
+<tr><th>length</th>
+ <td class="description">Maximum number of bytes</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of bytes copied</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="httpPost">httpPost</a></h3>
<p class="description">Send a POST request to the server.</p>
<p class="code">
-int httpPost (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *uri<br>
-);</p>
+int httpPost(<a href="#http_t">http_t</a> *http, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI for post</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI for post</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><a id="httpPut">httpPut</a></h3>
<p class="description">Send a PUT request to the server.</p>
<p class="code">
-int httpPut (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *uri<br>
-);</p>
+int httpPut(<a href="#http_t">http_t</a> *http, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI to put</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI to put</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpRead2">httpRead2</a></h3>
<p class="description">Read data from a HTTP connection.</p>
<p class="code">
-ssize_t httpRead2 (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    char *buffer,<br>
-    size_t length<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>buffer</dt>
- <dd class="description">Buffer for data</dd>
-<dt>length</dt>
- <dd class="description">Maximum number of bytes</dd>
-</dl>
+ssize_t httpRead2(<a href="#http_t">http_t</a> *http, char *buffer, size_t length);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>buffer</th>
+ <td class="description">Buffer for data</td></tr>
+<tr><th>length</th>
+ <td class="description">Maximum number of bytes</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of bytes read</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpReadRequest">httpReadRequest</a></h3>
<p class="description">Read a HTTP request from a connection.</p>
<p class="code">
-<a href="#http_state_t">http_state_t</a> httpReadRequest (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    char *uri,<br>
-    size_t urilen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI buffer</dd>
-<dt>urilen</dt>
- <dd class="description">Size of URI buffer</dd>
-</dl>
+<a href="#http_state_t">http_state_t</a> httpReadRequest(<a href="#http_t">http_t</a> *http, char *uri, size_t urilen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI buffer</td></tr>
+<tr><th>urilen</th>
+ <td class="description">Size of URI buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New state of connection</p>
<h3 class="function"><a id="httpReconnect2">httpReconnect2</a></h3>
<p class="description">Reconnect to a HTTP server with timeout and optional
cancel.</p>
<p class="code">
-int httpReconnect2 (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    int msec,<br>
-    int *cancel<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>msec</dt>
- <dd class="description">Timeout in milliseconds</dd>
-<dt>cancel</dt>
- <dd class="description">Pointer to "cancel" variable</dd>
-</dl>
+int httpReconnect2(<a href="#http_t">http_t</a> *http, int msec, int *cancel);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>msec</th>
+ <td class="description">Timeout in milliseconds</td></tr>
+<tr><th>cancel</th>
+ <td class="description">Pointer to "cancel" variable</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, non-zero on failure</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpResolveHostname">httpResolveHostname</a></h3>
<p class="description">Resolve the hostname of the HTTP connection
address.</p>
<p class="code">
-const char *httpResolveHostname (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    char *buffer,<br>
-    size_t bufsize<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>buffer</dt>
- <dd class="description">Hostname buffer</dd>
-<dt>bufsize</dt>
- <dd class="description">Size of buffer</dd>
-</dl>
+const char *httpResolveHostname(<a href="#http_t">http_t</a> *http, char *buffer, size_t bufsize);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>buffer</th>
+ <td class="description">Hostname buffer</td></tr>
+<tr><th>bufsize</th>
+ <td class="description">Size of buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Resolved hostname or <code>NULL</code></p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpSaveCredentials">httpSaveCredentials</a></h3>
<p class="description">Save X.509 credentials to a keychain file.</p>
<p class="code">
-int httpSaveCredentials (<br>
-    const char *path,<br>
-    cups_array_t *credentials,<br>
-    const char *common_name<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>path</dt>
- <dd class="description">Keychain path or <code>NULL</code> for default</dd>
-<dt>credentials</dt>
- <dd class="description">Credentials</dd>
-<dt>common_name</dt>
- <dd class="description">Common name for credentials</dd>
-</dl>
+int httpSaveCredentials(const char *path, cups_array_t *credentials, const char *common_name);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>path</th>
+ <td class="description">Keychain path or <code>NULL</code> for default</td></tr>
+<tr><th>credentials</th>
+ <td class="description">Credentials</td></tr>
+<tr><th>common_name</th>
+ <td class="description">Common name for credentials</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">-1 on error, 0 on success</p>
-<h3 class="function"><a id="httpSeparate">httpSeparate</a></h3>
- <p class="description">+ 400 year days</p>
-<p class="code">
-void httpSeparate (<br>
-    const char *uri,<br>
-    char *scheme,<br>
-    char *username,<br>
-    char *host,<br>
-    int *port,<br>
-    char *resource<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>uri</dt>
- <dd class="description">Universal Resource Identifier</dd>
-<dt>scheme</dt>
- <dd class="description">Scheme [32] (http, https, etc.)</dd>
-<dt>username</dt>
- <dd class="description">Username [1024]</dd>
-<dt>host</dt>
- <dd class="description">Hostname [1024]</dd>
-<dt>port</dt>
- <dd class="description">Port number to use</dd>
-<dt>resource</dt>
- <dd class="description">Resource/filename [1024]</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Separate a Universal Resource Identifier into its
-components.</p>
- <p class="discussion">This function is deprecated; use the httpSeparateURI() function instead.
-
- </p>
-<h3 class="function"><a id="httpSeparate2">httpSeparate2</a></h3>
- <p class="description">Resource/filename [1024]</p>
-<p class="code">
-void httpSeparate2 (<br>
-    const char *uri,<br>
-    char *scheme,<br>
-    int schemelen,<br>
-    char *username,<br>
-    int usernamelen,<br>
-    char *host,<br>
-    int hostlen,<br>
-    int *port,<br>
-    char *resource,<br>
-    int resourcelen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>uri</dt>
- <dd class="description">Universal Resource Identifier</dd>
-<dt>scheme</dt>
- <dd class="description">Scheme (http, https, etc.)</dd>
-<dt>schemelen</dt>
- <dd class="description">Size of scheme buffer</dd>
-<dt>username</dt>
- <dd class="description">Username</dd>
-<dt>usernamelen</dt>
- <dd class="description">Size of username buffer</dd>
-<dt>host</dt>
- <dd class="description">Hostname</dd>
-<dt>hostlen</dt>
- <dd class="description">Size of hostname buffer</dd>
-<dt>port</dt>
- <dd class="description">Port number to use</dd>
-<dt>resource</dt>
- <dd class="description">Resource/filename</dd>
-<dt>resourcelen</dt>
- <dd class="description">Size of resource buffer</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Separate a Universal Resource Identifier into its
-components.</p>
- <p class="discussion">This function is deprecated; use the httpSeparateURI() function instead.
-
-
- </p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpSeparateURI">httpSeparateURI</a></h3>
<p class="description">Separate a Universal Resource Identifier into its
components.</p>
<p class="code">
-<a href="#http_uri_status_t">http_uri_status_t</a> httpSeparateURI (<br>
-    <a href="#http_uri_coding_t">http_uri_coding_t</a> decoding,<br>
-    const char *uri,<br>
-    char *scheme,<br>
-    int schemelen,<br>
-    char *username,<br>
-    int usernamelen,<br>
-    char *host,<br>
-    int hostlen,<br>
-    int *port,<br>
-    char *resource,<br>
-    int resourcelen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>decoding</dt>
- <dd class="description">Decoding flags</dd>
-<dt>uri</dt>
- <dd class="description">Universal Resource Identifier</dd>
-<dt>scheme</dt>
- <dd class="description">Scheme (http, https, etc.)</dd>
-<dt>schemelen</dt>
- <dd class="description">Size of scheme buffer</dd>
-<dt>username</dt>
- <dd class="description">Username</dd>
-<dt>usernamelen</dt>
- <dd class="description">Size of username buffer</dd>
-<dt>host</dt>
- <dd class="description">Hostname</dd>
-<dt>hostlen</dt>
- <dd class="description">Size of hostname buffer</dd>
-<dt>port</dt>
- <dd class="description">Port number to use</dd>
-<dt>resource</dt>
- <dd class="description">Resource/filename</dd>
-<dt>resourcelen</dt>
- <dd class="description">Size of resource buffer</dd>
-</dl>
+<a href="#http_uri_status_t">http_uri_status_t</a> httpSeparateURI(<a href="#http_uri_coding_t">http_uri_coding_t</a> decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>decoding</th>
+ <td class="description">Decoding flags</td></tr>
+<tr><th>uri</th>
+ <td class="description">Universal Resource Identifier</td></tr>
+<tr><th>scheme</th>
+ <td class="description">Scheme (http, https, etc.)</td></tr>
+<tr><th>schemelen</th>
+ <td class="description">Size of scheme buffer</td></tr>
+<tr><th>username</th>
+ <td class="description">Username</td></tr>
+<tr><th>usernamelen</th>
+ <td class="description">Size of username buffer</td></tr>
+<tr><th>host</th>
+ <td class="description">Hostname</td></tr>
+<tr><th>hostlen</th>
+ <td class="description">Size of hostname buffer</td></tr>
+<tr><th>port</th>
+ <td class="description">Port number to use</td></tr>
+<tr><th>resource</th>
+ <td class="description">Resource/filename</td></tr>
+<tr><th>resourcelen</th>
+ <td class="description">Size of resource buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Result of separation</p>
-<h3 class="function"><a id="httpSetAuthString">httpSetAuthString</a></h3>
- <p class="description">Always do encryption via SSL.</p>
-<p class="code">
-void httpSetAuthString (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *scheme,<br>
-    const char *data<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>scheme</dt>
- <dd class="description">Auth scheme (NULL to clear it)</dd>
-<dt>data</dt>
- <dd class="description">Auth data (NULL for none)</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<h3 class="function"><span class="info"> CUPS 1.3/macOS 10.5 </span><a id="httpSetAuthString">httpSetAuthString</a></h3>
<p class="description">Set the current authorization string.</p>
+<p class="code">
+void httpSetAuthString(<a href="#http_t">http_t</a> *http, const char *scheme, const char *data);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>scheme</th>
+ <td class="description">Auth scheme (NULL to clear it)</td></tr>
+<tr><th>data</th>
+ <td class="description">Auth data (NULL for none)</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">This function just stores a copy of the current authorization string in
the HTTP connection object. You must still call httpSetField() to set
HTTP_FIELD_AUTHORIZATION prior to issuing a HTTP request using httpGet(),
httpHead(), httpOptions(), httpPost, or httpPut().
</p>
-<h3 class="function"><a id="httpSetCookie">httpSetCookie</a></h3>
- <p class="description">Array of credentials</p>
+<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="httpSetCookie">httpSetCookie</a></h3>
+ <p class="description">Set the cookie value(s).</p>
<p class="code">
-void httpSetCookie (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *cookie<br>
-);</p>
+void httpSetCookie(<a href="#http_t">http_t</a> *http, const char *cookie);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">Connection</dd>
-<dt>cookie</dt>
- <dd class="description">Cookie string</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the cookie value(s).</p>
- <p class="discussion"></p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">Connection</td></tr>
+<tr><th>cookie</th>
+ <td class="description">Cookie string</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 1.5/macOS 10.7 </span><a id="httpSetCredentials">httpSetCredentials</a></h3>
<p class="description">Set the credentials associated with an encrypted
connection.</p>
<p class="code">
-int httpSetCredentials (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    cups_array_t *credentials<br>
-);</p>
+int httpSetCredentials(<a href="#http_t">http_t</a> *http, cups_array_t *credentials);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>credentials</dt>
- <dd class="description">Array of credentials</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>credentials</th>
+ <td class="description">Array of credentials</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
-<h3 class="function"><a id="httpSetDefaultField">httpSetDefaultField</a></h3>
- <p class="description">Cookie string</p>
-<p class="code">
-void httpSetDefaultField (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#http_field_t">http_field_t</a> field,<br>
-    const char *value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>field</dt>
- <dd class="description">Field index</dd>
-<dt>value</dt>
- <dd class="description">Value</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpSetDefaultField">httpSetDefaultField</a></h3>
<p class="description">Set the default value of an HTTP header.</p>
+<p class="code">
+void httpSetDefaultField(<a href="#http_t">http_t</a> *http, <a href="#http_field_t">http_field_t</a> field, const char *value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>field</th>
+ <td class="description">Field index</td></tr>
+<tr><th>value</th>
+ <td class="description">Value</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">Currently only <code>HTTP_FIELD_ACCEPT_ENCODING</code>, <code>HTTP_FIELD_SERVER</code>,
and <code>HTTP_FIELD_USER_AGENT</code> can be set.
</p>
-<h3 class="function"><a id="httpSetExpect">httpSetExpect</a></h3>
- <p class="description">Value</p>
+<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpSetExpect">httpSetExpect</a></h3>
+ <p class="description">Set the Expect: header in a request.</p>
<p class="code">
-void httpSetExpect (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    http_status_t expect<br>
-);</p>
+void httpSetExpect(<a href="#http_t">http_t</a> *http, http_status_t expect);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>expect</dt>
- <dd class="description">HTTP status to expect
-(<code>HTTP_STATUS_CONTINUE</code>)</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the Expect: header in a request.</p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>expect</th>
+ <td class="description">HTTP status to expect
+(<code>HTTP_STATUS_CONTINUE</code>)</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">Currently only <code>HTTP_STATUS_CONTINUE</code> is supported for the "expect"
argument.
</p>
<h3 class="function"><a id="httpSetField">httpSetField</a></h3>
- <p class="description">HTTP status to expect
-(<code>HTTP_STATUS_CONTINUE</code>)</p>
-<p class="code">
-void httpSetField (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#http_field_t">http_field_t</a> field,<br>
-    const char *value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>field</dt>
- <dd class="description">Field index</dd>
-<dt>value</dt>
- <dd class="description">Value</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
<p class="description">Set the value of an HTTP header.</p>
-<h3 class="function"><a id="httpSetKeepAlive">httpSetKeepAlive</a></h3>
- <p class="description">Check for a trailing dot on the hostname...</p>
<p class="code">
-void httpSetKeepAlive (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#http_keepalive_t">http_keepalive_t</a> keep_alive<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>keep_alive</dt>
- <dd class="description">New Keep-Alive value</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+void httpSetField(<a href="#http_t">http_t</a> *http, <a href="#http_field_t">http_field_t</a> field, const char *value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>field</th>
+ <td class="description">Field index</td></tr>
+<tr><th>value</th>
+ <td class="description">Value</td></tr>
+</tbody></table>
+<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpSetKeepAlive">httpSetKeepAlive</a></h3>
<p class="description">Set the current Keep-Alive state of a connection.</p>
- <p class="discussion"></p>
-<h3 class="function"><a id="httpSetLength">httpSetLength</a></h3>
- <p class="description">New Keep-Alive value</p>
-<p class="code">
-void httpSetLength (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    size_t length<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>length</dt>
- <dd class="description">Length (0 for chunked)</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<p class="code">
+void httpSetKeepAlive(<a href="#http_t">http_t</a> *http, <a href="#http_keepalive_t">http_keepalive_t</a> keep_alive);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>keep_alive</th>
+ <td class="description">New Keep-Alive value</td></tr>
+</tbody></table>
+<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpSetLength">httpSetLength</a></h3>
<p class="description">Set the content-length and content-encoding.</p>
- <p class="discussion"></p>
-<h3 class="function"><a id="httpSetTimeout">httpSetTimeout</a></h3>
- <p class="description">Length (0 for chunked)</p>
-<p class="code">
-void httpSetTimeout (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    double timeout,<br>
-    <a href="#http_timeout_cb_t">http_timeout_cb_t</a> cb,<br>
-    void *user_data<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>timeout</dt>
- <dd class="description">Number of seconds for timeout,
-must be greater than 0</dd>
-<dt>cb</dt>
- <dd class="description">Callback function or NULL</dd>
-<dt>user_data</dt>
- <dd class="description">User data pointer</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<p class="code">
+void httpSetLength(<a href="#http_t">http_t</a> *http, size_t length);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>length</th>
+ <td class="description">Length (0 for chunked)</td></tr>
+</tbody></table>
+<h3 class="function"><span class="info"> CUPS 1.5/macOS 10.7 </span><a id="httpSetTimeout">httpSetTimeout</a></h3>
<p class="description">Set read/write timeouts and an optional callback.</p>
+<p class="code">
+void httpSetTimeout(<a href="#http_t">http_t</a> *http, double timeout, <a href="#http_timeout_cb_t">http_timeout_cb_t</a> cb, void *user_data);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>timeout</th>
+ <td class="description">Number of seconds for timeout,
+must be greater than 0</td></tr>
+<tr><th>cb</th>
+ <td class="description">Callback function or NULL</td></tr>
+<tr><th>user_data</th>
+ <td class="description">User data pointer</td></tr>
+</tbody></table>
+<h4 class="discussion">Discussion</h4>
<p class="discussion">The optional timeout callback receives both the HTTP connection and a user
data pointer and must return 1 to continue or 0 to error (time) out.
</p>
-<h3 class="function"><a id="httpShutdown">httpShutdown</a></h3>
- <p class="description">User data pointer</p>
+<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpShutdown">httpShutdown</a></h3>
+ <p class="description">Shutdown one side of an HTTP connection.</p>
<p class="code">
-void httpShutdown (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+void httpShutdown(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Shutdown one side of an HTTP connection.</p>
- <p class="discussion"></p>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpStateString">httpStateString</a></h3>
<p class="description">Return the string describing a HTTP state value.</p>
<p class="code">
-const char *httpStateString (<br>
-    <a href="#http_state_t">http_state_t</a> state<br>
-);</p>
+const char *httpStateString(<a href="#http_state_t">http_state_t</a> state);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>state</dt>
- <dd class="description">HTTP state value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>state</th>
+ <td class="description">HTTP state value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">State string</p>
<h3 class="function"><a id="httpStatus">httpStatus</a></h3>
<p class="description">Return a short string describing a HTTP status code.</p>
<p class="code">
-const char *httpStatus (<br>
-    http_status_t status<br>
-);</p>
+const char *httpStatus(http_status_t status);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>status</dt>
- <dd class="description">HTTP status code</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>status</th>
+ <td class="description">HTTP status code</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Localized status string</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="httpTrace">httpTrace</a></h3>
<p class="description">Send an TRACE request to the server.</p>
<p class="code">
-int httpTrace (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *uri<br>
-);</p>
+int httpTrace(<a href="#http_t">http_t</a> *http, const char *uri);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>uri</dt>
- <dd class="description">URI for trace</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>uri</th>
+ <td class="description">URI for trace</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status of call (0 = success)</p>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="httpURIStatusString">httpURIStatusString</a></h3>
<p class="description">Return a string describing a URI status code.</p>
<p class="code">
-const char *httpURIStatusString (<br>
-    <a href="#http_uri_status_t">http_uri_status_t</a> status<br>
-);</p>
+const char *httpURIStatusString(<a href="#http_uri_status_t">http_uri_status_t</a> status);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>status</dt>
- <dd class="description">URI status code</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>status</th>
+ <td class="description">URI status code</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Localized status string</p>
<h3 class="function"><a id="httpUpdate">httpUpdate</a></h3>
<p class="description">Update the current HTTP state for incoming data.</p>
<p class="code">
-http_status_t httpUpdate (<br>
-    <a href="#http_t">http_t</a> *http<br>
-);</p>
+http_status_t httpUpdate(<a href="#http_t">http_t</a> *http);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">HTTP status</p>
<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="httpWait">httpWait</a></h3>
<p class="description">Wait for data available on a connection.</p>
<p class="code">
-int httpWait (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    int msec<br>
-);</p>
+int httpWait(<a href="#http_t">http_t</a> *http, int msec);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>msec</dt>
- <dd class="description">Milliseconds to wait</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>msec</th>
+ <td class="description">Milliseconds to wait</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if data is available, 0 otherwise</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="httpWrite2">httpWrite2</a></h3>
<p class="description">Write data to a HTTP connection.</p>
<p class="code">
-ssize_t httpWrite2 (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    const char *buffer,<br>
-    size_t length<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>buffer</dt>
- <dd class="description">Buffer for data</dd>
-<dt>length</dt>
- <dd class="description">Number of bytes to write</dd>
-</dl>
+ssize_t httpWrite2(<a href="#http_t">http_t</a> *http, const char *buffer, size_t length);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>buffer</th>
+ <td class="description">Buffer for data</td></tr>
+<tr><th>length</th>
+ <td class="description">Number of bytes to write</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of bytes written</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="httpWriteResponse">httpWriteResponse</a></h3>
<p class="description">Write a HTTP response to a client connection.</p>
<p class="code">
-int httpWriteResponse (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    http_status_t status<br>
-);</p>
+int httpWriteResponse(<a href="#http_t">http_t</a> *http, http_status_t status);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>status</dt>
- <dd class="description">Status code</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>status</th>
+ <td class="description">Status code</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, -1 on error</p>
<h3 class="function"><a id="ippAddBoolean">ippAddBoolean</a></h3>
<p class="description">Add a boolean attribute to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddBoolean (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    char value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>value</dt>
- <dd class="description">Value of attribute</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddBoolean(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, char value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>value</th>
+ <td class="description">Value of attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddBooleans">ippAddBooleans</a></h3>
<p class="description">Add an array of boolean values.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddBooleans (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    int num_values,<br>
-    const char *values<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>num_values</dt>
- <dd class="description">Number of values</dd>
-<dt>values</dt>
- <dd class="description">Values</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddBooleans(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, int num_values, const char *values);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>num_values</th>
+ <td class="description">Number of values</td></tr>
+<tr><th>values</th>
+ <td class="description">Values</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="ippAddCollection">ippAddCollection</a></h3>
<p class="description">Add a collection value.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddCollection (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    <a href="#ipp_t">ipp_t</a> *value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>value</dt>
- <dd class="description">Value</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddCollection(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, <a href="#ipp_t">ipp_t</a> *value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>value</th>
+ <td class="description">Value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="ippAddCollections">ippAddCollections</a></h3>
<p class="description">Add an array of collection values.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddCollections (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    int num_values,<br>
-    const <a href="#ipp_t">ipp_t</a> **values<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>num_values</dt>
- <dd class="description">Number of values</dd>
-<dt>values</dt>
- <dd class="description">Values</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddCollections(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, int num_values, const <a href="#ipp_t">ipp_t</a> **values);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>num_values</th>
+ <td class="description">Number of values</td></tr>
+<tr><th>values</th>
+ <td class="description">Values</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddDate">ippAddDate</a></h3>
<p class="description">Add a date attribute to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddDate (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    const <a href="#ipp_uchar_t">ipp_uchar_t</a> *value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>value</dt>
- <dd class="description">Value</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddDate(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, const <a href="#ipp_uchar_t">ipp_uchar_t</a> *value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>value</th>
+ <td class="description">Value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddInteger">ippAddInteger</a></h3>
<p class="description">Add a integer attribute to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddInteger (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    ipp_tag_t value_tag,<br>
-    const char *name,<br>
-    int value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>value_tag</dt>
- <dd class="description">Type of attribute</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>value</dt>
- <dd class="description">Value of attribute</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddInteger(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, int value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Type of attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>value</th>
+ <td class="description">Value of attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddIntegers">ippAddIntegers</a></h3>
<p class="description">Add an array of integer values.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddIntegers (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    ipp_tag_t value_tag,<br>
-    const char *name,<br>
-    int num_values,<br>
-    const int *values<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>value_tag</dt>
- <dd class="description">Type of attribute</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>num_values</dt>
- <dd class="description">Number of values</dd>
-<dt>values</dt>
- <dd class="description">Values</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddIntegers(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, int num_values, const int *values);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Type of attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>num_values</th>
+ <td class="description">Number of values</td></tr>
+<tr><th>values</th>
+ <td class="description">Values</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="ippAddOctetString">ippAddOctetString</a></h3>
<p class="description">Add an octetString value to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddOctetString (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    const void *data,<br>
-    int datalen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>data</dt>
- <dd class="description">octetString data</dd>
-<dt>datalen</dt>
- <dd class="description">Length of data in bytes</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddOctetString(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, const void *data, int datalen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>data</th>
+ <td class="description">octetString data</td></tr>
+<tr><th>datalen</th>
+ <td class="description">Length of data in bytes</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippAddOutOfBand">ippAddOutOfBand</a></h3>
<p class="description">Add an out-of-band value to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddOutOfBand (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    ipp_tag_t value_tag,<br>
-    const char *name<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>value_tag</dt>
- <dd class="description">Type of attribute</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddOutOfBand(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Type of attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddRange">ippAddRange</a></h3>
<p class="description">Add a range of values to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddRange (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    int lower,<br>
-    int upper<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>lower</dt>
- <dd class="description">Lower value</dd>
-<dt>upper</dt>
- <dd class="description">Upper value</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddRange(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, int lower, int upper);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>lower</th>
+ <td class="description">Lower value</td></tr>
+<tr><th>upper</th>
+ <td class="description">Upper value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddRanges">ippAddRanges</a></h3>
<p class="description">Add ranges of values to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddRanges (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    int num_values,<br>
-    const int *lower,<br>
-    const int *upper<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>num_values</dt>
- <dd class="description">Number of values</dd>
-<dt>lower</dt>
- <dd class="description">Lower values</dd>
-<dt>upper</dt>
- <dd class="description">Upper values</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddRanges(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, int num_values, const int *lower, const int *upper);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>num_values</th>
+ <td class="description">Number of values</td></tr>
+<tr><th>lower</th>
+ <td class="description">Lower values</td></tr>
+<tr><th>upper</th>
+ <td class="description">Upper values</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddResolution">ippAddResolution</a></h3>
<p class="description">Add a resolution value to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddResolution (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    <a href="#ipp_res_t">ipp_res_t</a> units,<br>
-    int xres,<br>
-    int yres<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>units</dt>
- <dd class="description">Units for resolution</dd>
-<dt>xres</dt>
- <dd class="description">X resolution</dd>
-<dt>yres</dt>
- <dd class="description">Y resolution</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddResolution(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, <a href="#ipp_res_t">ipp_res_t</a> units, int xres, int yres);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>units</th>
+ <td class="description">Units for resolution</td></tr>
+<tr><th>xres</th>
+ <td class="description">X resolution</td></tr>
+<tr><th>yres</th>
+ <td class="description">Y resolution</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddResolutions">ippAddResolutions</a></h3>
<p class="description">Add resolution values to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddResolutions (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    const char *name,<br>
-    int num_values,<br>
-    <a href="#ipp_res_t">ipp_res_t</a> units,<br>
-    const int *xres,<br>
-    const int *yres<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>num_values</dt>
- <dd class="description">Number of values</dd>
-<dt>units</dt>
- <dd class="description">Units for resolution</dd>
-<dt>xres</dt>
- <dd class="description">X resolutions</dd>
-<dt>yres</dt>
- <dd class="description">Y resolutions</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddResolutions(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, const char *name, int num_values, <a href="#ipp_res_t">ipp_res_t</a> units, const int *xres, const int *yres);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>num_values</th>
+ <td class="description">Number of values</td></tr>
+<tr><th>units</th>
+ <td class="description">Units for resolution</td></tr>
+<tr><th>xres</th>
+ <td class="description">X resolutions</td></tr>
+<tr><th>yres</th>
+ <td class="description">Y resolutions</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddSeparator">ippAddSeparator</a></h3>
<p class="description">Add a group separator to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddSeparator (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddSeparator(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddString">ippAddString</a></h3>
<p class="description">Add a language-encoded string to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddString (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    ipp_tag_t value_tag,<br>
-    const char *name,<br>
-    const char *language,<br>
-    const char *value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>value_tag</dt>
- <dd class="description">Type of attribute</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>language</dt>
- <dd class="description">Language code</dd>
-<dt>value</dt>
- <dd class="description">Value</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddString(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, const char *language, const char *value);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Type of attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>language</th>
+ <td class="description">Language code</td></tr>
+<tr><th>value</th>
+ <td class="description">Value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippAddStringf">ippAddStringf</a></h3>
<p class="description">Add a formatted string to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddStringf (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    ipp_tag_t value_tag,<br>
-    const char *name,<br>
-    const char *language,<br>
-    const char *format,<br>
-    ...<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>value_tag</dt>
- <dd class="description">Type of attribute</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>language</dt>
- <dd class="description">Language code (<code>NULL</code> for default)</dd>
-<dt>format</dt>
- <dd class="description">Printf-style format string</dd>
-<dt>...</dt>
- <dd class="description">Additional arguments as needed</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddStringf(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, const char *language, const char *format, ...);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Type of attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>language</th>
+ <td class="description">Language code (<code>NULL</code> for default)</td></tr>
+<tr><th>format</th>
+ <td class="description">Printf-style format string</td></tr>
+<tr><th>...</th>
+ <td class="description">Additional arguments as needed</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippAddStringfv">ippAddStringfv</a></h3>
<p class="description">Add a formatted string to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddStringfv (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    ipp_tag_t value_tag,<br>
-    const char *name,<br>
-    const char *language,<br>
-    const char *format,<br>
-    va_list ap<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>value_tag</dt>
- <dd class="description">Type of attribute</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>language</dt>
- <dd class="description">Language code (<code>NULL</code> for default)</dd>
-<dt>format</dt>
- <dd class="description">Printf-style format string</dd>
-<dt>ap</dt>
- <dd class="description">Additional arguments</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddStringfv(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, const char *language, const char *format, va_list ap);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Type of attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>language</th>
+ <td class="description">Language code (<code>NULL</code> for default)</td></tr>
+<tr><th>format</th>
+ <td class="description">Printf-style format string</td></tr>
+<tr><th>ap</th>
+ <td class="description">Additional arguments</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippAddStrings">ippAddStrings</a></h3>
<p class="description">Add language-encoded strings to an IPP message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddStrings (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_tag_t group,<br>
-    ipp_tag_t value_tag,<br>
-    const char *name,<br>
-    int num_values,<br>
-    const char *language,<br>
-    const char *const *values<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>group</dt>
- <dd class="description">IPP group</dd>
-<dt>value_tag</dt>
- <dd class="description">Type of attribute</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>num_values</dt>
- <dd class="description">Number of values</dd>
-<dt>language</dt>
- <dd class="description">Language code (<code>NULL</code> for default)</dd>
-<dt>values</dt>
- <dd class="description">Values</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippAddStrings(<a href="#ipp_t">ipp_t</a> *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, int num_values, const char *language, const char *const *values);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>group</th>
+ <td class="description">IPP group</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Type of attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>num_values</th>
+ <td class="description">Number of values</td></tr>
+<tr><th>language</th>
+ <td class="description">Language code (<code>NULL</code> for default)</td></tr>
+<tr><th>values</th>
+ <td class="description">Values</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippAttributeString">ippAttributeString</a></h3>
<p class="description">Convert the attribute's value to a string.</p>
<p class="code">
-size_t ippAttributeString (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    char *buffer,<br>
-    size_t bufsize<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">Attribute</dd>
-<dt>buffer</dt>
- <dd class="description">String buffer or NULL</dd>
-<dt>bufsize</dt>
- <dd class="description">Size of string buffer</dd>
-</dl>
+size_t ippAttributeString(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, char *buffer, size_t bufsize);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">Attribute</td></tr>
+<tr><th>buffer</th>
+ <td class="description">String buffer or NULL</td></tr>
+<tr><th>bufsize</th>
+ <td class="description">Size of string buffer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of bytes less nul</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Determine whether an attribute contains the
specified value or is within the list of ranges.</p>
<p class="code">
-int ippContainsInteger (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int value<br>
-);</p>
+int ippContainsInteger(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int value);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">Attribute</dd>
-<dt>value</dt>
- <dd class="description">Integer/enum value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">Attribute</td></tr>
+<tr><th>value</th>
+ <td class="description">Integer/enum value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on a match, 0 on no match</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Determine whether an attribute contains the
specified string value.</p>
<p class="code">
-int ippContainsString (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    const char *value<br>
-);</p>
+int ippContainsString(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, const char *value);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">Attribute</dd>
-<dt>value</dt>
- <dd class="description">String value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">Attribute</td></tr>
+<tr><th>value</th>
+ <td class="description">String value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on a match, 0 on no match</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippCopyAttribute">ippCopyAttribute</a></h3>
<p class="description">Copy an attribute.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippCopyAttribute (<br>
-    <a href="#ipp_t">ipp_t</a> *dst,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *srcattr,<br>
-    int quickcopy<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>dst</dt>
- <dd class="description">Destination IPP message</dd>
-<dt>srcattr</dt>
- <dd class="description">Attribute to copy</dd>
-<dt>quickcopy</dt>
- <dd class="description">1 for a referenced copy, 0 for normal</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippCopyAttribute(<a href="#ipp_t">ipp_t</a> *dst, <a href="#ipp_attribute_t">ipp_attribute_t</a> *srcattr, int quickcopy);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>dst</th>
+ <td class="description">Destination IPP message</td></tr>
+<tr><th>srcattr</th>
+ <td class="description">Attribute to copy</td></tr>
+<tr><th>quickcopy</th>
+ <td class="description">1 for a referenced copy, 0 for normal</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippCopyAttributes">ippCopyAttributes</a></h3>
<p class="description">Copy attributes from one IPP message to another.</p>
<p class="code">
-int ippCopyAttributes (<br>
-    <a href="#ipp_t">ipp_t</a> *dst,<br>
-    <a href="#ipp_t">ipp_t</a> *src,<br>
-    int quickcopy,<br>
-    <a href="#ipp_copycb_t">ipp_copycb_t</a> cb,<br>
-    void *context<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>dst</dt>
- <dd class="description">Destination IPP message</dd>
-<dt>src</dt>
- <dd class="description">Source IPP message</dd>
-<dt>quickcopy</dt>
- <dd class="description">1 for a referenced copy, 0 for normal</dd>
-<dt>cb</dt>
- <dd class="description">Copy callback or <code>NULL</code> for none</dd>
-<dt>context</dt>
- <dd class="description">Context pointer</dd>
-</dl>
+int ippCopyAttributes(<a href="#ipp_t">ipp_t</a> *dst, <a href="#ipp_t">ipp_t</a> *src, int quickcopy, <a href="#ipp_copycb_t">ipp_copycb_t</a> cb, void *context);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>dst</th>
+ <td class="description">Destination IPP message</td></tr>
+<tr><th>src</th>
+ <td class="description">Source IPP message</td></tr>
+<tr><th>quickcopy</th>
+ <td class="description">1 for a referenced copy, 0 for normal</td></tr>
+<tr><th>cb</th>
+ <td class="description">Copy callback or <code>NULL</code> for none</td></tr>
+<tr><th>context</th>
+ <td class="description">Context pointer</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on error</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Create a CUPS array of attribute names from the
given requested-attributes attribute.</p>
<p class="code">
-cups_array_t *ippCreateRequestedArray (<br>
-    <a href="#ipp_t">ipp_t</a> *request<br>
-);</p>
+cups_array_t *ippCreateRequestedArray(<a href="#ipp_t">ipp_t</a> *request);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>request</dt>
- <dd class="description">IPP request</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>request</th>
+ <td class="description">IPP request</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">CUPS array or <code>NULL</code> if all</p>
<h4 class="discussion">Discussion</h4>
<p class="description">Convert from RFC 1903 Date/Time format to UNIX time
in seconds.</p>
<p class="code">
-time_t ippDateToTime (<br>
-    const <a href="#ipp_uchar_t">ipp_uchar_t</a> *date<br>
-);</p>
+time_t ippDateToTime(const <a href="#ipp_uchar_t">ipp_uchar_t</a> *date);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>date</dt>
- <dd class="description">RFC 1903 date info</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>date</th>
+ <td class="description">RFC 1903 date info</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">UNIX time value</p>
<h3 class="function"><a id="ippDelete">ippDelete</a></h3>
- <p class="description">RFC-1903 date/time format is:</p>
+ <p class="description">Delete an IPP message.</p>
<p class="code">
-void ippDelete (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+void ippDelete(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Delete an IPP message.</p>
-<h4 class="discussion">Discussion</h4>
- <p class="discussion">Byte(s) Description
-------- -----------
-0-1 Year (0 to 65535)
-2 Month (1 to 12)
-3 Day (1 to 31)
-4 Hours (0 to 23)
-5 Minutes (0 to 59)
-6 Seconds (0 to 60, 60 = "leap second")
-7 Deciseconds (0 to 9)
-8 +/- UTC
-9 UTC hours (0 to 11)
-10 UTC minutes (0 to 59)</p>
-<h3 class="function"><a id="ippDeleteAttribute">ippDeleteAttribute</a></h3>
- <p class="description">Next attribute</p>
-<p class="code">
-void ippDeleteAttribute (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">Attribute to delete</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
+<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="ippDeleteAttribute">ippDeleteAttribute</a></h3>
<p class="description">Delete a single attribute in an IPP message.</p>
- <p class="discussion"></p>
+<p class="code">
+void ippDeleteAttribute(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">Attribute to delete</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippDeleteValues">ippDeleteValues</a></h3>
<p class="description">Delete values in an attribute.</p>
<p class="code">
-int ippDeleteValues (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    int count<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">Attribute</dd>
-<dt>element</dt>
- <dd class="description">Index of first value to delete (0-based)</dd>
-<dt>count</dt>
- <dd class="description">Number of values to delete</dd>
-</dl>
+int ippDeleteValues(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, int count);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">Attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Index of first value to delete (0-based)</td></tr>
+<tr><th>count</th>
+ <td class="description">Number of values to delete</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippEnumString">ippEnumString</a></h3>
<p class="description">Return a string corresponding to the enum value.</p>
<p class="code">
-const char *ippEnumString (<br>
-    const char *attrname,<br>
-    int enumvalue<br>
-);</p>
+const char *ippEnumString(const char *attrname, int enumvalue);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attrname</dt>
- <dd class="description">Attribute name</dd>
-<dt>enumvalue</dt>
- <dd class="description">Enum value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attrname</th>
+ <td class="description">Attribute name</td></tr>
+<tr><th>enumvalue</th>
+ <td class="description">Enum value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Enum string</p>
<h3 class="function"><a id="ippEnumValue">ippEnumValue</a></h3>
<p class="description">Return the value associated with a given enum string.</p>
<p class="code">
-int ippEnumValue (<br>
-    const char *attrname,<br>
-    const char *enumstring<br>
-);</p>
+int ippEnumValue(const char *attrname, const char *enumstring);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attrname</dt>
- <dd class="description">Attribute name</dd>
-<dt>enumstring</dt>
- <dd class="description">Enum string</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attrname</th>
+ <td class="description">Attribute name</td></tr>
+<tr><th>enumstring</th>
+ <td class="description">Enum string</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Enum value or -1 if unknown</p>
<h3 class="function"><a id="ippErrorString">ippErrorString</a></h3>
<p class="description">Return a name for the given status code.</p>
<p class="code">
-const char *ippErrorString (<br>
-    ipp_status_t error<br>
-);</p>
+const char *ippErrorString(ipp_status_t error);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>error</dt>
- <dd class="description">Error status</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>error</th>
+ <td class="description">Error status</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Text string</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="ippErrorValue">ippErrorValue</a></h3>
<p class="description">Return a status code for the given name.</p>
<p class="code">
-ipp_status_t ippErrorValue (<br>
-    const char *name<br>
-);</p>
+ipp_status_t ippErrorValue(const char *name);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Name</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">IPP status code</p>
<h3 class="function"><a id="ippFindAttribute">ippFindAttribute</a></h3>
<p class="description">Find a named attribute in a request.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippFindAttribute (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    const char *name,<br>
-    ipp_tag_t type<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>type</dt>
- <dd class="description">Type of attribute</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippFindAttribute(<a href="#ipp_t">ipp_t</a> *ipp, const char *name, ipp_tag_t type);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>type</th>
+ <td class="description">Type of attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Matching attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippFindNextAttribute">ippFindNextAttribute</a></h3>
<p class="description">Find the next named attribute in a request.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippFindNextAttribute (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    const char *name,<br>
-    ipp_tag_t type<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>name</dt>
- <dd class="description">Name of attribute</dd>
-<dt>type</dt>
- <dd class="description">Type of attribute</dd>
-</dl>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippFindNextAttribute(<a href="#ipp_t">ipp_t</a> *ipp, const char *name, ipp_tag_t type);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>name</th>
+ <td class="description">Name of attribute</td></tr>
+<tr><th>type</th>
+ <td class="description">Type of attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Matching attribute</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippFirstAttribute">ippFirstAttribute</a></h3>
<p class="description">Return the first attribute in the message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippFirstAttribute (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippFirstAttribute(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">First attribute or <code>NULL</code> if none</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetBoolean">ippGetBoolean</a></h3>
<p class="description">Get a boolean value for an attribute.</p>
<p class="code">
-int ippGetBoolean (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element<br>
-);</p>
+int ippGetBoolean(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Boolean value or 0 on error</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetCollection">ippGetCollection</a></h3>
<p class="description">Get a collection value for an attribute.</p>
<p class="code">
-<a href="#ipp_t">ipp_t</a> *ippGetCollection (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element<br>
-);</p>
+<a href="#ipp_t">ipp_t</a> *ippGetCollection(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Collection value or <code>NULL</code> on error</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetCount">ippGetCount</a></h3>
<p class="description">Get the number of values in an attribute.</p>
<p class="code">
-int ippGetCount (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr<br>
-);</p>
+int ippGetCount(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Number of values or 0 on error</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetDate">ippGetDate</a></h3>
<p class="description">Get a date value for an attribute.</p>
<p class="code">
-const <a href="#ipp_uchar_t">ipp_uchar_t</a> *ippGetDate (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element<br>
-);</p>
+const <a href="#ipp_uchar_t">ipp_uchar_t</a> *ippGetDate(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Date value or <code>NULL</code></p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetGroupTag">ippGetGroupTag</a></h3>
<p class="description">Get the group associated with an attribute.</p>
<p class="code">
-ipp_tag_t ippGetGroupTag (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr<br>
-);</p>
+ipp_tag_t ippGetGroupTag(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Group tag or <code>IPP_TAG_ZERO</code> on error</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetInteger">ippGetInteger</a></h3>
<p class="description">Get the integer/enum value for an attribute.</p>
<p class="code">
-int ippGetInteger (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element<br>
-);</p>
+int ippGetInteger(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Value or 0 on error</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetName">ippGetName</a></h3>
<p class="description">Get the attribute name.</p>
<p class="code">
-const char *ippGetName (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr<br>
-);</p>
+const char *ippGetName(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Attribute name or <code>NULL</code> for separators</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippGetOctetString">ippGetOctetString</a></h3>
<p class="description">Get an octetString value from an IPP attribute.</p>
<p class="code">
-void *ippGetOctetString (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element,<br>
-    int *datalen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>datalen</dt>
- <dd class="description">Length of octetString data</dd>
-</dl>
+void *ippGetOctetString(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element, int *datalen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>datalen</th>
+ <td class="description">Length of octetString data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Pointer to octetString data</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetOperation">ippGetOperation</a></h3>
<p class="description">Get the operation ID in an IPP message.</p>
<p class="code">
-ipp_op_t ippGetOperation (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+ipp_op_t ippGetOperation(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP request message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP request message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Operation ID or 0 on error</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetRange">ippGetRange</a></h3>
<p class="description">Get a rangeOfInteger value from an attribute.</p>
<p class="code">
-int ippGetRange (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element,<br>
-    int *uppervalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>uppervalue</dt>
- <dd class="description">Upper value of range</dd>
-</dl>
+int ippGetRange(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element, int *uppervalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>uppervalue</th>
+ <td class="description">Upper value of range</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Lower value of range or 0</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetRequestId">ippGetRequestId</a></h3>
<p class="description">Get the request ID from an IPP message.</p>
<p class="code">
-int ippGetRequestId (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+int ippGetRequestId(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Request ID or 0 on error</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetResolution">ippGetResolution</a></h3>
<p class="description">Get a resolution value for an attribute.</p>
<p class="code">
-int ippGetResolution (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element,<br>
-    int *yres,<br>
-    <a href="#ipp_res_t">ipp_res_t</a> *units<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>yres</dt>
- <dd class="description">Vertical/feed resolution</dd>
-<dt>units</dt>
- <dd class="description">Units for resolution</dd>
-</dl>
+int ippGetResolution(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element, int *yres, <a href="#ipp_res_t">ipp_res_t</a> *units);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>yres</th>
+ <td class="description">Vertical/feed resolution</td></tr>
+<tr><th>units</th>
+ <td class="description">Units for resolution</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Horizontal/cross feed resolution or 0</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetState">ippGetState</a></h3>
<p class="description">Get the IPP message state.</p>
<p class="code">
-<a href="#ipp_state_t">ipp_state_t</a> ippGetState (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_state_t">ipp_state_t</a> ippGetState(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">IPP message state value</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetStatusCode">ippGetStatusCode</a></h3>
<p class="description">Get the status code from an IPP response or event message.</p>
<p class="code">
-ipp_status_t ippGetStatusCode (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+ipp_status_t ippGetStatusCode(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP response or event message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP response or event message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Status code in IPP message</p>
<h3 class="function"><a id="ippGetString">ippGetString</a></h3>
- <p class="description">Return the value...</p>
-<p class="code">
-const char *ippGetString (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr,<br>
-    int element,<br>
-    const char **language<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>language</dt>
- <dd class="description">Language code (<code>NULL</code> for don't care)</dd>
-</dl>
+ <p class="description"></p>
+<p class="code">
+const char *ippGetString(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr, int element, const char **language);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>language</th>
+ <td class="description">Language code (<code>NULL</code> for don't care)</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Get the string and optionally the language code for an attribute.</p>
<p class="discussion">The <code>element</code> parameter specifies which value to get from 0 to
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetValueTag">ippGetValueTag</a></h3>
<p class="description">Get the value tag for an attribute.</p>
<p class="code">
-ipp_tag_t ippGetValueTag (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr<br>
-);</p>
+ipp_tag_t ippGetValueTag(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Value tag or <code>IPP_TAG_ZERO</code> on error</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippGetVersion">ippGetVersion</a></h3>
<p class="description">Get the major and minor version number from an IPP message.</p>
<p class="code">
-int ippGetVersion (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    int *minor<br>
-);</p>
+int ippGetVersion(<a href="#ipp_t">ipp_t</a> *ipp, int *minor);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>minor</dt>
- <dd class="description">Minor version number or <code>NULL</code></dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>minor</th>
+ <td class="description">Minor version number or <code>NULL</code></td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Major version number or 0 on error</p>
<h3 class="function"><a id="ippLength">ippLength</a></h3>
<p class="description">Compute the length of an IPP message.</p>
<p class="code">
-size_t ippLength (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+size_t ippLength(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Size of IPP message</p>
<h3 class="function"><a id="ippNew">ippNew</a></h3>
<p class="description">Allocate a new IPP message.</p>
<p class="code">
-<a href="#ipp_t">ipp_t</a> *ippNew (void);</p>
+<a href="#ipp_t">ipp_t</a> *ippNew(void);</p>
<h4 class="returnvalue">Return Value</h4>
<p class="description">New IPP message</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="ippNewRequest">ippNewRequest</a></h3>
<p class="description">Allocate a new IPP request message.</p>
<p class="code">
-<a href="#ipp_t">ipp_t</a> *ippNewRequest (<br>
-    ipp_op_t op<br>
-);</p>
+<a href="#ipp_t">ipp_t</a> *ippNewRequest(ipp_op_t op);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>op</dt>
- <dd class="description">Operation code</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>op</th>
+ <td class="description">Operation code</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">IPP request message</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippNewResponse">ippNewResponse</a></h3>
<p class="description">Allocate a new IPP response message.</p>
<p class="code">
-<a href="#ipp_t">ipp_t</a> *ippNewResponse (<br>
-    <a href="#ipp_t">ipp_t</a> *request<br>
-);</p>
+<a href="#ipp_t">ipp_t</a> *ippNewResponse(<a href="#ipp_t">ipp_t</a> *request);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>request</dt>
- <dd class="description">IPP request message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>request</th>
+ <td class="description">IPP request message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">IPP response message</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippNextAttribute">ippNextAttribute</a></h3>
<p class="description">Return the next attribute in the message.</p>
<p class="code">
-<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippNextAttribute (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_attribute_t">ipp_attribute_t</a> *ippNextAttribute(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Next attribute or <code>NULL</code> if none</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="ippOpString">ippOpString</a></h3>
<p class="description">Return a name for the given operation id.</p>
<p class="code">
-const char *ippOpString (<br>
-    ipp_op_t op<br>
-);</p>
+const char *ippOpString(ipp_op_t op);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>op</dt>
- <dd class="description">Operation ID</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>op</th>
+ <td class="description">Operation ID</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Name</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="ippOpValue">ippOpValue</a></h3>
<p class="description">Return an operation id for the given name.</p>
<p class="code">
-ipp_op_t ippOpValue (<br>
-    const char *name<br>
-);</p>
+ipp_op_t ippOpValue(const char *name);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Textual name</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Textual name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Operation ID</p>
<h3 class="function"><a id="ippPort">ippPort</a></h3>
<p class="description">Return the default IPP port number.</p>
<p class="code">
-int ippPort (void);</p>
+int ippPort(void);</p>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Port number</p>
<h3 class="function"><a id="ippRead">ippRead</a></h3>
<p class="description">Read data for an IPP message from a HTTP connection.</p>
<p class="code">
-<a href="#ipp_state_t">ipp_state_t</a> ippRead (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_state_t">ipp_state_t</a> ippRead(<a href="#http_t">http_t</a> *http, <a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>ipp</dt>
- <dd class="description">IPP data</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>ipp</th>
+ <td class="description">IPP data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Current state</p>
<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="ippReadFile">ippReadFile</a></h3>
<p class="description">Read data for an IPP message from a file.</p>
<p class="code">
-<a href="#ipp_state_t">ipp_state_t</a> ippReadFile (<br>
-    int fd,<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_state_t">ipp_state_t</a> ippReadFile(int fd, <a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>fd</dt>
- <dd class="description">HTTP data</dd>
-<dt>ipp</dt>
- <dd class="description">IPP data</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>fd</th>
+ <td class="description">HTTP data</td></tr>
+<tr><th>ipp</th>
+ <td class="description">IPP data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Current state</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="ippReadIO">ippReadIO</a></h3>
<p class="description">Read data for an IPP message.</p>
<p class="code">
-<a href="#ipp_state_t">ipp_state_t</a> ippReadIO (<br>
-    void *src,<br>
-    <a href="#ipp_iocb_t">ipp_iocb_t</a> cb,<br>
-    int blocking,<br>
-    <a href="#ipp_t">ipp_t</a> *parent,<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>src</dt>
- <dd class="description">Data source</dd>
-<dt>cb</dt>
- <dd class="description">Read callback function</dd>
-<dt>blocking</dt>
- <dd class="description">Use blocking IO?</dd>
-<dt>parent</dt>
- <dd class="description">Parent request, if any</dd>
-<dt>ipp</dt>
- <dd class="description">IPP data</dd>
-</dl>
+<a href="#ipp_state_t">ipp_state_t</a> ippReadIO(void *src, <a href="#ipp_iocb_t">ipp_iocb_t</a> cb, int blocking, <a href="#ipp_t">ipp_t</a> *parent, <a href="#ipp_t">ipp_t</a> *ipp);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>src</th>
+ <td class="description">Data source</td></tr>
+<tr><th>cb</th>
+ <td class="description">Read callback function</td></tr>
+<tr><th>blocking</th>
+ <td class="description">Use blocking IO?</td></tr>
+<tr><th>parent</th>
+ <td class="description">Parent request, if any</td></tr>
+<tr><th>ipp</th>
+ <td class="description">IPP data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Current state</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetBoolean">ippSetBoolean</a></h3>
<p class="description">Set a boolean value in an attribute.</p>
<p class="code">
-int ippSetBoolean (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    int boolvalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>boolvalue</dt>
- <dd class="description">Boolean value</dd>
-</dl>
+int ippSetBoolean(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, int boolvalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>boolvalue</th>
+ <td class="description">Boolean value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetCollection">ippSetCollection</a></h3>
<p class="description">Set a collection value in an attribute.</p>
<p class="code">
-int ippSetCollection (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    <a href="#ipp_t">ipp_t</a> *colvalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>colvalue</dt>
- <dd class="description">Collection value</dd>
-</dl>
+int ippSetCollection(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, <a href="#ipp_t">ipp_t</a> *colvalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>colvalue</th>
+ <td class="description">Collection value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetDate">ippSetDate</a></h3>
<p class="description">Set a date value in an attribute.</p>
<p class="code">
-int ippSetDate (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    const <a href="#ipp_uchar_t">ipp_uchar_t</a> *datevalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>datevalue</dt>
- <dd class="description">Date value</dd>
-</dl>
+int ippSetDate(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, const <a href="#ipp_uchar_t">ipp_uchar_t</a> *datevalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>datevalue</th>
+ <td class="description">Date value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetGroupTag">ippSetGroupTag</a></h3>
<p class="description">Set the group tag of an attribute.</p>
<p class="code">
-int ippSetGroupTag (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    ipp_tag_t group_tag<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">Attribute</dd>
-<dt>group_tag</dt>
- <dd class="description">Group tag</dd>
-</dl>
+int ippSetGroupTag(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, ipp_tag_t group_tag);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">Attribute</td></tr>
+<tr><th>group_tag</th>
+ <td class="description">Group tag</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetInteger">ippSetInteger</a></h3>
<p class="description">Set an integer or enum value in an attribute.</p>
<p class="code">
-int ippSetInteger (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    int intvalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>intvalue</dt>
- <dd class="description">Integer/enum value</dd>
-</dl>
+int ippSetInteger(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, int intvalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>intvalue</th>
+ <td class="description">Integer/enum value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetName">ippSetName</a></h3>
<p class="description">Set the name of an attribute.</p>
<p class="code">
-int ippSetName (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    const char *name<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>name</dt>
- <dd class="description">Attribute name</dd>
-</dl>
+int ippSetName(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, const char *name);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>name</th>
+ <td class="description">Attribute name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippSetOctetString">ippSetOctetString</a></h3>
<p class="description">Set an octetString value in an IPP attribute.</p>
<p class="code">
-int ippSetOctetString (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    const void *data,<br>
-    int datalen<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>data</dt>
- <dd class="description">Pointer to octetString data</dd>
-<dt>datalen</dt>
- <dd class="description">Length of octetString data</dd>
-</dl>
+int ippSetOctetString(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, const void *data, int datalen);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>data</th>
+ <td class="description">Pointer to octetString data</td></tr>
+<tr><th>datalen</th>
+ <td class="description">Length of octetString data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetOperation">ippSetOperation</a></h3>
<p class="description">Set the operation ID in an IPP request message.</p>
<p class="code">
-int ippSetOperation (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_op_t op<br>
-);</p>
+int ippSetOperation(<a href="#ipp_t">ipp_t</a> *ipp, ipp_op_t op);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP request message</dd>
-<dt>op</dt>
- <dd class="description">Operation ID</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP request message</td></tr>
+<tr><th>op</th>
+ <td class="description">Operation ID</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
</p>
<h3 class="function"><a id="ippSetPort">ippSetPort</a></h3>
- <p class="description">Pointer to library globals</p>
+ <p class="description">Set the default port number.</p>
<p class="code">
-void ippSetPort (<br>
-    int p<br>
-);</p>
+void ippSetPort(int p);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>p</dt>
- <dd class="description">Port number to use</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
- <p class="description">Set the default port number.</p>
+<table class="list"><tbody>
+<tr><th>p</th>
+ <td class="description">Port number to use</td></tr>
+</tbody></table>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetRange">ippSetRange</a></h3>
<p class="description">Set a rangeOfInteger value in an attribute.</p>
<p class="code">
-int ippSetRange (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    int lowervalue,<br>
-    int uppervalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>lowervalue</dt>
- <dd class="description">Lower bound for range</dd>
-<dt>uppervalue</dt>
- <dd class="description">Upper bound for range</dd>
-</dl>
+int ippSetRange(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, int lowervalue, int uppervalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>lowervalue</th>
+ <td class="description">Lower bound for range</td></tr>
+<tr><th>uppervalue</th>
+ <td class="description">Upper bound for range</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetRequestId">ippSetRequestId</a></h3>
<p class="description">Set the request ID in an IPP message.</p>
<p class="code">
-int ippSetRequestId (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    int request_id<br>
-);</p>
+int ippSetRequestId(<a href="#ipp_t">ipp_t</a> *ipp, int request_id);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>request_id</dt>
- <dd class="description">Request ID</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>request_id</th>
+ <td class="description">Request ID</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetResolution">ippSetResolution</a></h3>
<p class="description">Set a resolution value in an attribute.</p>
<p class="code">
-int ippSetResolution (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    <a href="#ipp_res_t">ipp_res_t</a> unitsvalue,<br>
-    int xresvalue,<br>
-    int yresvalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>unitsvalue</dt>
- <dd class="description">Resolution units</dd>
-<dt>xresvalue</dt>
- <dd class="description">Horizontal/cross feed resolution</dd>
-<dt>yresvalue</dt>
- <dd class="description">Vertical/feed resolution</dd>
-</dl>
+int ippSetResolution(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, <a href="#ipp_res_t">ipp_res_t</a> unitsvalue, int xresvalue, int yresvalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>unitsvalue</th>
+ <td class="description">Resolution units</td></tr>
+<tr><th>xresvalue</th>
+ <td class="description">Horizontal/cross feed resolution</td></tr>
+<tr><th>yresvalue</th>
+ <td class="description">Vertical/feed resolution</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetState">ippSetState</a></h3>
<p class="description">Set the current state of the IPP message.</p>
<p class="code">
-int ippSetState (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_state_t">ipp_state_t</a> state<br>
-);</p>
+int ippSetState(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_state_t">ipp_state_t</a> state);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>state</dt>
- <dd class="description">IPP state value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>state</th>
+ <td class="description">IPP state value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetStatusCode">ippSetStatusCode</a></h3>
<p class="description">Set the status code in an IPP response or event message.</p>
<p class="code">
-int ippSetStatusCode (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    ipp_status_t status<br>
-);</p>
+int ippSetStatusCode(<a href="#ipp_t">ipp_t</a> *ipp, ipp_status_t status);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP response or event message</dd>
-<dt>status</dt>
- <dd class="description">Status code</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP response or event message</td></tr>
+<tr><th>status</th>
+ <td class="description">Status code</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetString">ippSetString</a></h3>
<p class="description">Set a string value in an attribute.</p>
<p class="code">
-int ippSetString (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    const char *strvalue<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>strvalue</dt>
- <dd class="description">String value</dd>
-</dl>
+int ippSetString(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, const char *strvalue);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>strvalue</th>
+ <td class="description">String value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippSetStringf">ippSetStringf</a></h3>
<p class="description">Set a formatted string value of an attribute.</p>
<p class="code">
-int ippSetStringf (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    const char *format,<br>
-    ...<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>format</dt>
- <dd class="description">Printf-style format string</dd>
-<dt>...</dt>
- <dd class="description">Additional arguments as needed</dd>
-</dl>
+int ippSetStringf(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, const char *format, ...);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>format</th>
+ <td class="description">Printf-style format string</td></tr>
+<tr><th>...</th>
+ <td class="description">Additional arguments as needed</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippSetStringfv">ippSetStringfv</a></h3>
<p class="description">Set a formatted string value of an attribute.</p>
<p class="code">
-int ippSetStringfv (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    int element,<br>
-    const char *format,<br>
-    va_list ap<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>element</dt>
- <dd class="description">Value number (0-based)</dd>
-<dt>format</dt>
- <dd class="description">Printf-style format string</dd>
-<dt>ap</dt>
- <dd class="description">Pointer to additional arguments</dd>
-</dl>
+int ippSetStringfv(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, int element, const char *format, va_list ap);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>element</th>
+ <td class="description">Value number (0-based)</td></tr>
+<tr><th>format</th>
+ <td class="description">Printf-style format string</td></tr>
+<tr><th>ap</th>
+ <td class="description">Pointer to additional arguments</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetValueTag">ippSetValueTag</a></h3>
<p class="description">Set the value tag of an attribute.</p>
<p class="code">
-int ippSetValueTag (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr,<br>
-    ipp_tag_t value_tag<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>attr</dt>
- <dd class="description">IPP attribute</dd>
-<dt>value_tag</dt>
- <dd class="description">Value tag</dd>
-</dl>
+int ippSetValueTag(<a href="#ipp_t">ipp_t</a> *ipp, <a href="#ipp_attribute_t">ipp_attribute_t</a> **attr, ipp_tag_t value_tag);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>attr</th>
+ <td class="description">IPP attribute</td></tr>
+<tr><th>value_tag</th>
+ <td class="description">Value tag</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="ippSetVersion">ippSetVersion</a></h3>
<p class="description">Set the version number in an IPP message.</p>
<p class="code">
-int ippSetVersion (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp,<br>
-    int major,<br>
-    int minor<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-<dt>major</dt>
- <dd class="description">Major version number (major.minor)</dd>
-<dt>minor</dt>
- <dd class="description">Minor version number (major.minor)</dd>
-</dl>
+int ippSetVersion(<a href="#ipp_t">ipp_t</a> *ipp, int major, int minor);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+<tr><th>major</th>
+ <td class="description">Major version number (major.minor)</td></tr>
+<tr><th>minor</th>
+ <td class="description">Minor version number (major.minor)</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on success, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 2.0/OS 10.10 </span><a id="ippStateString">ippStateString</a></h3>
<p class="description">Return the name corresponding to a state value.</p>
<p class="code">
-const char *ippStateString (<br>
-    <a href="#ipp_state_t">ipp_state_t</a> state<br>
-);</p>
+const char *ippStateString(<a href="#ipp_state_t">ipp_state_t</a> state);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>state</dt>
- <dd class="description">State value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>state</th>
+ <td class="description">State value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">State name</p>
<h3 class="function"><span class="info"> CUPS 1.4/macOS 10.6 </span><a id="ippTagString">ippTagString</a></h3>
<p class="description">Return the tag name corresponding to a tag value.</p>
<p class="code">
-const char *ippTagString (<br>
-    ipp_tag_t tag<br>
-);</p>
+const char *ippTagString(ipp_tag_t tag);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>tag</dt>
- <dd class="description">Tag value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>tag</th>
+ <td class="description">Tag value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Tag name</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.4/macOS 10.6 </span><a id="ippTagValue">ippTagValue</a></h3>
<p class="description">Return the tag value corresponding to a tag name.</p>
<p class="code">
-ipp_tag_t ippTagValue (<br>
-    const char *name<br>
-);</p>
+ipp_tag_t ippTagValue(const char *name);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>name</dt>
- <dd class="description">Tag name</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>name</th>
+ <td class="description">Tag name</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Tag value</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippTimeToDate">ippTimeToDate</a></h3>
<p class="description">Convert from UNIX time to RFC 1903 format.</p>
<p class="code">
-const <a href="#ipp_uchar_t">ipp_uchar_t</a> *ippTimeToDate (<br>
-    time_t t<br>
-);</p>
+const <a href="#ipp_uchar_t">ipp_uchar_t</a> *ippTimeToDate(time_t t);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>t</dt>
- <dd class="description">UNIX time value</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>t</th>
+ <td class="description">UNIX time value</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">RFC-1903 date/time data</p>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippValidateAttribute">ippValidateAttribute</a></h3>
<p class="description">Validate the contents of an attribute.</p>
<p class="code">
-int ippValidateAttribute (<br>
-    <a href="#ipp_attribute_t">ipp_attribute_t</a> *attr<br>
-);</p>
+int ippValidateAttribute(<a href="#ipp_attribute_t">ipp_attribute_t</a> *attr);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>attr</dt>
- <dd class="description">Attribute</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>attr</th>
+ <td class="description">Attribute</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if valid, 0 otherwise</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><span class="info"> CUPS 1.7/macOS 10.9 </span><a id="ippValidateAttributes">ippValidateAttributes</a></h3>
<p class="description">Validate all attributes in an IPP message.</p>
<p class="code">
-int ippValidateAttributes (<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+int ippValidateAttributes(<a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipp</dt>
- <dd class="description">IPP message</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>ipp</th>
+ <td class="description">IPP message</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 if valid, 0 otherwise</p>
<h4 class="discussion">Discussion</h4>
<h3 class="function"><a id="ippWrite">ippWrite</a></h3>
<p class="description">Write data for an IPP message to a HTTP connection.</p>
<p class="code">
-<a href="#ipp_state_t">ipp_state_t</a> ippWrite (<br>
-    <a href="#http_t">http_t</a> *http,<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_state_t">ipp_state_t</a> ippWrite(<a href="#http_t">http_t</a> *http, <a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>http</dt>
- <dd class="description">HTTP connection</dd>
-<dt>ipp</dt>
- <dd class="description">IPP data</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>http</th>
+ <td class="description">HTTP connection</td></tr>
+<tr><th>ipp</th>
+ <td class="description">IPP data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Current state</p>
<h3 class="function"><span class="info"> CUPS 1.1.19/macOS 10.3 </span><a id="ippWriteFile">ippWriteFile</a></h3>
<p class="description">Write data for an IPP message to a file.</p>
<p class="code">
-<a href="#ipp_state_t">ipp_state_t</a> ippWriteFile (<br>
-    int fd,<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
+<a href="#ipp_state_t">ipp_state_t</a> ippWriteFile(int fd, <a href="#ipp_t">ipp_t</a> *ipp);</p>
<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>fd</dt>
- <dd class="description">HTTP data</dd>
-<dt>ipp</dt>
- <dd class="description">IPP data</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>fd</th>
+ <td class="description">HTTP data</td></tr>
+<tr><th>ipp</th>
+ <td class="description">IPP data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Current state</p>
<h3 class="function"><span class="info"> CUPS 1.2/macOS 10.5 </span><a id="ippWriteIO">ippWriteIO</a></h3>
<p class="description">Write data for an IPP message.</p>
<p class="code">
-<a href="#ipp_state_t">ipp_state_t</a> ippWriteIO (<br>
-    void *dst,<br>
-    <a href="#ipp_iocb_t">ipp_iocb_t</a> cb,<br>
-    int blocking,<br>
-    <a href="#ipp_t">ipp_t</a> *parent,<br>
-    <a href="#ipp_t">ipp_t</a> *ipp<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>dst</dt>
- <dd class="description">Destination</dd>
-<dt>cb</dt>
- <dd class="description">Write callback function</dd>
-<dt>blocking</dt>
- <dd class="description">Use blocking IO?</dd>
-<dt>parent</dt>
- <dd class="description">Parent IPP message</dd>
-<dt>ipp</dt>
- <dd class="description">IPP data</dd>
-</dl>
+<a href="#ipp_state_t">ipp_state_t</a> ippWriteIO(void *dst, <a href="#ipp_iocb_t">ipp_iocb_t</a> cb, int blocking, <a href="#ipp_t">ipp_t</a> *parent, <a href="#ipp_t">ipp_t</a> *ipp);</p>
+<h4 class="parameters">Parameters</h4>
+<table class="list"><tbody>
+<tr><th>dst</th>
+ <td class="description">Destination</td></tr>
+<tr><th>cb</th>
+ <td class="description">Write callback function</td></tr>
+<tr><th>blocking</th>
+ <td class="description">Use blocking IO?</td></tr>
+<tr><th>parent</th>
+ <td class="description">Parent IPP message</td></tr>
+<tr><th>ipp</th>
+ <td class="description">IPP data</td></tr>
+</tbody></table>
<h4 class="returnvalue">Return Value</h4>
<p class="description">Current state</p>
<h2 class="title"><a id="TYPES">Data Types</a></h2>
<p class="description">Job</p>
<p class="code">
typedef struct <a href="#cups_job_s">cups_job_s</a> cups_job_t;
-</p>
- <h3 class="typedef"><a id="cups_lang_t">cups_lang_t</a></h3>
- <p class="description">Language Cache Structure</p>
- <p class="code">
-typedef struct <a href="#cups_lang_s">cups_lang_s</a> cups_lang_t;
</p>
<h3 class="typedef"><a id="cups_option_t">cups_option_t</a></h3>
<p class="description">Printer Options</p>
<h3 class="typedef"><a id="ipp_iocb_t"><span class="info"> CUPS 1.2/macOS 10.5 </span>ipp_iocb_t</a></h3>
<p class="description">IPP IO Callback Function </p>
<p class="code">
-typedef ssize_t(*)(void *context, <a href="#ipp_uchar_t">ipp_uchar_t</a> *buffer, size_t bytes) ipp_iocb_t;
+typedef ssize_t(*)(void *context, ipp_uchar_t *buffer, size_t bytes) ipp_iocb_t;
</p>
<h3 class="typedef"><a id="ipp_orient_t">ipp_orient_t</a></h3>
<p class="description">Orientation values</p>
<p class="description">IPP request/response data</p>
<p class="code">
typedef struct _ipp_s ipp_t;
-</p>
- <h3 class="typedef"><a id="ipp_uchar_t">ipp_uchar_t</a></h3>
- <p class="description">Unsigned 8-bit integer/character</p>
- <p class="code">
-typedef unsigned char ipp_uchar_t;
</p>
<h2 class="title"><a id="STRUCTURES">Structures</a></h2>
<h3 class="struct"><a id="cups_dest_s">cups_dest_s</a></h3>
    <a href="#cups_option_t">cups_option_t</a> *options;<br>
};</p>
<h4 class="members">Members</h4>
-<dl>
-<dt>instance </dt>
- <dd class="description">Local instance name or NULL</dd>
-<dt>is_default </dt>
- <dd class="description">Is this printer the default?</dd>
-<dt>num_options </dt>
- <dd class="description">Number of options</dd>
-<dt>options </dt>
- <dd class="description">Options</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>instance </th>
+ <td class="description">Local instance name or NULL</td></tr>
+<tr><th>is_default </th>
+ <td class="description">Is this printer the default?</td></tr>
+<tr><th>num_options </th>
+ <td class="description">Number of options</td></tr>
+<tr><th>options </th>
+ <td class="description">Options</td></tr>
+</tbody></table>
<h3 class="struct"><a id="cups_job_s">cups_job_s</a></h3>
<p class="description">Job</p>
<p class="code">struct cups_job_s {<br>
    char *user;<br>
};</p>
<h4 class="members">Members</h4>
-<dl>
-<dt>completed_time </dt>
- <dd class="description">Time the job was completed</dd>
-<dt>creation_time </dt>
- <dd class="description">Time the job was created</dd>
-<dt>dest </dt>
- <dd class="description">Printer or class name</dd>
-<dt>format </dt>
- <dd class="description">Document format</dd>
-<dt>id </dt>
- <dd class="description">The job ID</dd>
-<dt>priority </dt>
- <dd class="description">Priority (1-100)</dd>
-<dt>processing_time </dt>
- <dd class="description">Time the job was processed</dd>
-<dt>size </dt>
- <dd class="description">Size in kilobytes</dd>
-<dt>state </dt>
- <dd class="description">Job state</dd>
-<dt>title </dt>
- <dd class="description">Title/job name</dd>
-<dt>user </dt>
- <dd class="description">User that submitted the job</dd>
-</dl>
-<h3 class="struct"><a id="cups_lang_s">cups_lang_s</a></h3>
- <p class="description">Language Cache Structure</p>
-<p class="code">struct cups_lang_s {<br>
-    <a href="#cups_encoding_t">cups_encoding_t</a> encoding;<br>
-    char language[16];<br>
-    struct <a href="#cups_lang_s">cups_lang_s</a> *next;<br>
-    int used;<br>
-};</p>
-<h4 class="members">Members</h4>
-<dl>
-<dt>encoding </dt>
- <dd class="description">Text encoding</dd>
-<dt>language[16] </dt>
- <dd class="description">Language/locale name</dd>
-<dt>next </dt>
- <dd class="description">Next language in cache</dd>
-<dt>used </dt>
- <dd class="description">Number of times this entry has been used.</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>completed_time </th>
+ <td class="description">Time the job was completed</td></tr>
+<tr><th>creation_time </th>
+ <td class="description">Time the job was created</td></tr>
+<tr><th>dest </th>
+ <td class="description">Printer or class name</td></tr>
+<tr><th>format </th>
+ <td class="description">Document format</td></tr>
+<tr><th>id </th>
+ <td class="description">The job ID</td></tr>
+<tr><th>priority </th>
+ <td class="description">Priority (1-100)</td></tr>
+<tr><th>processing_time </th>
+ <td class="description">Time the job was processed</td></tr>
+<tr><th>size </th>
+ <td class="description">Size in kilobytes</td></tr>
+<tr><th>state </th>
+ <td class="description">Job state</td></tr>
+<tr><th>title </th>
+ <td class="description">Title/job name</td></tr>
+<tr><th>user </th>
+ <td class="description">User that submitted the job</td></tr>
+</tbody></table>
<h3 class="struct"><a id="cups_option_s">cups_option_s</a></h3>
<p class="description">Printer Options</p>
<p class="code">struct cups_option_s {<br>
    char *value;<br>
};</p>
<h4 class="members">Members</h4>
-<dl>
-<dt>name </dt>
- <dd class="description">Name of option</dd>
-<dt>value </dt>
- <dd class="description">Value of option</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>name </th>
+ <td class="description">Name of option</td></tr>
+<tr><th>value </th>
+ <td class="description">Value of option</td></tr>
+</tbody></table>
<h3 class="struct"><span class="info"> CUPS 1.6/macOS 10.8 </span><a id="cups_size_s">cups_size_s</a></h3>
<p class="description">Media Size </p>
<p class="code">struct cups_size_s {<br>
    int width, length, bottom, left, right, top;<br>
};</p>
<h4 class="members">Members</h4>
-<dl>
-<dt>media[128] </dt>
- <dd class="description">Media name to use</dd>
-<dt>top </dt>
- <dd class="description">Top margin in hundredths of
-millimeters</dd>
-</dl>
+<table class="list"><tbody>
+<tr><th>media[128] </th>
+ <td class="description">Media name to use</td></tr>
+<tr><th>top </th>
+ <td class="description">Top margin in hundredths of
+millimeters</td></tr>
+</tbody></table>
<h2 class="title"><a id="ENUMERATIONS">Constants</a></h2>
<h3 class="enumeration"><a id="cups_ptype_e">cups_ptype_e</a></h3>
<p class="description">Printer type/capability bit
constants</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>CUPS_PRINTER_AUTHENTICATED <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Printer requires authentication
-</dd>
- <dt>CUPS_PRINTER_BIND </dt>
- <dd class="description">Can bind output</dd>
- <dt>CUPS_PRINTER_BW </dt>
- <dd class="description">Can do B&W printing</dd>
- <dt>CUPS_PRINTER_CLASS </dt>
- <dd class="description">Printer class</dd>
- <dt>CUPS_PRINTER_COLLATE </dt>
- <dd class="description">Can quickly collate copies</dd>
- <dt>CUPS_PRINTER_COLOR </dt>
- <dd class="description">Can do color printing</dd>
- <dt>CUPS_PRINTER_COMMANDS <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Printer supports maintenance commands
-</dd>
- <dt>CUPS_PRINTER_COPIES </dt>
- <dd class="description">Can do copies in hardware</dd>
- <dt>CUPS_PRINTER_COVER </dt>
- <dd class="description">Can cover output</dd>
- <dt>CUPS_PRINTER_DEFAULT </dt>
- <dd class="description">Default printer on network</dd>
- <dt>CUPS_PRINTER_DISCOVERED <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Printer was discovered </dd>
- <dt>CUPS_PRINTER_DUPLEX </dt>
- <dd class="description">Can do two-sided printing</dd>
- <dt>CUPS_PRINTER_FAX </dt>
- <dd class="description">Fax queue</dd>
- <dt>CUPS_PRINTER_LARGE </dt>
- <dd class="description">Can print on D/E/A1/A0-size media</dd>
- <dt>CUPS_PRINTER_LOCAL </dt>
- <dd class="description">Local printer or class</dd>
- <dt>CUPS_PRINTER_MEDIUM </dt>
- <dd class="description">Can print on Tabloid/B/C/A3/A2-size media</dd>
- <dt>CUPS_PRINTER_NOT_SHARED <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Printer is not shared
-</dd>
- <dt>CUPS_PRINTER_PUNCH </dt>
- <dd class="description">Can punch output</dd>
- <dt>CUPS_PRINTER_REJECTING </dt>
- <dd class="description">Printer is rejecting jobs</dd>
- <dt>CUPS_PRINTER_REMOTE </dt>
- <dd class="description">Remote printer or class</dd>
- <dt>CUPS_PRINTER_SMALL </dt>
- <dd class="description">Can print on Letter/Legal/A4-size media</dd>
- <dt>CUPS_PRINTER_SORT </dt>
- <dd class="description">Can sort output</dd>
- <dt>CUPS_PRINTER_STAPLE </dt>
- <dd class="description">Can staple output</dd>
- <dt>CUPS_PRINTER_VARIABLE </dt>
- <dd class="description">Can print on rolls and custom-size media</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>CUPS_PRINTER_AUTHENTICATED <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Printer requires authentication
+</td></tr>
+ <tr><th>CUPS_PRINTER_BIND </th> <td class="description">Can bind output</td></tr>
+ <tr><th>CUPS_PRINTER_BW </th> <td class="description">Can do B&W printing</td></tr>
+ <tr><th>CUPS_PRINTER_CLASS </th> <td class="description">Printer class</td></tr>
+ <tr><th>CUPS_PRINTER_COLLATE </th> <td class="description">Can quickly collate copies</td></tr>
+ <tr><th>CUPS_PRINTER_COLOR </th> <td class="description">Can do color printing</td></tr>
+ <tr><th>CUPS_PRINTER_COMMANDS <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Printer supports maintenance commands
+</td></tr>
+ <tr><th>CUPS_PRINTER_COPIES </th> <td class="description">Can do copies in hardware</td></tr>
+ <tr><th>CUPS_PRINTER_COVER </th> <td class="description">Can cover output</td></tr>
+ <tr><th>CUPS_PRINTER_DEFAULT </th> <td class="description">Default printer on network</td></tr>
+ <tr><th>CUPS_PRINTER_DISCOVERED <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Printer was discovered </td></tr>
+ <tr><th>CUPS_PRINTER_DUPLEX </th> <td class="description">Can do two-sided printing</td></tr>
+ <tr><th>CUPS_PRINTER_FAX </th> <td class="description">Fax queue</td></tr>
+ <tr><th>CUPS_PRINTER_LARGE </th> <td class="description">Can print on D/E/A1/A0-size media</td></tr>
+ <tr><th>CUPS_PRINTER_LOCAL </th> <td class="description">Local printer or class</td></tr>
+ <tr><th>CUPS_PRINTER_MEDIUM </th> <td class="description">Can print on Tabloid/B/C/A3/A2-size media</td></tr>
+ <tr><th>CUPS_PRINTER_NOT_SHARED <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Printer is not shared
+</td></tr>
+ <tr><th>CUPS_PRINTER_PUNCH </th> <td class="description">Can punch output</td></tr>
+ <tr><th>CUPS_PRINTER_REJECTING </th> <td class="description">Printer is rejecting jobs</td></tr>
+ <tr><th>CUPS_PRINTER_REMOTE </th> <td class="description">Remote printer or class</td></tr>
+ <tr><th>CUPS_PRINTER_SMALL </th> <td class="description">Can print on Letter/Legal/A4-size media</td></tr>
+ <tr><th>CUPS_PRINTER_SORT </th> <td class="description">Can sort output</td></tr>
+ <tr><th>CUPS_PRINTER_STAPLE </th> <td class="description">Can staple output</td></tr>
+ <tr><th>CUPS_PRINTER_VARIABLE </th> <td class="description">Can print on rolls and custom-size media</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_encoding_e">http_encoding_e</a></h3>
<p class="description">HTTP transfer encoding values</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_ENCODING_CHUNKED </dt>
- <dd class="description">Data is chunked</dd>
- <dt>HTTP_ENCODING_FIELDS </dt>
- <dd class="description">Sending HTTP fields</dd>
- <dt>HTTP_ENCODING_LENGTH </dt>
- <dd class="description">Data is sent with Content-Length</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_ENCODING_CHUNKED </th> <td class="description">Data is chunked</td></tr>
+ <tr><th>HTTP_ENCODING_FIELDS </th> <td class="description">Sending HTTP fields</td></tr>
+ <tr><th>HTTP_ENCODING_LENGTH </th> <td class="description">Data is sent with Content-Length</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_encryption_e">http_encryption_e</a></h3>
<p class="description">HTTP encryption values</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_ENCRYPTION_ALWAYS </dt>
- <dd class="description">Always encrypt (SSL)</dd>
- <dt>HTTP_ENCRYPTION_IF_REQUESTED </dt>
- <dd class="description">Encrypt if requested (TLS upgrade)</dd>
- <dt>HTTP_ENCRYPTION_NEVER </dt>
- <dd class="description">Never encrypt</dd>
- <dt>HTTP_ENCRYPTION_REQUIRED </dt>
- <dd class="description">Encryption is required (TLS upgrade)</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_ENCRYPTION_ALWAYS </th> <td class="description">Always encrypt (SSL)</td></tr>
+ <tr><th>HTTP_ENCRYPTION_IF_REQUESTED </th> <td class="description">Encrypt if requested (TLS upgrade)</td></tr>
+ <tr><th>HTTP_ENCRYPTION_NEVER </th> <td class="description">Never encrypt</td></tr>
+ <tr><th>HTTP_ENCRYPTION_REQUIRED </th> <td class="description">Encryption is required (TLS upgrade)</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_field_e">http_field_e</a></h3>
<p class="description">HTTP field names</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_FIELD_ACCEPT_ENCODING <span class="info"> CUPS 1.7/macOS 10.9 </span></dt>
- <dd class="description">Accepting-Encoding field </dd>
- <dt>HTTP_FIELD_ACCEPT_LANGUAGE </dt>
- <dd class="description">Accept-Language field</dd>
- <dt>HTTP_FIELD_ACCEPT_RANGES </dt>
- <dd class="description">Accept-Ranges field</dd>
- <dt>HTTP_FIELD_ALLOW <span class="info"> CUPS 1.7/macOS 10.9 </span></dt>
- <dd class="description">Allow field </dd>
- <dt>HTTP_FIELD_AUTHORIZATION </dt>
- <dd class="description">Authorization field</dd>
- <dt>HTTP_FIELD_CONNECTION </dt>
- <dd class="description">Connection field</dd>
- <dt>HTTP_FIELD_CONTENT_ENCODING </dt>
- <dd class="description">Content-Encoding field</dd>
- <dt>HTTP_FIELD_CONTENT_LANGUAGE </dt>
- <dd class="description">Content-Language field</dd>
- <dt>HTTP_FIELD_CONTENT_LENGTH </dt>
- <dd class="description">Content-Length field</dd>
- <dt>HTTP_FIELD_CONTENT_LOCATION </dt>
- <dd class="description">Content-Location field</dd>
- <dt>HTTP_FIELD_CONTENT_MD5 </dt>
- <dd class="description">Content-MD5 field</dd>
- <dt>HTTP_FIELD_CONTENT_RANGE </dt>
- <dd class="description">Content-Range field</dd>
- <dt>HTTP_FIELD_CONTENT_TYPE </dt>
- <dd class="description">Content-Type field</dd>
- <dt>HTTP_FIELD_CONTENT_VERSION </dt>
- <dd class="description">Content-Version field</dd>
- <dt>HTTP_FIELD_DATE </dt>
- <dd class="description">Date field</dd>
- <dt>HTTP_FIELD_HOST </dt>
- <dd class="description">Host field</dd>
- <dt>HTTP_FIELD_IF_MODIFIED_SINCE </dt>
- <dd class="description">If-Modified-Since field</dd>
- <dt>HTTP_FIELD_IF_UNMODIFIED_SINCE </dt>
- <dd class="description">If-Unmodified-Since field</dd>
- <dt>HTTP_FIELD_KEEP_ALIVE </dt>
- <dd class="description">Keep-Alive field</dd>
- <dt>HTTP_FIELD_LAST_MODIFIED </dt>
- <dd class="description">Last-Modified field</dd>
- <dt>HTTP_FIELD_LINK </dt>
- <dd class="description">Link field</dd>
- <dt>HTTP_FIELD_LOCATION </dt>
- <dd class="description">Location field</dd>
- <dt>HTTP_FIELD_MAX </dt>
- <dd class="description">Maximum field index</dd>
- <dt>HTTP_FIELD_RANGE </dt>
- <dd class="description">Range field</dd>
- <dt>HTTP_FIELD_REFERER </dt>
- <dd class="description">Referer field</dd>
- <dt>HTTP_FIELD_RETRY_AFTER </dt>
- <dd class="description">Retry-After field</dd>
- <dt>HTTP_FIELD_SERVER <span class="info"> CUPS 1.7/macOS 10.9 </span></dt>
- <dd class="description">Server field </dd>
- <dt>HTTP_FIELD_TRANSFER_ENCODING </dt>
- <dd class="description">Transfer-Encoding field</dd>
- <dt>HTTP_FIELD_UNKNOWN </dt>
- <dd class="description">Unknown field</dd>
- <dt>HTTP_FIELD_UPGRADE </dt>
- <dd class="description">Upgrade field</dd>
- <dt>HTTP_FIELD_USER_AGENT </dt>
- <dd class="description">User-Agent field</dd>
- <dt>HTTP_FIELD_WWW_AUTHENTICATE </dt>
- <dd class="description">WWW-Authenticate field</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_FIELD_ACCEPT_ENCODING <span class="info"> CUPS 1.7/macOS 10.9 </span></th> <td class="description">Accepting-Encoding field </td></tr>
+ <tr><th>HTTP_FIELD_ACCEPT_LANGUAGE </th> <td class="description">Accept-Language field</td></tr>
+ <tr><th>HTTP_FIELD_ACCEPT_RANGES </th> <td class="description">Accept-Ranges field</td></tr>
+ <tr><th>HTTP_FIELD_ALLOW <span class="info"> CUPS 1.7/macOS 10.9 </span></th> <td class="description">Allow field </td></tr>
+ <tr><th>HTTP_FIELD_AUTHORIZATION </th> <td class="description">Authorization field</td></tr>
+ <tr><th>HTTP_FIELD_CONNECTION </th> <td class="description">Connection field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_ENCODING </th> <td class="description">Content-Encoding field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_LANGUAGE </th> <td class="description">Content-Language field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_LENGTH </th> <td class="description">Content-Length field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_LOCATION </th> <td class="description">Content-Location field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_MD5 </th> <td class="description">Content-MD5 field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_RANGE </th> <td class="description">Content-Range field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_TYPE </th> <td class="description">Content-Type field</td></tr>
+ <tr><th>HTTP_FIELD_CONTENT_VERSION </th> <td class="description">Content-Version field</td></tr>
+ <tr><th>HTTP_FIELD_DATE </th> <td class="description">Date field</td></tr>
+ <tr><th>HTTP_FIELD_HOST </th> <td class="description">Host field</td></tr>
+ <tr><th>HTTP_FIELD_IF_MODIFIED_SINCE </th> <td class="description">If-Modified-Since field</td></tr>
+ <tr><th>HTTP_FIELD_IF_UNMODIFIED_SINCE </th> <td class="description">If-Unmodified-Since field</td></tr>
+ <tr><th>HTTP_FIELD_KEEP_ALIVE </th> <td class="description">Keep-Alive field</td></tr>
+ <tr><th>HTTP_FIELD_LAST_MODIFIED </th> <td class="description">Last-Modified field</td></tr>
+ <tr><th>HTTP_FIELD_LINK </th> <td class="description">Link field</td></tr>
+ <tr><th>HTTP_FIELD_LOCATION </th> <td class="description">Location field</td></tr>
+ <tr><th>HTTP_FIELD_MAX </th> <td class="description">Maximum field index</td></tr>
+ <tr><th>HTTP_FIELD_RANGE </th> <td class="description">Range field</td></tr>
+ <tr><th>HTTP_FIELD_REFERER </th> <td class="description">Referer field</td></tr>
+ <tr><th>HTTP_FIELD_RETRY_AFTER </th> <td class="description">Retry-After field</td></tr>
+ <tr><th>HTTP_FIELD_SERVER <span class="info"> CUPS 1.7/macOS 10.9 </span></th> <td class="description">Server field </td></tr>
+ <tr><th>HTTP_FIELD_TRANSFER_ENCODING </th> <td class="description">Transfer-Encoding field</td></tr>
+ <tr><th>HTTP_FIELD_UNKNOWN </th> <td class="description">Unknown field</td></tr>
+ <tr><th>HTTP_FIELD_UPGRADE </th> <td class="description">Upgrade field</td></tr>
+ <tr><th>HTTP_FIELD_USER_AGENT </th> <td class="description">User-Agent field</td></tr>
+ <tr><th>HTTP_FIELD_WWW_AUTHENTICATE </th> <td class="description">WWW-Authenticate field</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_keepalive_e">http_keepalive_e</a></h3>
<p class="description">HTTP keep-alive values</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_KEEPALIVE_OFF </dt>
- <dd class="description">No keep alive support</dd>
- <dt>HTTP_KEEPALIVE_ON </dt>
- <dd class="description">Use keep alive</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_KEEPALIVE_OFF </th> <td class="description">No keep alive support</td></tr>
+ <tr><th>HTTP_KEEPALIVE_ON </th> <td class="description">Use keep alive</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_state_e">http_state_e</a></h3>
<p class="description">HTTP state values; states
are server-oriented...</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_STATE_CONNECT </dt>
- <dd class="description">CONNECT command, waiting for blank line</dd>
- <dt>HTTP_STATE_DELETE </dt>
- <dd class="description">DELETE command, waiting for blank line</dd>
- <dt>HTTP_STATE_ERROR </dt>
- <dd class="description">Error on socket</dd>
- <dt>HTTP_STATE_GET </dt>
- <dd class="description">GET command, waiting for blank line</dd>
- <dt>HTTP_STATE_GET_SEND </dt>
- <dd class="description">GET command, sending data</dd>
- <dt>HTTP_STATE_HEAD </dt>
- <dd class="description">HEAD command, waiting for blank line</dd>
- <dt>HTTP_STATE_OPTIONS </dt>
- <dd class="description">OPTIONS command, waiting for blank line</dd>
- <dt>HTTP_STATE_POST </dt>
- <dd class="description">POST command, waiting for blank line</dd>
- <dt>HTTP_STATE_POST_RECV </dt>
- <dd class="description">POST command, receiving data</dd>
- <dt>HTTP_STATE_POST_SEND </dt>
- <dd class="description">POST command, sending data</dd>
- <dt>HTTP_STATE_PUT </dt>
- <dd class="description">PUT command, waiting for blank line</dd>
- <dt>HTTP_STATE_PUT_RECV </dt>
- <dd class="description">PUT command, receiving data</dd>
- <dt>HTTP_STATE_STATUS </dt>
- <dd class="description">Command complete, sending status</dd>
- <dt>HTTP_STATE_TRACE </dt>
- <dd class="description">TRACE command, waiting for blank line</dd>
- <dt>HTTP_STATE_UNKNOWN_METHOD <span class="info"> CUPS 1.7/macOS 10.9 </span></dt>
- <dd class="description">Unknown request method, waiting for blank line </dd>
- <dt>HTTP_STATE_UNKNOWN_VERSION <span class="info"> CUPS 1.7/macOS 10.9 </span></dt>
- <dd class="description">Unknown request method, waiting for blank line </dd>
- <dt>HTTP_STATE_WAITING </dt>
- <dd class="description">Waiting for command</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_STATE_CONNECT </th> <td class="description">CONNECT command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_DELETE </th> <td class="description">DELETE command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_ERROR </th> <td class="description">Error on socket</td></tr>
+ <tr><th>HTTP_STATE_GET </th> <td class="description">GET command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_GET_SEND </th> <td class="description">GET command, sending data</td></tr>
+ <tr><th>HTTP_STATE_HEAD </th> <td class="description">HEAD command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_OPTIONS </th> <td class="description">OPTIONS command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_POST </th> <td class="description">POST command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_POST_RECV </th> <td class="description">POST command, receiving data</td></tr>
+ <tr><th>HTTP_STATE_POST_SEND </th> <td class="description">POST command, sending data</td></tr>
+ <tr><th>HTTP_STATE_PUT </th> <td class="description">PUT command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_PUT_RECV </th> <td class="description">PUT command, receiving data</td></tr>
+ <tr><th>HTTP_STATE_STATUS </th> <td class="description">Command complete, sending status</td></tr>
+ <tr><th>HTTP_STATE_TRACE </th> <td class="description">TRACE command, waiting for blank line</td></tr>
+ <tr><th>HTTP_STATE_UNKNOWN_METHOD <span class="info"> CUPS 1.7/macOS 10.9 </span></th> <td class="description">Unknown request method, waiting for blank line </td></tr>
+ <tr><th>HTTP_STATE_UNKNOWN_VERSION <span class="info"> CUPS 1.7/macOS 10.9 </span></th> <td class="description">Unknown request method, waiting for blank line </td></tr>
+ <tr><th>HTTP_STATE_WAITING </th> <td class="description">Waiting for command</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_status_e">http_status_e</a></h3>
<p class="description">HTTP status codes</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_STATUS_ACCEPTED </dt>
- <dd class="description">DELETE command was successful</dd>
- <dt>HTTP_STATUS_BAD_GATEWAY </dt>
- <dd class="description">Bad gateway</dd>
- <dt>HTTP_STATUS_BAD_REQUEST </dt>
- <dd class="description">Bad request</dd>
- <dt>HTTP_STATUS_CONFLICT </dt>
- <dd class="description">Request is self-conflicting</dd>
- <dt>HTTP_STATUS_CONTINUE </dt>
- <dd class="description">Everything OK, keep going...</dd>
- <dt>HTTP_STATUS_CREATED </dt>
- <dd class="description">PUT command was successful</dd>
- <dt>HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED <span class="info"> CUPS 1.4 </span></dt>
- <dd class="description">User canceled authorization </dd>
- <dt>HTTP_STATUS_CUPS_PKI_ERROR <span class="info"> CUPS 1.5/macOS 10.7 </span></dt>
- <dd class="description">Error negotiating a secure connection </dd>
- <dt>HTTP_STATUS_ERROR </dt>
- <dd class="description">An error response from httpXxxx()</dd>
- <dt>HTTP_STATUS_EXPECTATION_FAILED </dt>
- <dd class="description">The expectation given in an Expect header field was not met</dd>
- <dt>HTTP_STATUS_FORBIDDEN </dt>
- <dd class="description">Forbidden to access this URI</dd>
- <dt>HTTP_STATUS_GATEWAY_TIMEOUT </dt>
- <dd class="description">Gateway connection timed out</dd>
- <dt>HTTP_STATUS_GONE </dt>
- <dd class="description">Server has gone away</dd>
- <dt>HTTP_STATUS_LENGTH_REQUIRED </dt>
- <dd class="description">A content length or encoding is required</dd>
- <dt>HTTP_STATUS_METHOD_NOT_ALLOWED </dt>
- <dd class="description">Method is not allowed</dd>
- <dt>HTTP_STATUS_MOVED_PERMANENTLY </dt>
- <dd class="description">Document has moved permanently</dd>
- <dt>HTTP_STATUS_MOVED_TEMPORARILY </dt>
- <dd class="description">Document has moved temporarily</dd>
- <dt>HTTP_STATUS_MULTIPLE_CHOICES </dt>
- <dd class="description">Multiple files match request</dd>
- <dt>HTTP_STATUS_NONE <span class="info"> CUPS 1.7/macOS 10.9 </span></dt>
- <dd class="description">No Expect value </dd>
- <dt>HTTP_STATUS_NOT_ACCEPTABLE </dt>
- <dd class="description">Not Acceptable</dd>
- <dt>HTTP_STATUS_NOT_AUTHORITATIVE </dt>
- <dd class="description">Information isn't authoritative</dd>
- <dt>HTTP_STATUS_NOT_FOUND </dt>
- <dd class="description">URI was not found</dd>
- <dt>HTTP_STATUS_NOT_IMPLEMENTED </dt>
- <dd class="description">Feature not implemented</dd>
- <dt>HTTP_STATUS_NOT_MODIFIED </dt>
- <dd class="description">File not modified</dd>
- <dt>HTTP_STATUS_NOT_SUPPORTED </dt>
- <dd class="description">HTTP version not supported</dd>
- <dt>HTTP_STATUS_NO_CONTENT </dt>
- <dd class="description">Successful command, no new data</dd>
- <dt>HTTP_STATUS_OK </dt>
- <dd class="description">OPTIONS/GET/HEAD/POST/TRACE command was successful</dd>
- <dt>HTTP_STATUS_PARTIAL_CONTENT </dt>
- <dd class="description">Only a partial file was received/sent</dd>
- <dt>HTTP_STATUS_PAYMENT_REQUIRED </dt>
- <dd class="description">Payment required</dd>
- <dt>HTTP_STATUS_PRECONDITION </dt>
- <dd class="description">Precondition failed</dd>
- <dt>HTTP_STATUS_PROXY_AUTHENTICATION </dt>
- <dd class="description">Proxy Authentication is Required</dd>
- <dt>HTTP_STATUS_REQUESTED_RANGE </dt>
- <dd class="description">The requested range is not satisfiable</dd>
- <dt>HTTP_STATUS_REQUEST_TIMEOUT </dt>
- <dd class="description">Request timed out</dd>
- <dt>HTTP_STATUS_REQUEST_TOO_LARGE </dt>
- <dd class="description">Request entity too large</dd>
- <dt>HTTP_STATUS_RESET_CONTENT </dt>
- <dd class="description">Content was reset/recreated</dd>
- <dt>HTTP_STATUS_SEE_OTHER </dt>
- <dd class="description">See this other link...</dd>
- <dt>HTTP_STATUS_SERVER_ERROR </dt>
- <dd class="description">Internal server error</dd>
- <dt>HTTP_STATUS_SERVICE_UNAVAILABLE </dt>
- <dd class="description">Service is unavailable</dd>
- <dt>HTTP_STATUS_SWITCHING_PROTOCOLS </dt>
- <dd class="description">HTTP upgrade to TLS/SSL</dd>
- <dt>HTTP_STATUS_UNAUTHORIZED </dt>
- <dd class="description">Unauthorized to access host</dd>
- <dt>HTTP_STATUS_UNSUPPORTED_MEDIATYPE </dt>
- <dd class="description">The requested media type is unsupported</dd>
- <dt>HTTP_STATUS_UPGRADE_REQUIRED </dt>
- <dd class="description">Upgrade to SSL/TLS required</dd>
- <dt>HTTP_STATUS_URI_TOO_LONG </dt>
- <dd class="description">URI too long</dd>
- <dt>HTTP_STATUS_USE_PROXY </dt>
- <dd class="description">Must use a proxy to access this URI</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_STATUS_ACCEPTED </th> <td class="description">DELETE command was successful</td></tr>
+ <tr><th>HTTP_STATUS_BAD_GATEWAY </th> <td class="description">Bad gateway</td></tr>
+ <tr><th>HTTP_STATUS_BAD_REQUEST </th> <td class="description">Bad request</td></tr>
+ <tr><th>HTTP_STATUS_CONFLICT </th> <td class="description">Request is self-conflicting</td></tr>
+ <tr><th>HTTP_STATUS_CONTINUE </th> <td class="description">Everything OK, keep going...</td></tr>
+ <tr><th>HTTP_STATUS_CREATED </th> <td class="description">PUT command was successful</td></tr>
+ <tr><th>HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED <span class="info"> CUPS 1.4 </span></th> <td class="description">User canceled authorization </td></tr>
+ <tr><th>HTTP_STATUS_CUPS_PKI_ERROR <span class="info"> CUPS 1.5/macOS 10.7 </span></th> <td class="description">Error negotiating a secure connection </td></tr>
+ <tr><th>HTTP_STATUS_ERROR </th> <td class="description">An error response from httpXxxx()</td></tr>
+ <tr><th>HTTP_STATUS_EXPECTATION_FAILED </th> <td class="description">The expectation given in an Expect header field was not met</td></tr>
+ <tr><th>HTTP_STATUS_FORBIDDEN </th> <td class="description">Forbidden to access this URI</td></tr>
+ <tr><th>HTTP_STATUS_GATEWAY_TIMEOUT </th> <td class="description">Gateway connection timed out</td></tr>
+ <tr><th>HTTP_STATUS_GONE </th> <td class="description">Server has gone away</td></tr>
+ <tr><th>HTTP_STATUS_LENGTH_REQUIRED </th> <td class="description">A content length or encoding is required</td></tr>
+ <tr><th>HTTP_STATUS_METHOD_NOT_ALLOWED </th> <td class="description">Method is not allowed</td></tr>
+ <tr><th>HTTP_STATUS_MOVED_PERMANENTLY </th> <td class="description">Document has moved permanently</td></tr>
+ <tr><th>HTTP_STATUS_MOVED_TEMPORARILY </th> <td class="description">Document has moved temporarily</td></tr>
+ <tr><th>HTTP_STATUS_MULTIPLE_CHOICES </th> <td class="description">Multiple files match request</td></tr>
+ <tr><th>HTTP_STATUS_NONE <span class="info"> CUPS 1.7/macOS 10.9 </span></th> <td class="description">No Expect value </td></tr>
+ <tr><th>HTTP_STATUS_NOT_ACCEPTABLE </th> <td class="description">Not Acceptable</td></tr>
+ <tr><th>HTTP_STATUS_NOT_AUTHORITATIVE </th> <td class="description">Information isn't authoritative</td></tr>
+ <tr><th>HTTP_STATUS_NOT_FOUND </th> <td class="description">URI was not found</td></tr>
+ <tr><th>HTTP_STATUS_NOT_IMPLEMENTED </th> <td class="description">Feature not implemented</td></tr>
+ <tr><th>HTTP_STATUS_NOT_MODIFIED </th> <td class="description">File not modified</td></tr>
+ <tr><th>HTTP_STATUS_NOT_SUPPORTED </th> <td class="description">HTTP version not supported</td></tr>
+ <tr><th>HTTP_STATUS_NO_CONTENT </th> <td class="description">Successful command, no new data</td></tr>
+ <tr><th>HTTP_STATUS_OK </th> <td class="description">OPTIONS/GET/HEAD/POST/TRACE command was successful</td></tr>
+ <tr><th>HTTP_STATUS_PARTIAL_CONTENT </th> <td class="description">Only a partial file was received/sent</td></tr>
+ <tr><th>HTTP_STATUS_PAYMENT_REQUIRED </th> <td class="description">Payment required</td></tr>
+ <tr><th>HTTP_STATUS_PRECONDITION </th> <td class="description">Precondition failed</td></tr>
+ <tr><th>HTTP_STATUS_PROXY_AUTHENTICATION </th> <td class="description">Proxy Authentication is Required</td></tr>
+ <tr><th>HTTP_STATUS_REQUESTED_RANGE </th> <td class="description">The requested range is not satisfiable</td></tr>
+ <tr><th>HTTP_STATUS_REQUEST_TIMEOUT </th> <td class="description">Request timed out</td></tr>
+ <tr><th>HTTP_STATUS_REQUEST_TOO_LARGE </th> <td class="description">Request entity too large</td></tr>
+ <tr><th>HTTP_STATUS_RESET_CONTENT </th> <td class="description">Content was reset/recreated</td></tr>
+ <tr><th>HTTP_STATUS_SEE_OTHER </th> <td class="description">See this other link...</td></tr>
+ <tr><th>HTTP_STATUS_SERVER_ERROR </th> <td class="description">Internal server error</td></tr>
+ <tr><th>HTTP_STATUS_SERVICE_UNAVAILABLE </th> <td class="description">Service is unavailable</td></tr>
+ <tr><th>HTTP_STATUS_SWITCHING_PROTOCOLS </th> <td class="description">HTTP upgrade to TLS/SSL</td></tr>
+ <tr><th>HTTP_STATUS_UNAUTHORIZED </th> <td class="description">Unauthorized to access host</td></tr>
+ <tr><th>HTTP_STATUS_UNSUPPORTED_MEDIATYPE </th> <td class="description">The requested media type is unsupported</td></tr>
+ <tr><th>HTTP_STATUS_UPGRADE_REQUIRED </th> <td class="description">Upgrade to SSL/TLS required</td></tr>
+ <tr><th>HTTP_STATUS_URI_TOO_LONG </th> <td class="description">URI too long</td></tr>
+ <tr><th>HTTP_STATUS_USE_PROXY </th> <td class="description">Must use a proxy to access this URI</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_trust_e"><span class="info"> CUPS 2.0/OS 10.10 </span>http_trust_e</a></h3>
<p class="description">Level of trust for credentials </p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_TRUST_CHANGED </dt>
- <dd class="description">Credentials have changed</dd>
- <dt>HTTP_TRUST_EXPIRED </dt>
- <dd class="description">Credentials are expired</dd>
- <dt>HTTP_TRUST_INVALID </dt>
- <dd class="description">Credentials are invalid</dd>
- <dt>HTTP_TRUST_OK </dt>
- <dd class="description">Credentials are OK/trusted</dd>
- <dt>HTTP_TRUST_RENEWED </dt>
- <dd class="description">Credentials have been renewed</dd>
- <dt>HTTP_TRUST_UNKNOWN </dt>
- <dd class="description">Credentials are unknown/new</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_TRUST_CHANGED </th> <td class="description">Credentials have changed</td></tr>
+ <tr><th>HTTP_TRUST_EXPIRED </th> <td class="description">Credentials are expired</td></tr>
+ <tr><th>HTTP_TRUST_INVALID </th> <td class="description">Credentials are invalid</td></tr>
+ <tr><th>HTTP_TRUST_OK </th> <td class="description">Credentials are OK/trusted</td></tr>
+ <tr><th>HTTP_TRUST_RENEWED </th> <td class="description">Credentials have been renewed</td></tr>
+ <tr><th>HTTP_TRUST_UNKNOWN </th> <td class="description">Credentials are unknown/new</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_uri_coding_e">http_uri_coding_e</a></h3>
<p class="description">URI en/decode flags</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_URI_CODING_ALL </dt>
- <dd class="description">En/decode everything</dd>
- <dt>HTTP_URI_CODING_HOSTNAME </dt>
- <dd class="description">En/decode the hostname portion</dd>
- <dt>HTTP_URI_CODING_MOST </dt>
- <dd class="description">En/decode all but the query</dd>
- <dt>HTTP_URI_CODING_NONE </dt>
- <dd class="description">Don't en/decode anything</dd>
- <dt>HTTP_URI_CODING_QUERY </dt>
- <dd class="description">En/decode the query portion</dd>
- <dt>HTTP_URI_CODING_RESOURCE </dt>
- <dd class="description">En/decode the resource portion</dd>
- <dt>HTTP_URI_CODING_RFC6874 </dt>
- <dd class="description">Use RFC 6874 address format</dd>
- <dt>HTTP_URI_CODING_USERNAME </dt>
- <dd class="description">En/decode the username portion</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_URI_CODING_ALL </th> <td class="description">En/decode everything</td></tr>
+ <tr><th>HTTP_URI_CODING_HOSTNAME </th> <td class="description">En/decode the hostname portion</td></tr>
+ <tr><th>HTTP_URI_CODING_MOST </th> <td class="description">En/decode all but the query</td></tr>
+ <tr><th>HTTP_URI_CODING_NONE </th> <td class="description">Don't en/decode anything</td></tr>
+ <tr><th>HTTP_URI_CODING_QUERY </th> <td class="description">En/decode the query portion</td></tr>
+ <tr><th>HTTP_URI_CODING_RESOURCE </th> <td class="description">En/decode the resource portion</td></tr>
+ <tr><th>HTTP_URI_CODING_RFC6874 </th> <td class="description">Use RFC 6874 address format</td></tr>
+ <tr><th>HTTP_URI_CODING_USERNAME </th> <td class="description">En/decode the username portion</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="http_uri_status_e"><span class="info"> CUPS 1.2 </span>http_uri_status_e</a></h3>
<p class="description">URI separation status </p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>HTTP_URI_STATUS_BAD_ARGUMENTS </dt>
- <dd class="description">Bad arguments to function (error)</dd>
- <dt>HTTP_URI_STATUS_BAD_HOSTNAME </dt>
- <dd class="description">Bad hostname in URI (error)</dd>
- <dt>HTTP_URI_STATUS_BAD_PORT </dt>
- <dd class="description">Bad port number in URI (error)</dd>
- <dt>HTTP_URI_STATUS_BAD_RESOURCE </dt>
- <dd class="description">Bad resource in URI (error)</dd>
- <dt>HTTP_URI_STATUS_BAD_SCHEME </dt>
- <dd class="description">Bad scheme in URI (error)</dd>
- <dt>HTTP_URI_STATUS_BAD_URI </dt>
- <dd class="description">Bad/empty URI (error)</dd>
- <dt>HTTP_URI_STATUS_BAD_USERNAME </dt>
- <dd class="description">Bad username in URI (error)</dd>
- <dt>HTTP_URI_STATUS_MISSING_RESOURCE </dt>
- <dd class="description">Missing resource in URI (warning)</dd>
- <dt>HTTP_URI_STATUS_MISSING_SCHEME </dt>
- <dd class="description">Missing scheme in URI (warning)</dd>
- <dt>HTTP_URI_STATUS_OK </dt>
- <dd class="description">URI decoded OK</dd>
- <dt>HTTP_URI_STATUS_OVERFLOW </dt>
- <dd class="description">URI buffer for httpAssembleURI is too small</dd>
- <dt>HTTP_URI_STATUS_UNKNOWN_SCHEME </dt>
- <dd class="description">Unknown scheme in URI (warning)</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>HTTP_URI_STATUS_BAD_ARGUMENTS </th> <td class="description">Bad arguments to function (error)</td></tr>
+ <tr><th>HTTP_URI_STATUS_BAD_HOSTNAME </th> <td class="description">Bad hostname in URI (error)</td></tr>
+ <tr><th>HTTP_URI_STATUS_BAD_PORT </th> <td class="description">Bad port number in URI (error)</td></tr>
+ <tr><th>HTTP_URI_STATUS_BAD_RESOURCE </th> <td class="description">Bad resource in URI (error)</td></tr>
+ <tr><th>HTTP_URI_STATUS_BAD_SCHEME </th> <td class="description">Bad scheme in URI (error)</td></tr>
+ <tr><th>HTTP_URI_STATUS_BAD_URI </th> <td class="description">Bad/empty URI (error)</td></tr>
+ <tr><th>HTTP_URI_STATUS_BAD_USERNAME </th> <td class="description">Bad username in URI (error)</td></tr>
+ <tr><th>HTTP_URI_STATUS_MISSING_RESOURCE </th> <td class="description">Missing resource in URI (warning)</td></tr>
+ <tr><th>HTTP_URI_STATUS_MISSING_SCHEME </th> <td class="description">Missing scheme in URI (warning)</td></tr>
+ <tr><th>HTTP_URI_STATUS_OK </th> <td class="description">URI decoded OK</td></tr>
+ <tr><th>HTTP_URI_STATUS_OVERFLOW </th> <td class="description">URI buffer for httpAssembleURI is too small</td></tr>
+ <tr><th>HTTP_URI_STATUS_UNKNOWN_SCHEME </th> <td class="description">Unknown scheme in URI (warning)</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_finishings_e">ipp_finishings_e</a></h3>
<p class="description">Finishings values</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_FINISHINGS_BALE </dt>
- <dd class="description">Bale (any type)</dd>
- <dt>IPP_FINISHINGS_BIND </dt>
- <dd class="description">Bind</dd>
- <dt>IPP_FINISHINGS_BIND_BOTTOM </dt>
- <dd class="description">Bind on bottom</dd>
- <dt>IPP_FINISHINGS_BIND_LEFT </dt>
- <dd class="description">Bind on left</dd>
- <dt>IPP_FINISHINGS_BIND_RIGHT </dt>
- <dd class="description">Bind on right</dd>
- <dt>IPP_FINISHINGS_BIND_TOP </dt>
- <dd class="description">Bind on top</dd>
- <dt>IPP_FINISHINGS_BOOKLET_MAKER </dt>
- <dd class="description">Fold to make booklet</dd>
- <dt>IPP_FINISHINGS_COAT </dt>
- <dd class="description">Apply protective liquid or powder coating</dd>
- <dt>IPP_FINISHINGS_COVER </dt>
- <dd class="description">Add cover</dd>
- <dt>IPP_FINISHINGS_EDGE_STITCH </dt>
- <dd class="description">Stitch along any side</dd>
- <dt>IPP_FINISHINGS_EDGE_STITCH_BOTTOM </dt>
- <dd class="description">Stitch along bottom edge</dd>
- <dt>IPP_FINISHINGS_EDGE_STITCH_LEFT </dt>
- <dd class="description">Stitch along left side</dd>
- <dt>IPP_FINISHINGS_EDGE_STITCH_RIGHT </dt>
- <dd class="description">Stitch along right side</dd>
- <dt>IPP_FINISHINGS_EDGE_STITCH_TOP </dt>
- <dd class="description">Stitch along top edge</dd>
- <dt>IPP_FINISHINGS_FOLD </dt>
- <dd class="description">Fold (any type)</dd>
- <dt>IPP_FINISHINGS_FOLD_ACCORDIAN </dt>
- <dd class="description">Accordian-fold the paper vertically into four sections</dd>
- <dt>IPP_FINISHINGS_FOLD_DOUBLE_GATE </dt>
- <dd class="description">Fold the top and bottom quarters of the paper towards the midline, then fold in half vertically</dd>
- <dt>IPP_FINISHINGS_FOLD_ENGINEERING_Z </dt>
- <dd class="description">Fold the paper vertically into two small sections and one larger, forming an elongated Z</dd>
- <dt>IPP_FINISHINGS_FOLD_GATE </dt>
- <dd class="description">Fold the top and bottom quarters of the paper towards the midline</dd>
- <dt>IPP_FINISHINGS_FOLD_HALF </dt>
- <dd class="description">Fold the paper in half vertically</dd>
- <dt>IPP_FINISHINGS_FOLD_HALF_Z </dt>
- <dd class="description">Fold the paper in half horizontally, then Z-fold the paper vertically</dd>
- <dt>IPP_FINISHINGS_FOLD_LEFT_GATE </dt>
- <dd class="description">Fold the top quarter of the paper towards the midline</dd>
- <dt>IPP_FINISHINGS_FOLD_LETTER </dt>
- <dd class="description">Fold the paper into three sections vertically; sometimes also known as a C fold</dd>
- <dt>IPP_FINISHINGS_FOLD_PARALLEL </dt>
- <dd class="description">Fold the paper in half vertically two times, yielding four sections</dd>
- <dt>IPP_FINISHINGS_FOLD_POSTER </dt>
- <dd class="description">Fold the paper in half horizontally and vertically; sometimes also called a cross fold</dd>
- <dt>IPP_FINISHINGS_FOLD_RIGHT_GATE </dt>
- <dd class="description">Fold the bottom quarter of the paper towards the midline</dd>
- <dt>IPP_FINISHINGS_FOLD_Z </dt>
- <dd class="description">Fold the paper vertically into three sections, forming a Z</dd>
- <dt>IPP_FINISHINGS_JOG_OFFSET </dt>
- <dd class="description">Offset for binding (any type)</dd>
- <dt>IPP_FINISHINGS_LAMINATE </dt>
- <dd class="description">Apply protective (solid) material</dd>
- <dt>IPP_FINISHINGS_NONE </dt>
- <dd class="description">No finishing</dd>
- <dt>IPP_FINISHINGS_PUNCH </dt>
- <dd class="description">Punch (any location/count)</dd>
- <dt>IPP_FINISHINGS_PUNCH_BOTTOM_LEFT </dt>
- <dd class="description">Punch 1 hole bottom left</dd>
- <dt>IPP_FINISHINGS_PUNCH_BOTTOM_RIGHT </dt>
- <dd class="description">Punch 1 hole bottom right</dd>
- <dt>IPP_FINISHINGS_PUNCH_DUAL_BOTTOM </dt>
- <dd class="description">Punch 2 holes bottom edge</dd>
- <dt>IPP_FINISHINGS_PUNCH_DUAL_LEFT </dt>
- <dd class="description">Punch 2 holes left side</dd>
- <dt>IPP_FINISHINGS_PUNCH_DUAL_RIGHT </dt>
- <dd class="description">Punch 2 holes right side</dd>
- <dt>IPP_FINISHINGS_PUNCH_DUAL_TOP </dt>
- <dd class="description">Punch 2 holes top edge</dd>
- <dt>IPP_FINISHINGS_PUNCH_MULTIPLE_BOTTOM </dt>
- <dd class="description">Pucnh multiple holes bottom edge</dd>
- <dt>IPP_FINISHINGS_PUNCH_MULTIPLE_LEFT </dt>
- <dd class="description">Pucnh multiple holes left side</dd>
- <dt>IPP_FINISHINGS_PUNCH_MULTIPLE_RIGHT </dt>
- <dd class="description">Pucnh multiple holes right side</dd>
- <dt>IPP_FINISHINGS_PUNCH_MULTIPLE_TOP </dt>
- <dd class="description">Pucnh multiple holes top edge</dd>
- <dt>IPP_FINISHINGS_PUNCH_QUAD_BOTTOM </dt>
- <dd class="description">Punch 4 holes bottom edge</dd>
- <dt>IPP_FINISHINGS_PUNCH_QUAD_LEFT </dt>
- <dd class="description">Punch 4 holes left side</dd>
- <dt>IPP_FINISHINGS_PUNCH_QUAD_RIGHT </dt>
- <dd class="description">Punch 4 holes right side</dd>
- <dt>IPP_FINISHINGS_PUNCH_QUAD_TOP </dt>
- <dd class="description">Punch 4 holes top edge</dd>
- <dt>IPP_FINISHINGS_PUNCH_TOP_LEFT </dt>
- <dd class="description">Punch 1 hole top left</dd>
- <dt>IPP_FINISHINGS_PUNCH_TOP_RIGHT </dt>
- <dd class="description">Punch 1 hole top right</dd>
- <dt>IPP_FINISHINGS_PUNCH_TRIPLE_BOTTOM </dt>
- <dd class="description">Punch 3 holes bottom edge</dd>
- <dt>IPP_FINISHINGS_PUNCH_TRIPLE_LEFT </dt>
- <dd class="description">Punch 3 holes left side</dd>
- <dt>IPP_FINISHINGS_PUNCH_TRIPLE_RIGHT </dt>
- <dd class="description">Punch 3 holes right side</dd>
- <dt>IPP_FINISHINGS_PUNCH_TRIPLE_TOP </dt>
- <dd class="description">Punch 3 holes top edge</dd>
- <dt>IPP_FINISHINGS_SADDLE_STITCH </dt>
- <dd class="description">Staple interior</dd>
- <dt>IPP_FINISHINGS_STAPLE </dt>
- <dd class="description">Staple (any location/method)</dd>
- <dt>IPP_FINISHINGS_STAPLE_BOTTOM_LEFT </dt>
- <dd class="description">Staple bottom left corner</dd>
- <dt>IPP_FINISHINGS_STAPLE_BOTTOM_RIGHT </dt>
- <dd class="description">Staple bottom right corner</dd>
- <dt>IPP_FINISHINGS_STAPLE_DUAL_BOTTOM </dt>
- <dd class="description">Two staples on bottom</dd>
- <dt>IPP_FINISHINGS_STAPLE_DUAL_LEFT </dt>
- <dd class="description">Two staples on left</dd>
- <dt>IPP_FINISHINGS_STAPLE_DUAL_RIGHT </dt>
- <dd class="description">Two staples on right</dd>
- <dt>IPP_FINISHINGS_STAPLE_DUAL_TOP </dt>
- <dd class="description">Two staples on top</dd>
- <dt>IPP_FINISHINGS_STAPLE_TOP_LEFT </dt>
- <dd class="description">Staple top left corner</dd>
- <dt>IPP_FINISHINGS_STAPLE_TOP_RIGHT </dt>
- <dd class="description">Staple top right corner</dd>
- <dt>IPP_FINISHINGS_STAPLE_TRIPLE_BOTTOM </dt>
- <dd class="description">Three staples on bottom</dd>
- <dt>IPP_FINISHINGS_STAPLE_TRIPLE_LEFT </dt>
- <dd class="description">Three staples on left</dd>
- <dt>IPP_FINISHINGS_STAPLE_TRIPLE_RIGHT </dt>
- <dd class="description">Three staples on right</dd>
- <dt>IPP_FINISHINGS_STAPLE_TRIPLE_TOP </dt>
- <dd class="description">Three staples on top</dd>
- <dt>IPP_FINISHINGS_TRIM </dt>
- <dd class="description">Trim (any type)</dd>
- <dt>IPP_FINISHINGS_TRIM_AFTER_COPIES </dt>
- <dd class="description">Trim output after each copy</dd>
- <dt>IPP_FINISHINGS_TRIM_AFTER_DOCUMENTS </dt>
- <dd class="description">Trim output after each document</dd>
- <dt>IPP_FINISHINGS_TRIM_AFTER_JOB </dt>
- <dd class="description">Trim output after job</dd>
- <dt>IPP_FINISHINGS_TRIM_AFTER_PAGES </dt>
- <dd class="description">Trim output after each page</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_FINISHINGS_BALE </th> <td class="description">Bale (any type)</td></tr>
+ <tr><th>IPP_FINISHINGS_BIND </th> <td class="description">Bind</td></tr>
+ <tr><th>IPP_FINISHINGS_BIND_BOTTOM </th> <td class="description">Bind on bottom</td></tr>
+ <tr><th>IPP_FINISHINGS_BIND_LEFT </th> <td class="description">Bind on left</td></tr>
+ <tr><th>IPP_FINISHINGS_BIND_RIGHT </th> <td class="description">Bind on right</td></tr>
+ <tr><th>IPP_FINISHINGS_BIND_TOP </th> <td class="description">Bind on top</td></tr>
+ <tr><th>IPP_FINISHINGS_BOOKLET_MAKER </th> <td class="description">Fold to make booklet</td></tr>
+ <tr><th>IPP_FINISHINGS_COAT </th> <td class="description">Apply protective liquid or powder coating</td></tr>
+ <tr><th>IPP_FINISHINGS_COVER </th> <td class="description">Add cover</td></tr>
+ <tr><th>IPP_FINISHINGS_EDGE_STITCH </th> <td class="description">Stitch along any side</td></tr>
+ <tr><th>IPP_FINISHINGS_EDGE_STITCH_BOTTOM </th> <td class="description">Stitch along bottom edge</td></tr>
+ <tr><th>IPP_FINISHINGS_EDGE_STITCH_LEFT </th> <td class="description">Stitch along left side</td></tr>
+ <tr><th>IPP_FINISHINGS_EDGE_STITCH_RIGHT </th> <td class="description">Stitch along right side</td></tr>
+ <tr><th>IPP_FINISHINGS_EDGE_STITCH_TOP </th> <td class="description">Stitch along top edge</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD </th> <td class="description">Fold (any type)</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_ACCORDIAN </th> <td class="description">Accordian-fold the paper vertically into four sections</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_DOUBLE_GATE </th> <td class="description">Fold the top and bottom quarters of the paper towards the midline, then fold in half vertically</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_ENGINEERING_Z </th> <td class="description">Fold the paper vertically into two small sections and one larger, forming an elongated Z</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_GATE </th> <td class="description">Fold the top and bottom quarters of the paper towards the midline</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_HALF </th> <td class="description">Fold the paper in half vertically</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_HALF_Z </th> <td class="description">Fold the paper in half horizontally, then Z-fold the paper vertically</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_LEFT_GATE </th> <td class="description">Fold the top quarter of the paper towards the midline</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_LETTER </th> <td class="description">Fold the paper into three sections vertically; sometimes also known as a C fold</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_PARALLEL </th> <td class="description">Fold the paper in half vertically two times, yielding four sections</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_POSTER </th> <td class="description">Fold the paper in half horizontally and vertically; sometimes also called a cross fold</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_RIGHT_GATE </th> <td class="description">Fold the bottom quarter of the paper towards the midline</td></tr>
+ <tr><th>IPP_FINISHINGS_FOLD_Z </th> <td class="description">Fold the paper vertically into three sections, forming a Z</td></tr>
+ <tr><th>IPP_FINISHINGS_JOG_OFFSET </th> <td class="description">Offset for binding (any type)</td></tr>
+ <tr><th>IPP_FINISHINGS_LAMINATE </th> <td class="description">Apply protective (solid) material</td></tr>
+ <tr><th>IPP_FINISHINGS_NONE </th> <td class="description">No finishing</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH </th> <td class="description">Punch (any location/count)</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_BOTTOM_LEFT </th> <td class="description">Punch 1 hole bottom left</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_BOTTOM_RIGHT </th> <td class="description">Punch 1 hole bottom right</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_DUAL_BOTTOM </th> <td class="description">Punch 2 holes bottom edge</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_DUAL_LEFT </th> <td class="description">Punch 2 holes left side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_DUAL_RIGHT </th> <td class="description">Punch 2 holes right side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_DUAL_TOP </th> <td class="description">Punch 2 holes top edge</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_MULTIPLE_BOTTOM </th> <td class="description">Pucnh multiple holes bottom edge</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_MULTIPLE_LEFT </th> <td class="description">Pucnh multiple holes left side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_MULTIPLE_RIGHT </th> <td class="description">Pucnh multiple holes right side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_MULTIPLE_TOP </th> <td class="description">Pucnh multiple holes top edge</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_QUAD_BOTTOM </th> <td class="description">Punch 4 holes bottom edge</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_QUAD_LEFT </th> <td class="description">Punch 4 holes left side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_QUAD_RIGHT </th> <td class="description">Punch 4 holes right side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_QUAD_TOP </th> <td class="description">Punch 4 holes top edge</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_TOP_LEFT </th> <td class="description">Punch 1 hole top left</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_TOP_RIGHT </th> <td class="description">Punch 1 hole top right</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_TRIPLE_BOTTOM </th> <td class="description">Punch 3 holes bottom edge</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_TRIPLE_LEFT </th> <td class="description">Punch 3 holes left side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_TRIPLE_RIGHT </th> <td class="description">Punch 3 holes right side</td></tr>
+ <tr><th>IPP_FINISHINGS_PUNCH_TRIPLE_TOP </th> <td class="description">Punch 3 holes top edge</td></tr>
+ <tr><th>IPP_FINISHINGS_SADDLE_STITCH </th> <td class="description">Staple interior</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE </th> <td class="description">Staple (any location/method)</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_BOTTOM_LEFT </th> <td class="description">Staple bottom left corner</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_BOTTOM_RIGHT </th> <td class="description">Staple bottom right corner</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_DUAL_BOTTOM </th> <td class="description">Two staples on bottom</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_DUAL_LEFT </th> <td class="description">Two staples on left</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_DUAL_RIGHT </th> <td class="description">Two staples on right</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_DUAL_TOP </th> <td class="description">Two staples on top</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_TOP_LEFT </th> <td class="description">Staple top left corner</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_TOP_RIGHT </th> <td class="description">Staple top right corner</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_TRIPLE_BOTTOM </th> <td class="description">Three staples on bottom</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_TRIPLE_LEFT </th> <td class="description">Three staples on left</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_TRIPLE_RIGHT </th> <td class="description">Three staples on right</td></tr>
+ <tr><th>IPP_FINISHINGS_STAPLE_TRIPLE_TOP </th> <td class="description">Three staples on top</td></tr>
+ <tr><th>IPP_FINISHINGS_TRIM </th> <td class="description">Trim (any type)</td></tr>
+ <tr><th>IPP_FINISHINGS_TRIM_AFTER_COPIES </th> <td class="description">Trim output after each copy</td></tr>
+ <tr><th>IPP_FINISHINGS_TRIM_AFTER_DOCUMENTS </th> <td class="description">Trim output after each document</td></tr>
+ <tr><th>IPP_FINISHINGS_TRIM_AFTER_JOB </th> <td class="description">Trim output after job</td></tr>
+ <tr><th>IPP_FINISHINGS_TRIM_AFTER_PAGES </th> <td class="description">Trim output after each page</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_jstate_e">ipp_jstate_e</a></h3>
<p class="description">Job states</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_JSTATE_ABORTED </dt>
- <dd class="description">Job has aborted due to error</dd>
- <dt>IPP_JSTATE_CANCELED </dt>
- <dd class="description">Job has been canceled</dd>
- <dt>IPP_JSTATE_COMPLETED </dt>
- <dd class="description">Job has completed successfully</dd>
- <dt>IPP_JSTATE_HELD </dt>
- <dd class="description">Job is held for printing</dd>
- <dt>IPP_JSTATE_PENDING </dt>
- <dd class="description">Job is waiting to be printed</dd>
- <dt>IPP_JSTATE_PROCESSING </dt>
- <dd class="description">Job is currently printing</dd>
- <dt>IPP_JSTATE_STOPPED </dt>
- <dd class="description">Job has been stopped</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_JSTATE_ABORTED </th> <td class="description">Job has aborted due to error</td></tr>
+ <tr><th>IPP_JSTATE_CANCELED </th> <td class="description">Job has been canceled</td></tr>
+ <tr><th>IPP_JSTATE_COMPLETED </th> <td class="description">Job has completed successfully</td></tr>
+ <tr><th>IPP_JSTATE_HELD </th> <td class="description">Job is held for printing</td></tr>
+ <tr><th>IPP_JSTATE_PENDING </th> <td class="description">Job is waiting to be printed</td></tr>
+ <tr><th>IPP_JSTATE_PROCESSING </th> <td class="description">Job is currently printing</td></tr>
+ <tr><th>IPP_JSTATE_STOPPED </th> <td class="description">Job has been stopped</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_op_e">ipp_op_e</a></h3>
<p class="description">IPP operations</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_OP_CANCEL_CURRENT_JOB </dt>
- <dd class="description">Cancel-Current-Job: Cancel the current job</dd>
- <dt>IPP_OP_CANCEL_JOB </dt>
- <dd class="description">Cancel-Job: Cancel a job</dd>
- <dt>IPP_OP_CANCEL_JOBS </dt>
- <dd class="description">Cancel-Jobs: Cancel all jobs (administrative)</dd>
- <dt>IPP_OP_CANCEL_MY_JOBS </dt>
- <dd class="description">Cancel-My-Jobs: Cancel a user's jobs</dd>
- <dt>IPP_OP_CANCEL_SUBSCRIPTION <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Cancel-Subscription: Cancel a subscription </dd>
- <dt>IPP_OP_CLOSE_JOB </dt>
- <dd class="description">Close-Job: Close a job and start printing</dd>
- <dt>IPP_OP_CREATE_JOB </dt>
- <dd class="description">Create-Job: Create an empty print job</dd>
- <dt>IPP_OP_CREATE_JOB_SUBSCRIPTIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Create-Job-Subscriptions: Create one of more job subscriptions </dd>
- <dt>IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Create-Printer-Subscriptions: Create one or more printer subscriptions </dd>
- <dt>IPP_OP_CUPS_ADD_MODIFY_CLASS </dt>
- <dd class="description">CUPS-Add-Modify-Class: Add or modify a class</dd>
- <dt>IPP_OP_CUPS_ADD_MODIFY_PRINTER </dt>
- <dd class="description">CUPS-Add-Modify-Printer: Add or modify a printer</dd>
- <dt>IPP_OP_CUPS_AUTHENTICATE_JOB <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">CUPS-Authenticate-Job: Authenticate a job </dd>
- <dt>IPP_OP_CUPS_CREATE_LOCAL_PRINTER <span class="info"> CUPS 2.2 </span></dt>
- <dd class="description">CUPS-Create-Local-Printer: Create a local (temporary) printer </dd>
- <dt>IPP_OP_CUPS_DELETE_CLASS </dt>
- <dd class="description">CUPS-Delete-Class: Delete a class</dd>
- <dt>IPP_OP_CUPS_DELETE_PRINTER </dt>
- <dd class="description">CUPS-Delete-Printer: Delete a printer</dd>
- <dt>IPP_OP_CUPS_GET_DEFAULT </dt>
- <dd class="description">CUPS-Get-Default: Get the default printer</dd>
- <dt>IPP_OP_CUPS_GET_DEVICES <span class="info"> DEPRECATED </span></dt>
- <dd class="description">CUPS-Get-Devices: Get a list of supported devices </dd>
- <dt>IPP_OP_CUPS_GET_DOCUMENT <span class="info"> CUPS 1.4/macOS 10.6 </span></dt>
- <dd class="description">CUPS-Get-Document: Get a document file </dd>
- <dt>IPP_OP_CUPS_GET_PPD <span class="info"> DEPRECATED </span></dt>
- <dd class="description">CUPS-Get-PPD: Get a PPD file </dd>
- <dt>IPP_OP_CUPS_GET_PPDS <span class="info"> DEPRECATED </span></dt>
- <dd class="description">CUPS-Get-PPDs: Get a list of supported drivers </dd>
- <dt>IPP_OP_CUPS_GET_PRINTERS </dt>
- <dd class="description">CUPS-Get-Printers: Get a list of printers and/or classes</dd>
- <dt>IPP_OP_CUPS_INVALID </dt>
- <dd class="description">Invalid operation name for <a href="#ippOpValue"><code>ippOpValue</code></a></dd>
- <dt>IPP_OP_CUPS_MOVE_JOB </dt>
- <dd class="description">CUPS-Move-Job: Move a job to a different printer</dd>
- <dt>IPP_OP_CUPS_SET_DEFAULT </dt>
- <dd class="description">CUPS-Set-Default: Set the default printer</dd>
- <dt>IPP_OP_DISABLE_PRINTER </dt>
- <dd class="description">Disable-Printer: Reject new jobs for a printer</dd>
- <dt>IPP_OP_ENABLE_PRINTER </dt>
- <dd class="description">Enable-Printer: Accept new jobs for a printer</dd>
- <dt>IPP_OP_GET_JOBS </dt>
- <dd class="description">Get-Jobs: Get a list of jobs</dd>
- <dt>IPP_OP_GET_JOB_ATTRIBUTES </dt>
- <dd class="description">Get-Job-Attribute: Get information about a job</dd>
- <dt>IPP_OP_GET_NOTIFICATIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Get-Notifications: Get notification events </dd>
- <dt>IPP_OP_GET_PRINTER_ATTRIBUTES </dt>
- <dd class="description">Get-Printer-Attributes: Get information about a printer</dd>
- <dt>IPP_OP_GET_PRINTER_SUPPORTED_VALUES </dt>
- <dd class="description">Get-Printer-Supported-Values: Get supported values</dd>
- <dt>IPP_OP_GET_SUBSCRIPTIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Get-Subscriptions: Get list of subscriptions </dd>
- <dt>IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Get-Subscription-Attributes: Get subscription information </dd>
- <dt>IPP_OP_HOLD_JOB </dt>
- <dd class="description">Hold-Job: Hold a job for printing</dd>
- <dt>IPP_OP_HOLD_NEW_JOBS </dt>
- <dd class="description">Hold-New-Jobs: Hold new jobs</dd>
- <dt>IPP_OP_IDENTIFY_PRINTER </dt>
- <dd class="description">Identify-Printer: Make the printer beep, flash, or display a message for identification</dd>
- <dt>IPP_OP_PAUSE_PRINTER </dt>
- <dd class="description">Pause-Printer: Stop a printer</dd>
- <dt>IPP_OP_PAUSE_PRINTER_AFTER_CURRENT_JOB </dt>
- <dd class="description">Pause-Printer-After-Current-Job: Stop printer after the current job</dd>
- <dt>IPP_OP_PRINT_JOB </dt>
- <dd class="description">Print-Job: Print a single file</dd>
- <dt>IPP_OP_PROMOTE_JOB </dt>
- <dd class="description">Promote-Job: Promote a job to print sooner</dd>
- <dt>IPP_OP_RELEASE_HELD_NEW_JOBS </dt>
- <dd class="description">Release-Held-New-Jobs: Release new jobs that were previously held</dd>
- <dt>IPP_OP_RELEASE_JOB </dt>
- <dd class="description">Release-Job: Release a job for printing</dd>
- <dt>IPP_OP_RENEW_SUBSCRIPTION <span class="info"> CUPS 1.2/macOS 10.5 </span></dt>
- <dd class="description">Renew-Subscription: Renew a printer subscription </dd>
- <dt>IPP_OP_RESTART_JOB <span class="info"> DEPRECATED </span></dt>
- <dd class="description">Restart-Job: Reprint a job </dd>
- <dt>IPP_OP_RESUME_JOB </dt>
- <dd class="description">Resume-Job: Resume the current job</dd>
- <dt>IPP_OP_RESUME_PRINTER </dt>
- <dd class="description">Resume-Printer: Start a printer</dd>
- <dt>IPP_OP_SCHEDULE_JOB_AFTER </dt>
- <dd class="description">Schedule-Job-After: Schedule a job to print after another</dd>
- <dt>IPP_OP_SEND_DOCUMENT </dt>
- <dd class="description">Send-Document: Add a file to a job</dd>
- <dt>IPP_OP_SET_JOB_ATTRIBUTES </dt>
- <dd class="description">Set-Job-Attributes: Set job values</dd>
- <dt>IPP_OP_SET_PRINTER_ATTRIBUTES </dt>
- <dd class="description">Set-Printer-Attributes: Set printer values</dd>
- <dt>IPP_OP_SUSPEND_CURRENT_JOB </dt>
- <dd class="description">Suspend-Current-Job: Suspend the current job</dd>
- <dt>IPP_OP_VALIDATE_JOB </dt>
- <dd class="description">Validate-Job: Validate job values prior to submission</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_OP_CANCEL_CURRENT_JOB </th> <td class="description">Cancel-Current-Job: Cancel the current job</td></tr>
+ <tr><th>IPP_OP_CANCEL_JOB </th> <td class="description">Cancel-Job: Cancel a job</td></tr>
+ <tr><th>IPP_OP_CANCEL_JOBS </th> <td class="description">Cancel-Jobs: Cancel all jobs (administrative)</td></tr>
+ <tr><th>IPP_OP_CANCEL_MY_JOBS </th> <td class="description">Cancel-My-Jobs: Cancel a user's jobs</td></tr>
+ <tr><th>IPP_OP_CANCEL_SUBSCRIPTION <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Cancel-Subscription: Cancel a subscription </td></tr>
+ <tr><th>IPP_OP_CLOSE_JOB </th> <td class="description">Close-Job: Close a job and start printing</td></tr>
+ <tr><th>IPP_OP_CREATE_JOB </th> <td class="description">Create-Job: Create an empty print job</td></tr>
+ <tr><th>IPP_OP_CREATE_JOB_SUBSCRIPTIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Create-Job-Subscriptions: Create one of more job subscriptions </td></tr>
+ <tr><th>IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Create-Printer-Subscriptions: Create one or more printer subscriptions </td></tr>
+ <tr><th>IPP_OP_CUPS_ADD_MODIFY_CLASS </th> <td class="description">CUPS-Add-Modify-Class: Add or modify a class</td></tr>
+ <tr><th>IPP_OP_CUPS_ADD_MODIFY_PRINTER </th> <td class="description">CUPS-Add-Modify-Printer: Add or modify a printer</td></tr>
+ <tr><th>IPP_OP_CUPS_AUTHENTICATE_JOB <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">CUPS-Authenticate-Job: Authenticate a job </td></tr>
+ <tr><th>IPP_OP_CUPS_CREATE_LOCAL_PRINTER <span class="info"> CUPS 2.2 </span></th> <td class="description">CUPS-Create-Local-Printer: Create a local (temporary) printer </td></tr>
+ <tr><th>IPP_OP_CUPS_DELETE_CLASS </th> <td class="description">CUPS-Delete-Class: Delete a class</td></tr>
+ <tr><th>IPP_OP_CUPS_DELETE_PRINTER </th> <td class="description">CUPS-Delete-Printer: Delete a printer</td></tr>
+ <tr><th>IPP_OP_CUPS_GET_DEFAULT </th> <td class="description">CUPS-Get-Default: Get the default printer</td></tr>
+ <tr><th>IPP_OP_CUPS_GET_DEVICES <span class="info"> DEPRECATED </span></th> <td class="description">CUPS-Get-Devices: Get a list of supported devices </td></tr>
+ <tr><th>IPP_OP_CUPS_GET_DOCUMENT <span class="info"> CUPS 1.4/macOS 10.6 </span></th> <td class="description">CUPS-Get-Document: Get a document file </td></tr>
+ <tr><th>IPP_OP_CUPS_GET_PPD <span class="info"> DEPRECATED </span></th> <td class="description">CUPS-Get-PPD: Get a PPD file </td></tr>
+ <tr><th>IPP_OP_CUPS_GET_PPDS <span class="info"> DEPRECATED </span></th> <td class="description">CUPS-Get-PPDs: Get a list of supported drivers </td></tr>
+ <tr><th>IPP_OP_CUPS_GET_PRINTERS </th> <td class="description">CUPS-Get-Printers: Get a list of printers and/or classes</td></tr>
+ <tr><th>IPP_OP_CUPS_INVALID </th> <td class="description">Invalid operation name for <a href="#ippOpValue"><code>ippOpValue</code></a></td></tr>
+ <tr><th>IPP_OP_CUPS_MOVE_JOB </th> <td class="description">CUPS-Move-Job: Move a job to a different printer</td></tr>
+ <tr><th>IPP_OP_CUPS_SET_DEFAULT </th> <td class="description">CUPS-Set-Default: Set the default printer</td></tr>
+ <tr><th>IPP_OP_DISABLE_PRINTER </th> <td class="description">Disable-Printer: Reject new jobs for a printer</td></tr>
+ <tr><th>IPP_OP_ENABLE_PRINTER </th> <td class="description">Enable-Printer: Accept new jobs for a printer</td></tr>
+ <tr><th>IPP_OP_GET_JOBS </th> <td class="description">Get-Jobs: Get a list of jobs</td></tr>
+ <tr><th>IPP_OP_GET_JOB_ATTRIBUTES </th> <td class="description">Get-Job-Attribute: Get information about a job</td></tr>
+ <tr><th>IPP_OP_GET_NOTIFICATIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Get-Notifications: Get notification events </td></tr>
+ <tr><th>IPP_OP_GET_PRINTER_ATTRIBUTES </th> <td class="description">Get-Printer-Attributes: Get information about a printer</td></tr>
+ <tr><th>IPP_OP_GET_PRINTER_SUPPORTED_VALUES </th> <td class="description">Get-Printer-Supported-Values: Get supported values</td></tr>
+ <tr><th>IPP_OP_GET_SUBSCRIPTIONS <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Get-Subscriptions: Get list of subscriptions </td></tr>
+ <tr><th>IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Get-Subscription-Attributes: Get subscription information </td></tr>
+ <tr><th>IPP_OP_HOLD_JOB </th> <td class="description">Hold-Job: Hold a job for printing</td></tr>
+ <tr><th>IPP_OP_HOLD_NEW_JOBS </th> <td class="description">Hold-New-Jobs: Hold new jobs</td></tr>
+ <tr><th>IPP_OP_IDENTIFY_PRINTER </th> <td class="description">Identify-Printer: Make the printer beep, flash, or display a message for identification</td></tr>
+ <tr><th>IPP_OP_PAUSE_PRINTER </th> <td class="description">Pause-Printer: Stop a printer</td></tr>
+ <tr><th>IPP_OP_PAUSE_PRINTER_AFTER_CURRENT_JOB </th> <td class="description">Pause-Printer-After-Current-Job: Stop printer after the current job</td></tr>
+ <tr><th>IPP_OP_PRINT_JOB </th> <td class="description">Print-Job: Print a single file</td></tr>
+ <tr><th>IPP_OP_PROMOTE_JOB </th> <td class="description">Promote-Job: Promote a job to print sooner</td></tr>
+ <tr><th>IPP_OP_RELEASE_HELD_NEW_JOBS </th> <td class="description">Release-Held-New-Jobs: Release new jobs that were previously held</td></tr>
+ <tr><th>IPP_OP_RELEASE_JOB </th> <td class="description">Release-Job: Release a job for printing</td></tr>
+ <tr><th>IPP_OP_RENEW_SUBSCRIPTION <span class="info"> CUPS 1.2/macOS 10.5 </span></th> <td class="description">Renew-Subscription: Renew a printer subscription </td></tr>
+ <tr><th>IPP_OP_RESTART_JOB <span class="info"> DEPRECATED </span></th> <td class="description">Restart-Job: Reprint a job </td></tr>
+ <tr><th>IPP_OP_RESUME_JOB </th> <td class="description">Resume-Job: Resume the current job</td></tr>
+ <tr><th>IPP_OP_RESUME_PRINTER </th> <td class="description">Resume-Printer: Start a printer</td></tr>
+ <tr><th>IPP_OP_SCHEDULE_JOB_AFTER </th> <td class="description">Schedule-Job-After: Schedule a job to print after another</td></tr>
+ <tr><th>IPP_OP_SEND_DOCUMENT </th> <td class="description">Send-Document: Add a file to a job</td></tr>
+ <tr><th>IPP_OP_SET_JOB_ATTRIBUTES </th> <td class="description">Set-Job-Attributes: Set job values</td></tr>
+ <tr><th>IPP_OP_SET_PRINTER_ATTRIBUTES </th> <td class="description">Set-Printer-Attributes: Set printer values</td></tr>
+ <tr><th>IPP_OP_SUSPEND_CURRENT_JOB </th> <td class="description">Suspend-Current-Job: Suspend the current job</td></tr>
+ <tr><th>IPP_OP_VALIDATE_JOB </th> <td class="description">Validate-Job: Validate job values prior to submission</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_orient_e">ipp_orient_e</a></h3>
<p class="description">Orientation values</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_ORIENT_LANDSCAPE </dt>
- <dd class="description">90 degrees counter-clockwise</dd>
- <dt>IPP_ORIENT_NONE </dt>
- <dd class="description">No rotation</dd>
- <dt>IPP_ORIENT_PORTRAIT </dt>
- <dd class="description">No rotation</dd>
- <dt>IPP_ORIENT_REVERSE_LANDSCAPE </dt>
- <dd class="description">90 degrees clockwise</dd>
- <dt>IPP_ORIENT_REVERSE_PORTRAIT </dt>
- <dd class="description">180 degrees</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_ORIENT_LANDSCAPE </th> <td class="description">90 degrees counter-clockwise</td></tr>
+ <tr><th>IPP_ORIENT_NONE </th> <td class="description">No rotation</td></tr>
+ <tr><th>IPP_ORIENT_PORTRAIT </th> <td class="description">No rotation</td></tr>
+ <tr><th>IPP_ORIENT_REVERSE_LANDSCAPE </th> <td class="description">90 degrees clockwise</td></tr>
+ <tr><th>IPP_ORIENT_REVERSE_PORTRAIT </th> <td class="description">180 degrees</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_pstate_e">ipp_pstate_e</a></h3>
<p class="description">Printer states</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_PSTATE_IDLE </dt>
- <dd class="description">Printer is idle</dd>
- <dt>IPP_PSTATE_PROCESSING </dt>
- <dd class="description">Printer is working</dd>
- <dt>IPP_PSTATE_STOPPED </dt>
- <dd class="description">Printer is stopped</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_PSTATE_IDLE </th> <td class="description">Printer is idle</td></tr>
+ <tr><th>IPP_PSTATE_PROCESSING </th> <td class="description">Printer is working</td></tr>
+ <tr><th>IPP_PSTATE_STOPPED </th> <td class="description">Printer is stopped</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_quality_e">ipp_quality_e</a></h3>
<p class="description">Qualities</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_QUALITY_DRAFT </dt>
- <dd class="description">Draft quality</dd>
- <dt>IPP_QUALITY_HIGH </dt>
- <dd class="description">High quality</dd>
- <dt>IPP_QUALITY_NORMAL </dt>
- <dd class="description">Normal quality</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_QUALITY_DRAFT </th> <td class="description">Draft quality</td></tr>
+ <tr><th>IPP_QUALITY_HIGH </th> <td class="description">High quality</td></tr>
+ <tr><th>IPP_QUALITY_NORMAL </th> <td class="description">Normal quality</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_res_e">ipp_res_e</a></h3>
<p class="description">Resolution units</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_RES_PER_CM </dt>
- <dd class="description">Pixels per centimeter</dd>
- <dt>IPP_RES_PER_INCH </dt>
- <dd class="description">Pixels per inch</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_RES_PER_CM </th> <td class="description">Pixels per centimeter</td></tr>
+ <tr><th>IPP_RES_PER_INCH </th> <td class="description">Pixels per inch</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_state_e">ipp_state_e</a></h3>
<p class="description">IPP states</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_STATE_ATTRIBUTE </dt>
- <dd class="description">One or more attributes need to be sent/received</dd>
- <dt>IPP_STATE_DATA </dt>
- <dd class="description">IPP request data needs to be sent/received</dd>
- <dt>IPP_STATE_ERROR </dt>
- <dd class="description">An error occurred</dd>
- <dt>IPP_STATE_HEADER </dt>
- <dd class="description">The request header needs to be sent/received</dd>
- <dt>IPP_STATE_IDLE </dt>
- <dd class="description">Nothing is happening/request completed</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_STATE_ATTRIBUTE </th> <td class="description">One or more attributes need to be sent/received</td></tr>
+ <tr><th>IPP_STATE_DATA </th> <td class="description">IPP request data needs to be sent/received</td></tr>
+ <tr><th>IPP_STATE_ERROR </th> <td class="description">An error occurred</td></tr>
+ <tr><th>IPP_STATE_HEADER </th> <td class="description">The request header needs to be sent/received</td></tr>
+ <tr><th>IPP_STATE_IDLE </th> <td class="description">Nothing is happening/request completed</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_status_e">ipp_status_e</a></h3>
<p class="description">IPP status codes</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_STATUS_CUPS_INVALID </dt>
- <dd class="description">Invalid status name for <a href="#ippErrorValue"><code>ippErrorValue</code></a></dd>
- <dt>IPP_STATUS_ERROR_ACCOUNT_AUTHORIZATION_FAILED </dt>
- <dd class="description">client-error-account-authorization-failed</dd>
- <dt>IPP_STATUS_ERROR_ACCOUNT_CLOSED </dt>
- <dd class="description">client-error-account-closed</dd>
- <dt>IPP_STATUS_ERROR_ACCOUNT_INFO_NEEDED </dt>
- <dd class="description">client-error-account-info-needed</dd>
- <dt>IPP_STATUS_ERROR_ACCOUNT_LIMIT_REACHED </dt>
- <dd class="description">client-error-account-limit-reached</dd>
- <dt>IPP_STATUS_ERROR_ATTRIBUTES_NOT_SETTABLE </dt>
- <dd class="description">client-error-attributes-not-settable</dd>
- <dt>IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES </dt>
- <dd class="description">client-error-attributes-or-values-not-supported</dd>
- <dt>IPP_STATUS_ERROR_BAD_REQUEST </dt>
- <dd class="description">client-error-bad-request</dd>
- <dt>IPP_STATUS_ERROR_BUSY </dt>
- <dd class="description">server-error-busy</dd>
- <dt>IPP_STATUS_ERROR_CHARSET </dt>
- <dd class="description">client-error-charset-not-supported</dd>
- <dt>IPP_STATUS_ERROR_COMPRESSION_ERROR </dt>
- <dd class="description">client-error-compression-error</dd>
- <dt>IPP_STATUS_ERROR_COMPRESSION_NOT_SUPPORTED </dt>
- <dd class="description">client-error-compression-not-supported</dd>
- <dt>IPP_STATUS_ERROR_CONFLICTING </dt>
- <dd class="description">client-error-conflicting-attributes</dd>
- <dt>IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED <span class="info"> DEPRECATED </span></dt>
- <dd class="description">cups-error-account-authorization-failed </dd>
- <dt>IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED </dt>
- <dd class="description">cups-error-account-closed @deprecate@</dd>
- <dt>IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED <span class="info"> DEPRECATED </span></dt>
- <dd class="description">cups-error-account-info-needed </dd>
- <dt>IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED <span class="info"> DEPRECATED </span></dt>
- <dd class="description">cups-error-account-limit-reached </dd>
- <dt>IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED <span class="info"> CUPS 1.5/macOS 10.7 </span></dt>
- <dd class="description">cups-authentication-canceled - Authentication canceled by user </dd>
- <dt>IPP_STATUS_ERROR_CUPS_PKI <span class="info"> CUPS 1.5/macOS 10.7 </span></dt>
- <dd class="description">cups-pki-error - Error negotiating a secure connection </dd>
- <dt>IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED <span class="info"> CUPS 1.5/macOS 10.7 </span></dt>
- <dd class="description">cups-upgrade-required - TLS upgrade required </dd>
- <dt>IPP_STATUS_ERROR_DEVICE </dt>
- <dd class="description">server-error-device-error</dd>
- <dt>IPP_STATUS_ERROR_DOCUMENT_ACCESS </dt>
- <dd class="description">client-error-document-access-error</dd>
- <dt>IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR </dt>
- <dd class="description">client-error-document-format-error</dd>
- <dt>IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED </dt>
- <dd class="description">client-error-document-format-not-supported</dd>
- <dt>IPP_STATUS_ERROR_DOCUMENT_PASSWORD </dt>
- <dd class="description">client-error-document-password-error</dd>
- <dt>IPP_STATUS_ERROR_DOCUMENT_PERMISSION </dt>
- <dd class="description">client-error-document-permission-error</dd>
- <dt>IPP_STATUS_ERROR_DOCUMENT_SECURITY </dt>
- <dd class="description">client-error-document-security-error</dd>
- <dt>IPP_STATUS_ERROR_DOCUMENT_UNPRINTABLE </dt>
- <dd class="description">client-error-document-unprintable-error</dd>
- <dt>IPP_STATUS_ERROR_FORBIDDEN </dt>
- <dd class="description">client-error-forbidden</dd>
- <dt>IPP_STATUS_ERROR_GONE </dt>
- <dd class="description">client-error-gone</dd>
- <dt>IPP_STATUS_ERROR_IGNORED_ALL_SUBSCRIPTIONS </dt>
- <dd class="description">client-error-ignored-all-subscriptions</dd>
- <dt>IPP_STATUS_ERROR_INTERNAL </dt>
- <dd class="description">server-error-internal-error</dd>
- <dt>IPP_STATUS_ERROR_JOB_CANCELED </dt>
- <dd class="description">server-error-job-canceled</dd>
- <dt>IPP_STATUS_ERROR_MULTIPLE_JOBS_NOT_SUPPORTED </dt>
- <dd class="description">server-error-multiple-document-jobs-not-supported</dd>
- <dt>IPP_STATUS_ERROR_NOT_ACCEPTING_JOBS </dt>
- <dd class="description">server-error-not-accepting-jobs</dd>
- <dt>IPP_STATUS_ERROR_NOT_AUTHENTICATED </dt>
- <dd class="description">client-error-not-authenticated</dd>
- <dt>IPP_STATUS_ERROR_NOT_AUTHORIZED </dt>
- <dd class="description">client-error-not-authorized</dd>
- <dt>IPP_STATUS_ERROR_NOT_FETCHABLE </dt>
- <dd class="description">client-error-not-fetchable</dd>
- <dt>IPP_STATUS_ERROR_NOT_FOUND </dt>
- <dd class="description">client-error-not-found</dd>
- <dt>IPP_STATUS_ERROR_NOT_POSSIBLE </dt>
- <dd class="description">client-error-not-possible</dd>
- <dt>IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED </dt>
- <dd class="description">server-error-operation-not-supported</dd>
- <dt>IPP_STATUS_ERROR_PRINTER_IS_DEACTIVATED </dt>
- <dd class="description">server-error-printer-is-deactivated</dd>
- <dt>IPP_STATUS_ERROR_REQUEST_ENTITY </dt>
- <dd class="description">client-error-request-entity-too-large</dd>
- <dt>IPP_STATUS_ERROR_REQUEST_VALUE </dt>
- <dd class="description">client-error-request-value-too-long</dd>
- <dt>IPP_STATUS_ERROR_SERVICE_UNAVAILABLE </dt>
- <dd class="description">server-error-service-unavailable</dd>
- <dt>IPP_STATUS_ERROR_TEMPORARY </dt>
- <dd class="description">server-error-temporary-error</dd>
- <dt>IPP_STATUS_ERROR_TIMEOUT </dt>
- <dd class="description">client-error-timeout</dd>
- <dt>IPP_STATUS_ERROR_TOO_MANY_DOCUMENTS </dt>
- <dd class="description">server-error-too-many-documents</dd>
- <dt>IPP_STATUS_ERROR_TOO_MANY_JOBS </dt>
- <dd class="description">server-error-too-many-jobs</dd>
- <dt>IPP_STATUS_ERROR_TOO_MANY_SUBSCRIPTIONS </dt>
- <dd class="description">client-error-too-many-subscriptions</dd>
- <dt>IPP_STATUS_ERROR_URI_SCHEME </dt>
- <dd class="description">client-error-uri-scheme-not-supported</dd>
- <dt>IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED </dt>
- <dd class="description">server-error-version-not-supported</dd>
- <dt>IPP_STATUS_OK </dt>
- <dd class="description">successful-ok</dd>
- <dt>IPP_STATUS_OK_CONFLICTING </dt>
- <dd class="description">successful-ok-conflicting-attributes</dd>
- <dt>IPP_STATUS_OK_EVENTS_COMPLETE </dt>
- <dd class="description">successful-ok-events-complete</dd>
- <dt>IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED </dt>
- <dd class="description">successful-ok-ignored-or-substituted-attributes</dd>
- <dt>IPP_STATUS_OK_IGNORED_SUBSCRIPTIONS </dt>
- <dd class="description">successful-ok-ignored-subscriptions</dd>
- <dt>IPP_STATUS_OK_TOO_MANY_EVENTS </dt>
- <dd class="description">successful-ok-too-many-events</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_STATUS_CUPS_INVALID </th> <td class="description">Invalid status name for <a href="#ippErrorValue"><code>ippErrorValue</code></a></td></tr>
+ <tr><th>IPP_STATUS_ERROR_ACCOUNT_AUTHORIZATION_FAILED </th> <td class="description">client-error-account-authorization-failed</td></tr>
+ <tr><th>IPP_STATUS_ERROR_ACCOUNT_CLOSED </th> <td class="description">client-error-account-closed</td></tr>
+ <tr><th>IPP_STATUS_ERROR_ACCOUNT_INFO_NEEDED </th> <td class="description">client-error-account-info-needed</td></tr>
+ <tr><th>IPP_STATUS_ERROR_ACCOUNT_LIMIT_REACHED </th> <td class="description">client-error-account-limit-reached</td></tr>
+ <tr><th>IPP_STATUS_ERROR_ATTRIBUTES_NOT_SETTABLE </th> <td class="description">client-error-attributes-not-settable</td></tr>
+ <tr><th>IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES </th> <td class="description">client-error-attributes-or-values-not-supported</td></tr>
+ <tr><th>IPP_STATUS_ERROR_BAD_REQUEST </th> <td class="description">client-error-bad-request</td></tr>
+ <tr><th>IPP_STATUS_ERROR_BUSY </th> <td class="description">server-error-busy</td></tr>
+ <tr><th>IPP_STATUS_ERROR_CHARSET </th> <td class="description">client-error-charset-not-supported</td></tr>
+ <tr><th>IPP_STATUS_ERROR_COMPRESSION_ERROR </th> <td class="description">client-error-compression-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_COMPRESSION_NOT_SUPPORTED </th> <td class="description">client-error-compression-not-supported</td></tr>
+ <tr><th>IPP_STATUS_ERROR_CONFLICTING </th> <td class="description">client-error-conflicting-attributes</td></tr>
+ <tr><th>IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED <span class="info"> DEPRECATED </span></th> <td class="description">cups-error-account-authorization-failed </td></tr>
+ <tr><th>IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED </th> <td class="description">cups-error-account-closed @deprecate@</td></tr>
+ <tr><th>IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED <span class="info"> DEPRECATED </span></th> <td class="description">cups-error-account-info-needed </td></tr>
+ <tr><th>IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED <span class="info"> DEPRECATED </span></th> <td class="description">cups-error-account-limit-reached </td></tr>
+ <tr><th>IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED <span class="info"> CUPS 1.5/macOS 10.7 </span></th> <td class="description">cups-authentication-canceled - Authentication canceled by user </td></tr>
+ <tr><th>IPP_STATUS_ERROR_CUPS_PKI <span class="info"> CUPS 1.5/macOS 10.7 </span></th> <td class="description">cups-pki-error - Error negotiating a secure connection </td></tr>
+ <tr><th>IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED <span class="info"> CUPS 1.5/macOS 10.7 </span></th> <td class="description">cups-upgrade-required - TLS upgrade required </td></tr>
+ <tr><th>IPP_STATUS_ERROR_DEVICE </th> <td class="description">server-error-device-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_DOCUMENT_ACCESS </th> <td class="description">client-error-document-access-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR </th> <td class="description">client-error-document-format-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED </th> <td class="description">client-error-document-format-not-supported</td></tr>
+ <tr><th>IPP_STATUS_ERROR_DOCUMENT_PASSWORD </th> <td class="description">client-error-document-password-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_DOCUMENT_PERMISSION </th> <td class="description">client-error-document-permission-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_DOCUMENT_SECURITY </th> <td class="description">client-error-document-security-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_DOCUMENT_UNPRINTABLE </th> <td class="description">client-error-document-unprintable-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_FORBIDDEN </th> <td class="description">client-error-forbidden</td></tr>
+ <tr><th>IPP_STATUS_ERROR_GONE </th> <td class="description">client-error-gone</td></tr>
+ <tr><th>IPP_STATUS_ERROR_IGNORED_ALL_SUBSCRIPTIONS </th> <td class="description">client-error-ignored-all-subscriptions</td></tr>
+ <tr><th>IPP_STATUS_ERROR_INTERNAL </th> <td class="description">server-error-internal-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_JOB_CANCELED </th> <td class="description">server-error-job-canceled</td></tr>
+ <tr><th>IPP_STATUS_ERROR_MULTIPLE_JOBS_NOT_SUPPORTED </th> <td class="description">server-error-multiple-document-jobs-not-supported</td></tr>
+ <tr><th>IPP_STATUS_ERROR_NOT_ACCEPTING_JOBS </th> <td class="description">server-error-not-accepting-jobs</td></tr>
+ <tr><th>IPP_STATUS_ERROR_NOT_AUTHENTICATED </th> <td class="description">client-error-not-authenticated</td></tr>
+ <tr><th>IPP_STATUS_ERROR_NOT_AUTHORIZED </th> <td class="description">client-error-not-authorized</td></tr>
+ <tr><th>IPP_STATUS_ERROR_NOT_FETCHABLE </th> <td class="description">client-error-not-fetchable</td></tr>
+ <tr><th>IPP_STATUS_ERROR_NOT_FOUND </th> <td class="description">client-error-not-found</td></tr>
+ <tr><th>IPP_STATUS_ERROR_NOT_POSSIBLE </th> <td class="description">client-error-not-possible</td></tr>
+ <tr><th>IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED </th> <td class="description">server-error-operation-not-supported</td></tr>
+ <tr><th>IPP_STATUS_ERROR_PRINTER_IS_DEACTIVATED </th> <td class="description">server-error-printer-is-deactivated</td></tr>
+ <tr><th>IPP_STATUS_ERROR_REQUEST_ENTITY </th> <td class="description">client-error-request-entity-too-large</td></tr>
+ <tr><th>IPP_STATUS_ERROR_REQUEST_VALUE </th> <td class="description">client-error-request-value-too-long</td></tr>
+ <tr><th>IPP_STATUS_ERROR_SERVICE_UNAVAILABLE </th> <td class="description">server-error-service-unavailable</td></tr>
+ <tr><th>IPP_STATUS_ERROR_TEMPORARY </th> <td class="description">server-error-temporary-error</td></tr>
+ <tr><th>IPP_STATUS_ERROR_TIMEOUT </th> <td class="description">client-error-timeout</td></tr>
+ <tr><th>IPP_STATUS_ERROR_TOO_MANY_DOCUMENTS </th> <td class="description">server-error-too-many-documents</td></tr>
+ <tr><th>IPP_STATUS_ERROR_TOO_MANY_JOBS </th> <td class="description">server-error-too-many-jobs</td></tr>
+ <tr><th>IPP_STATUS_ERROR_TOO_MANY_SUBSCRIPTIONS </th> <td class="description">client-error-too-many-subscriptions</td></tr>
+ <tr><th>IPP_STATUS_ERROR_URI_SCHEME </th> <td class="description">client-error-uri-scheme-not-supported</td></tr>
+ <tr><th>IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED </th> <td class="description">server-error-version-not-supported</td></tr>
+ <tr><th>IPP_STATUS_OK </th> <td class="description">successful-ok</td></tr>
+ <tr><th>IPP_STATUS_OK_CONFLICTING </th> <td class="description">successful-ok-conflicting-attributes</td></tr>
+ <tr><th>IPP_STATUS_OK_EVENTS_COMPLETE </th> <td class="description">successful-ok-events-complete</td></tr>
+ <tr><th>IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED </th> <td class="description">successful-ok-ignored-or-substituted-attributes</td></tr>
+ <tr><th>IPP_STATUS_OK_IGNORED_SUBSCRIPTIONS </th> <td class="description">successful-ok-ignored-subscriptions</td></tr>
+ <tr><th>IPP_STATUS_OK_TOO_MANY_EVENTS </th> <td class="description">successful-ok-too-many-events</td></tr>
+</tbody></table>
<h3 class="enumeration"><a id="ipp_tag_e">ipp_tag_e</a></h3>
<p class="description">Format tags for attributes</p>
<h4 class="constants">Constants</h4>
- <dl>
- <dt>IPP_TAG_ADMINDEFINE </dt>
- <dd class="description">Admin-defined value</dd>
- <dt>IPP_TAG_BOOLEAN </dt>
- <dd class="description">Boolean value</dd>
- <dt>IPP_TAG_CHARSET </dt>
- <dd class="description">Character set value</dd>
- <dt>IPP_TAG_CUPS_INVALID </dt>
- <dd class="description">Invalid tag name for <a href="#ippTagValue"><code>ippTagValue</code></a></dd>
- <dt>IPP_TAG_DATE </dt>
- <dd class="description">Date/time value</dd>
- <dt>IPP_TAG_DEFAULT </dt>
- <dd class="description">Default value</dd>
- <dt>IPP_TAG_DELETEATTR </dt>
- <dd class="description">Delete-attribute value</dd>
- <dt>IPP_TAG_END </dt>
- <dd class="description">End-of-attributes</dd>
- <dt>IPP_TAG_ENUM </dt>
- <dd class="description">Enumeration value</dd>
- <dt>IPP_TAG_EVENT_NOTIFICATION </dt>
- <dd class="description">Event group</dd>
- <dt>IPP_TAG_INTEGER </dt>
- <dd class="description">Integer value</dd>
- <dt>IPP_TAG_JOB </dt>
- <dd class="description">Job group</dd>
- <dt>IPP_TAG_KEYWORD </dt>
- <dd class="description">Keyword value</dd>
- <dt>IPP_TAG_LANGUAGE </dt>
- <dd class="description">Language value</dd>
- <dt>IPP_TAG_MIMETYPE </dt>
- <dd class="description">MIME media type value</dd>
- <dt>IPP_TAG_NAME </dt>
- <dd class="description">Name value</dd>
- <dt>IPP_TAG_NAMELANG </dt>
- <dd class="description">Name-with-language value</dd>
- <dt>IPP_TAG_NOTSETTABLE </dt>
- <dd class="description">Not-settable value</dd>
- <dt>IPP_TAG_NOVALUE </dt>
- <dd class="description">No-value value</dd>
- <dt>IPP_TAG_OPERATION </dt>
- <dd class="description">Operation group</dd>
- <dt>IPP_TAG_PRINTER </dt>
- <dd class="description">Printer group</dd>
- <dt>IPP_TAG_RANGE </dt>
- <dd class="description">Range value</dd>
- <dt>IPP_TAG_RESOLUTION </dt>
- <dd class="description">Resolution value</dd>
- <dt>IPP_TAG_STRING </dt>
- <dd class="description">Octet string value</dd>
- <dt>IPP_TAG_SUBSCRIPTION </dt>
- <dd class="description">Subscription group</dd>
- <dt>IPP_TAG_TEXT </dt>
- <dd class="description">Text value</dd>
- <dt>IPP_TAG_TEXTLANG </dt>
- <dd class="description">Text-with-language value</dd>
- <dt>IPP_TAG_UNKNOWN </dt>
- <dd class="description">Unknown value</dd>
- <dt>IPP_TAG_UNSUPPORTED_GROUP </dt>
- <dd class="description">Unsupported attributes group</dd>
- <dt>IPP_TAG_UNSUPPORTED_VALUE </dt>
- <dd class="description">Unsupported value</dd>
- <dt>IPP_TAG_URI </dt>
- <dd class="description">URI value</dd>
- <dt>IPP_TAG_URISCHEME </dt>
- <dd class="description">URI scheme value</dd>
- <dt>IPP_TAG_ZERO </dt>
- <dd class="description">Zero tag - used for separators</dd>
-</dl>
+ <table class="list"><tbody>
+ <tr><th>IPP_TAG_ADMINDEFINE </th> <td class="description">Admin-defined value</td></tr>
+ <tr><th>IPP_TAG_BOOLEAN </th> <td class="description">Boolean value</td></tr>
+ <tr><th>IPP_TAG_CHARSET </th> <td class="description">Character set value</td></tr>
+ <tr><th>IPP_TAG_CUPS_INVALID </th> <td class="description">Invalid tag name for <a href="#ippTagValue"><code>ippTagValue</code></a></td></tr>
+ <tr><th>IPP_TAG_DATE </th> <td class="description">Date/time value</td></tr>
+ <tr><th>IPP_TAG_DEFAULT </th> <td class="description">Default value</td></tr>
+ <tr><th>IPP_TAG_DELETEATTR </th> <td class="description">Delete-attribute value</td></tr>
+ <tr><th>IPP_TAG_END </th> <td class="description">End-of-attributes</td></tr>
+ <tr><th>IPP_TAG_ENUM </th> <td class="description">Enumeration value</td></tr>
+ <tr><th>IPP_TAG_EVENT_NOTIFICATION </th> <td class="description">Event group</td></tr>
+ <tr><th>IPP_TAG_INTEGER </th> <td class="description">Integer value</td></tr>
+ <tr><th>IPP_TAG_JOB </th> <td class="description">Job group</td></tr>
+ <tr><th>IPP_TAG_KEYWORD </th> <td class="description">Keyword value</td></tr>
+ <tr><th>IPP_TAG_LANGUAGE </th> <td class="description">Language value</td></tr>
+ <tr><th>IPP_TAG_MIMETYPE </th> <td class="description">MIME media type value</td></tr>
+ <tr><th>IPP_TAG_NAME </th> <td class="description">Name value</td></tr>
+ <tr><th>IPP_TAG_NAMELANG </th> <td class="description">Name-with-language value</td></tr>
+ <tr><th>IPP_TAG_NOTSETTABLE </th> <td class="description">Not-settable value</td></tr>
+ <tr><th>IPP_TAG_NOVALUE </th> <td class="description">No-value value</td></tr>
+ <tr><th>IPP_TAG_OPERATION </th> <td class="description">Operation group</td></tr>
+ <tr><th>IPP_TAG_PRINTER </th> <td class="description">Printer group</td></tr>
+ <tr><th>IPP_TAG_RANGE </th> <td class="description">Range value</td></tr>
+ <tr><th>IPP_TAG_RESOLUTION </th> <td class="description">Resolution value</td></tr>
+ <tr><th>IPP_TAG_STRING </th> <td class="description">Octet string value</td></tr>
+ <tr><th>IPP_TAG_SUBSCRIPTION </th> <td class="description">Subscription group</td></tr>
+ <tr><th>IPP_TAG_TEXT </th> <td class="description">Text value</td></tr>
+ <tr><th>IPP_TAG_TEXTLANG </th> <td class="description">Text-with-language value</td></tr>
+ <tr><th>IPP_TAG_UNKNOWN </th> <td class="description">Unknown value</td></tr>
+ <tr><th>IPP_TAG_UNSUPPORTED_GROUP </th> <td class="description">Unsupported attributes group</td></tr>
+ <tr><th>IPP_TAG_UNSUPPORTED_VALUE </th> <td class="description">Unsupported value</td></tr>
+ <tr><th>IPP_TAG_URI </th> <td class="description">URI value</td></tr>
+ <tr><th>IPP_TAG_URISCHEME </th> <td class="description">URI scheme value</td></tr>
+ <tr><th>IPP_TAG_ZERO </th> <td class="description">Zero tag - used for separators</td></tr>
+</tbody></table>
</div>
</body>
</html>