3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7
<html xmlns="http://www.w3.org/1999/xhtml">
9
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
<title>krb5_get_init_creds_opt_alloc - Allocate a new initial credential options structure. — MIT Kerberos Documentation</title>
13
<link rel="stylesheet" href="../../../_static/agogo.css" type="text/css" />
14
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
15
<link rel="stylesheet" href="../../../_static/kerb.css" type="text/css" />
17
<script type="text/javascript">
18
var DOCUMENTATION_OPTIONS = {
19
URL_ROOT: '../../../',
21
COLLAPSE_INDEX: false,
26
<script type="text/javascript" src="../../../_static/jquery.js"></script>
27
<script type="text/javascript" src="../../../_static/underscore.js"></script>
28
<script type="text/javascript" src="../../../_static/doctools.js"></script>
29
<link rel="author" title="About these documents" href="../../../about.html" />
30
<link rel="copyright" title="Copyright" href="../../../copyright.html" />
31
<link rel="top" title="MIT Kerberos Documentation" href="../../../index.html" />
32
<link rel="up" title="krb5 API" href="index.html" />
33
<link rel="next" title="krb5_get_init_creds_opt_free - Free initial credential options." href="krb5_get_init_creds_opt_free.html" />
34
<link rel="prev" title="krb5_get_init_creds_keytab - Get initial credentials using a key table." href="krb5_get_init_creds_keytab.html" />
37
<div class="header-wrapper">
38
<div class="header" style="padding-bottom: 0px;">
41
<h1><a href="../../../index.html"
42
style="color: #5d1509; font-size: 120%;
43
padding-top: 10px;">MIT Kerberos Documentation</a></h1>
46
<a href="../../../index.html"
47
title="Full Table of Contents"
48
accesskey="C">Contents</a>
50
<a href="krb5_get_init_creds_keytab.html"
51
title="krb5_get_init_creds_keytab - Get initial credentials using a key table."
52
accesskey="P">previous</a>
54
<a href="krb5_get_init_creds_opt_free.html"
55
title="krb5_get_init_creds_opt_free - Free initial credential options."
56
accesskey="N">next</a>
58
<a href="../../../genindex.html"
60
accesskey="I">index</a>
62
<a href="../../../search.html"
63
title="Enter search criteria"
64
accesskey="S">Search</a>
66
<a href="mailto:krb5-bugs@mit.edu?subject=Documentation__krb5_get_init_creds_opt_alloc - Allocate a new initial credential options structure.">feedback</a>
71
<div class="content-wrapper">
74
style="float: right; background: #F9F9F9">
75
<h2>On this page </h2>
77
<li><a class="reference internal" href="#">krb5_get_init_creds_opt_alloc - Allocate a new initial credential options structure.</a></li>
81
<h2>Table of contents</h2>
83
<li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li>
84
<li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li>
85
<li class="toctree-l1"><a class="reference internal" href="../../index.html">For application developers</a></li>
86
<li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li>
87
<li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li>
88
<li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li>
89
<li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li>
90
<li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li>
91
<li class="toctree-l1"><a class="reference internal" href="../../../about.html">The Kerberos Documentation Set</a></li>
92
<li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li>
96
<h4><a href="../../../index.html">Full Table of Contents
99
<form class="search" action="../../../search.html" method="get">
100
<input type="text" name="q" size="18" />
101
<input type="submit" value="Go" />
102
<input type="hidden" name="check_keywords" value="yes" />
103
<input type="hidden" name="area" value="default" />
106
<div class="document">
108
<div class="documentwrapper">
109
<div class="bodywrapper">
112
<div class="section" id="krb5-get-init-creds-opt-alloc-allocate-a-new-initial-credential-options-structure">
113
<h1>krb5_get_init_creds_opt_alloc - Allocate a new initial credential options structure.<a class="headerlink" href="#krb5-get-init-creds-opt-alloc-allocate-a-new-initial-credential-options-structure" title="Permalink to this headline">¶</a></h1>
114
<dl class="function">
115
<dt id="krb5_get_init_creds_opt_alloc">
116
<a class="reference internal" href="../types/krb5_error_code.html#krb5_error_code" title="krb5_error_code">krb5_error_code</a> <tt class="descname">krb5_get_init_creds_opt_alloc</tt><big>(</big><a class="reference internal" href="../types/krb5_context.html#krb5_context" title="krb5_context">krb5_context</a><em> context</em>, <a class="reference internal" href="../types/krb5_get_init_creds_opt.html#krb5_get_init_creds_opt" title="krb5_get_init_creds_opt">krb5_get_init_creds_opt</a> **<em> opt</em><big>)</big><a class="headerlink" href="#krb5_get_init_creds_opt_alloc" title="Permalink to this definition">¶</a></dt>
119
<table class="docutils field-list" frame="void" rules="none">
120
<col class="field-name" />
121
<col class="field-body" />
123
<tr class="field-odd field"><th class="field-name">param:</th><td class="field-body"><p class="first"><strong>[in]</strong> <strong>context</strong> - Library context</p>
124
<p class="last"><strong>[out]</strong> <strong>opt</strong> - New options structure</p>
129
<table class="docutils field-list" frame="void" rules="none">
130
<col class="field-name" />
131
<col class="field-body" />
133
<tr class="field-odd field"><th class="field-name">retval:</th><td class="field-body"><ul class="first last simple">
134
<li>0 - Success; Kerberos errors otherwise.</li>
140
<p>This function is the preferred way to create an options structure for getting initial credentials, and is required to make use of certain options. Use <a class="reference internal" href="krb5_get_init_creds_opt_free.html#krb5_get_init_creds_opt_free" title="krb5_get_init_creds_opt_free"><tt class="xref c c-func docutils literal"><span class="pre">krb5_get_init_creds_opt_free()</span></tt></a> to free <em>opt</em> when it is no longer needed.</p>
148
<div class="clearer" ></div>
152
<div class="footer-wrapper" >
153
<div class="footer" >
154
<div class="right" ><i>Release: 1.11.3</i><br />
155
© <a href="../../../copyright.html">Copyright</a> 1985-2013, MIT.
158
<a href="../../../index.html"
159
title="Full Table of Contents"
162
<a href="krb5_get_init_creds_keytab.html"
163
title="krb5_get_init_creds_keytab - Get initial credentials using a key table."
166
<a href="krb5_get_init_creds_opt_free.html"
167
title="krb5_get_init_creds_opt_free - Free initial credential options."
170
<a href="../../../genindex.html"
171
title="General Index"
174
<a href="../../../search.html"
175
title="Enter search criteria"
178
<a href="mailto:krb5-bugs@mit.edu?subject=Documentation__krb5_get_init_creds_opt_alloc - Allocate a new initial credential options structure.">feedback</a>
b'\\ No newline at end of file'