| 1 |
<!DOCTYPE html> |
| 2 |
|
| 3 |
<html lang="en" data-content_root="../../../"> |
| 4 |
<head> |
| 5 |
<meta charset="utf-8" /> |
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 7 |
|
| 8 |
<title>krb5_free_principal - Free the storage assigned to a principal. — MIT Kerberos Documentation</title> |
| 9 |
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" /> |
| 10 |
<link rel="stylesheet" type="text/css" href="../../../_static/agogo.css?v=879f3c71" /> |
| 11 |
<link rel="stylesheet" type="text/css" href="../../../_static/kerb.css?v=6a0b3979" /> |
| 12 |
<script src="../../../_static/documentation_options.js?v=6dbce55c"></script> |
| 13 |
<script src="../../../_static/doctools.js?v=888ff710"></script> |
| 14 |
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script> |
| 15 |
<link rel="author" title="About these documents" href="../../../about.html" /> |
| 16 |
<link rel="index" title="Index" href="../../../genindex.html" /> |
| 17 |
<link rel="search" title="Search" href="../../../search.html" /> |
| 18 |
<link rel="copyright" title="Copyright" href="../../../copyright.html" /> |
| 19 |
<link rel="next" title="krb5_fwd_tgt_creds - Get a forwarded TGT and format a KRB-CRED message." href="krb5_fwd_tgt_creds.html" /> |
| 20 |
<link rel="prev" title="krb5_free_error_message - Free an error message generated by krb5_get_error_message()." href="krb5_free_error_message.html" /> |
| 21 |
</head><body> |
| 22 |
<div class="header-wrapper"> |
| 23 |
<div class="header"> |
| 24 |
|
| 25 |
|
| 26 |
<h1><a href="../../../index.html">MIT Kerberos Documentation</a></h1> |
| 27 |
|
| 28 |
<div class="rel"> |
| 29 |
|
| 30 |
<a href="../../../index.html" title="Full Table of Contents" |
| 31 |
accesskey="C">Contents</a> | |
| 32 |
<a href="krb5_free_error_message.html" title="krb5_free_error_message - Free an error message generated by krb5_get_error_message()." |
| 33 |
accesskey="P">previous</a> | |
| 34 |
<a href="krb5_fwd_tgt_creds.html" title="krb5_fwd_tgt_creds - Get a forwarded TGT and format a KRB-CRED message." |
| 35 |
accesskey="N">next</a> | |
| 36 |
<a href="../../../genindex.html" title="General Index" |
| 37 |
accesskey="I">index</a> | |
| 38 |
<a href="../../../search.html" title="Enter search criteria" |
| 39 |
accesskey="S">Search</a> | |
| 40 |
<a href="mailto:[email protected]?subject=Documentation__krb5_free_principal - Free the storage assigned to a principal.">feedback</a> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
|
| 45 |
<div class="content-wrapper"> |
| 46 |
<div class="content"> |
| 47 |
<div class="document"> |
| 48 |
|
| 49 |
<div class="documentwrapper"> |
| 50 |
<div class="bodywrapper"> |
| 51 |
<div class="body" role="main"> |
| 52 |
|
| 53 |
<section id="krb5-free-principal-free-the-storage-assigned-to-a-principal"> |
| 54 |
<h1>krb5_free_principal - Free the storage assigned to a principal.<a class="headerlink" href="#krb5-free-principal-free-the-storage-assigned-to-a-principal" title="Link to this heading">¶</a></h1> |
| 55 |
<dl class="c function"> |
| 56 |
<dt class="sig sig-object c" id="c.krb5_free_principal"> |
| 57 |
<span class="kt"><span class="pre">void</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">krb5_free_principal</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>, <a class="reference internal" href="../types/krb5_principal.html#c.krb5_principal" title="krb5_principal"><span class="n"><span class="pre">krb5_principal</span></span></a><span class="w"> </span><span class="n"><span class="pre">val</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c.krb5_free_principal" title="Link to this definition">¶</a><br /></dt> |
| 58 |
<dd></dd></dl> |
| 59 |
|
| 60 |
<dl class="field-list"> |
| 61 |
<dt class="field-odd">param<span class="colon">:</span></dt> |
| 62 |
<dd class="field-odd"><p><strong>[in]</strong> <strong>context</strong> - Library context</p> |
| 63 |
<p><strong>[in]</strong> <strong>val</strong> - Principal to be freed</p> |
| 64 |
</dd> |
| 65 |
</dl> |
| 66 |
</section> |
| 67 |
|
| 68 |
|
| 69 |
<div class="clearer"></div> |
| 70 |
</div> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
<div class="sidebar"> |
| 75 |
|
| 76 |
<h2>On this page</h2> |
| 77 |
<ul> |
| 78 |
<li><a class="reference internal" href="#">krb5_free_principal - Free the storage assigned to a principal.</a></li> |
| 79 |
</ul> |
| 80 |
|
| 81 |
<br/> |
| 82 |
<h2>Table of contents</h2> |
| 83 |
<ul class="current"> |
| 84 |
<li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li> |
| 85 |
<li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li> |
| 86 |
<li class="toctree-l1 current"><a class="reference internal" href="../../index.html">For application developers</a><ul class="current"> |
| 87 |
<li class="toctree-l2"><a class="reference internal" href="../../gssapi.html">Developing with GSSAPI</a></li> |
| 88 |
<li class="toctree-l2"><a class="reference internal" href="../../y2038.html">Year 2038 considerations for uses of krb5_timestamp</a></li> |
| 89 |
<li class="toctree-l2"><a class="reference internal" href="../../h5l_mit_apidiff.html">Differences between Heimdal and MIT Kerberos API</a></li> |
| 90 |
<li class="toctree-l2"><a class="reference internal" href="../../init_creds.html">Initial credentials</a></li> |
| 91 |
<li class="toctree-l2"><a class="reference internal" href="../../princ_handle.html">Principal manipulation and parsing</a></li> |
| 92 |
<li class="toctree-l2 current"><a class="reference internal" href="../index.html">Complete reference - API and datatypes</a><ul class="current"> |
| 93 |
<li class="toctree-l3 current"><a class="reference internal" href="index.html">krb5 API</a></li> |
| 94 |
<li class="toctree-l3"><a class="reference internal" href="../types/index.html">krb5 types and structures</a></li> |
| 95 |
<li class="toctree-l3"><a class="reference internal" href="../macros/index.html">krb5 simple macros</a></li> |
| 96 |
</ul> |
| 97 |
</li> |
| 98 |
</ul> |
| 99 |
</li> |
| 100 |
<li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li> |
| 101 |
<li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li> |
| 102 |
<li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li> |
| 103 |
<li class="toctree-l1"><a class="reference internal" href="../../../formats/index.html">Protocols and file formats</a></li> |
| 104 |
<li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li> |
| 105 |
<li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li> |
| 106 |
<li class="toctree-l1"><a class="reference internal" href="../../../about.html">Contributing to the MIT Kerberos Documentation</a></li> |
| 107 |
<li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li> |
| 108 |
</ul> |
| 109 |
|
| 110 |
<br/> |
| 111 |
<h4><a href="../../../index.html">Full Table of Contents</a></h4> |
| 112 |
<h4>Search</h4> |
| 113 |
<form class="search" action="../../../search.html" method="get"> |
| 114 |
<input type="text" name="q" size="18" /> |
| 115 |
<input type="submit" value="Go" /> |
| 116 |
<input type="hidden" name="check_keywords" value="yes" /> |
| 117 |
<input type="hidden" name="area" value="default" /> |
| 118 |
</form> |
| 119 |
|
| 120 |
</div> |
| 121 |
<div class="clearer"></div> |
| 122 |
</div> |
| 123 |
</div> |
| 124 |
|
| 125 |
<div class="footer-wrapper"> |
| 126 |
<div class="footer" > |
| 127 |
<div class="right" ><i>Release: 1.22.1</i><br /> |
| 128 |
© <a href="../../../copyright.html">Copyright</a> 1985-2025, MIT. |
| 129 |
</div> |
| 130 |
<div class="left"> |
| 131 |
|
| 132 |
<a href="../../../index.html" title="Full Table of Contents" |
| 133 |
>Contents</a> | |
| 134 |
<a href="krb5_free_error_message.html" title="krb5_free_error_message - Free an error message generated by krb5_get_error_message()." |
| 135 |
>previous</a> | |
| 136 |
<a href="krb5_fwd_tgt_creds.html" title="krb5_fwd_tgt_creds - Get a forwarded TGT and format a KRB-CRED message." |
| 137 |
>next</a> | |
| 138 |
<a href="../../../genindex.html" title="General Index" |
| 139 |
>index</a> | |
| 140 |
<a href="../../../search.html" title="Enter search criteria" |
| 141 |
>Search</a> | |
| 142 |
<a href="mailto:[email protected]?subject=Documentation__krb5_free_principal - Free the storage assigned to a principal.">feedback</a> |
| 143 |
</div> |
| 144 |
</div> |
| 145 |
</div> |
| 146 |
|
| 147 |
</body> |
| 148 |
</html> |