1 2<!DOCTYPE html> 3 4<html> 5 <head> 6 <meta charset="utf-8" /> 7 <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> 8 9 <title>krb5_cccol_have_content - Check if the credential cache collection contains any initialized caches. — MIT Kerberos Documentation</title> 10 <link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" /> 11 <link rel="stylesheet" type="text/css" href="../../../_static/agogo.css" /> 12 <link rel="stylesheet" type="text/css" href="../../../_static/kerb.css" /> 13 <script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script> 14 <script src="../../../_static/jquery.js"></script> 15 <script src="../../../_static/underscore.js"></script> 16 <script src="../../../_static/doctools.js"></script> 17 <link rel="author" title="About these documents" href="../../../about.html" /> 18 <link rel="index" title="Index" href="../../../genindex.html" /> 19 <link rel="search" title="Search" href="../../../search.html" /> 20 <link rel="copyright" title="Copyright" href="../../../copyright.html" /> 21 <link rel="next" title="krb5_clear_error_message - Clear the extended error message in a context." href="krb5_clear_error_message.html" /> 22 <link rel="prev" title="krb5_cccol_cursor_next - Get the next credential cache in the collection." href="krb5_cccol_cursor_next.html" /> 23 </head><body> 24 <div class="header-wrapper"> 25 <div class="header"> 26 27 28 <h1><a href="../../../index.html">MIT Kerberos Documentation</a></h1> 29 30 <div class="rel"> 31 32 <a href="../../../index.html" title="Full Table of Contents" 33 accesskey="C">Contents</a> | 34 <a href="krb5_cccol_cursor_next.html" title="krb5_cccol_cursor_next - Get the next credential cache in the collection." 35 accesskey="P">previous</a> | 36 <a href="krb5_clear_error_message.html" title="krb5_clear_error_message - Clear the extended error message in a context." 37 accesskey="N">next</a> | 38 <a href="../../../genindex.html" title="General Index" 39 accesskey="I">index</a> | 40 <a href="../../../search.html" title="Enter search criteria" 41 accesskey="S">Search</a> | 42 <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__krb5_cccol_have_content - Check if the credential cache collection contains any initialized caches.">feedback</a> 43 </div> 44 </div> 45 </div> 46 47 <div class="content-wrapper"> 48 <div class="content"> 49 <div class="document"> 50 51 <div class="documentwrapper"> 52 <div class="bodywrapper"> 53 <div class="body" role="main"> 54 55 <section id="krb5-cccol-have-content-check-if-the-credential-cache-collection-contains-any-initialized-caches"> 56<h1>krb5_cccol_have_content - Check if the credential cache collection contains any initialized caches.<a class="headerlink" href="#krb5-cccol-have-content-check-if-the-credential-cache-collection-contains-any-initialized-caches" title="Permalink to this headline">¶</a></h1> 57<dl class="c function"> 58<dt class="sig sig-object c" id="c.krb5_cccol_have_content"> 59<a class="reference internal" href="../types/krb5_error_code.html#c.krb5_error_code" title="krb5_error_code"><span class="n"><span class="pre">krb5_error_code</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">krb5_cccol_have_content</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="../types/krb5_context.html#c.krb5_context" title="krb5_context"><span class="n"><span class="pre">krb5_context</span></span></a><span class="w"> </span><span class="n"><span class="pre">context</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c.krb5_cccol_have_content" title="Permalink to this definition">¶</a><br /></dt> 60<dd></dd></dl> 61 62<dl class="field-list simple"> 63<dt class="field-odd">param</dt> 64<dd class="field-odd"><p><strong>[in]</strong> <strong>context</strong> - Library context</p> 65</dd> 66</dl> 67<dl class="field-list simple"> 68<dt class="field-odd">retval</dt> 69<dd class="field-odd"><ul class="simple"> 70<li><p>0 At least one initialized cache is present in the collection</p></li> 71<li><p>KRB5_CC_NOTFOUND The collection contains no caches</p></li> 72</ul> 73</dd> 74</dl> 75<div class="admonition note"> 76<p class="admonition-title">Note</p> 77<p>New in 1.11</p> 78</div> 79</section> 80 81 82 <div class="clearer"></div> 83 </div> 84 </div> 85 </div> 86 </div> 87 <div class="sidebar"> 88 89 <h2>On this page</h2> 90 <ul> 91<li><a class="reference internal" href="#">krb5_cccol_have_content - Check if the credential cache collection contains any initialized caches.</a></li> 92</ul> 93 94 <br/> 95 <h2>Table of contents</h2> 96 <ul class="current"> 97<li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li> 98<li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li> 99<li class="toctree-l1 current"><a class="reference internal" href="../../index.html">For application developers</a><ul class="current"> 100<li class="toctree-l2"><a class="reference internal" href="../../gssapi.html">Developing with GSSAPI</a></li> 101<li class="toctree-l2"><a class="reference internal" href="../../y2038.html">Year 2038 considerations for uses of krb5_timestamp</a></li> 102<li class="toctree-l2"><a class="reference internal" href="../../h5l_mit_apidiff.html">Differences between Heimdal and MIT Kerberos API</a></li> 103<li class="toctree-l2"><a class="reference internal" href="../../init_creds.html">Initial credentials</a></li> 104<li class="toctree-l2"><a class="reference internal" href="../../princ_handle.html">Principal manipulation and parsing</a></li> 105<li class="toctree-l2 current"><a class="reference internal" href="../index.html">Complete reference - API and datatypes</a><ul class="current"> 106<li class="toctree-l3 current"><a class="reference internal" href="index.html">krb5 API</a></li> 107<li class="toctree-l3"><a class="reference internal" href="../types/index.html">krb5 types and structures</a></li> 108<li class="toctree-l3"><a class="reference internal" href="../macros/index.html">krb5 simple macros</a></li> 109</ul> 110</li> 111</ul> 112</li> 113<li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li> 114<li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li> 115<li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li> 116<li class="toctree-l1"><a class="reference internal" href="../../../formats/index.html">Protocols and file formats</a></li> 117<li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li> 118<li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li> 119<li class="toctree-l1"><a class="reference internal" href="../../../about.html">Contributing to the MIT Kerberos Documentation</a></li> 120<li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li> 121</ul> 122 123 <br/> 124 <h4><a href="../../../index.html">Full Table of Contents</a></h4> 125 <h4>Search</h4> 126 <form class="search" action="../../../search.html" method="get"> 127 <input type="text" name="q" size="18" /> 128 <input type="submit" value="Go" /> 129 <input type="hidden" name="check_keywords" value="yes" /> 130 <input type="hidden" name="area" value="default" /> 131 </form> 132 133 </div> 134 <div class="clearer"></div> 135 </div> 136 </div> 137 138 <div class="footer-wrapper"> 139 <div class="footer" > 140 <div class="right" ><i>Release: 1.21.3</i><br /> 141 © <a href="../../../copyright.html">Copyright</a> 1985-2024, MIT. 142 </div> 143 <div class="left"> 144 145 <a href="../../../index.html" title="Full Table of Contents" 146 >Contents</a> | 147 <a href="krb5_cccol_cursor_next.html" title="krb5_cccol_cursor_next - Get the next credential cache in the collection." 148 >previous</a> | 149 <a href="krb5_clear_error_message.html" title="krb5_clear_error_message - Clear the extended error message in a context." 150 >next</a> | 151 <a href="../../../genindex.html" title="General Index" 152 >index</a> | 153 <a href="../../../search.html" title="Enter search criteria" 154 >Search</a> | 155 <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__krb5_cccol_have_content - Check if the credential cache collection contains any initialized caches.">feedback</a> 156 </div> 157 </div> 158 </div> 159 160 </body> 161</html>