This file is indexed.

/usr/share/doc/libglobus-gram-client-dev/html/group__globus__gram__client__attr.html is in libglobus-gram-client-doc 12.3-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<!-- THIS FILE IS AUTOMATICALLY GENERATED FROM THE GLOBUS SOURCE CODE
     DO NOT MODIFY.
-->
<title>Globus Reference Manual</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('group__globus__gram__client__attr.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">GRAM Client Attribute Functions</div>  </div>
</div><!--header-->
<div class="contents">
<h2><a name="define-members"></a>
Defines</h2>
<ul>
<li>#define <a class="el" href="group__globus__gram__client__attr.html#gabd78ad96b0bf2f28d89293e143ae2c9d">GLOBUS_GRAM_CLIENT_NO_ATTR</a>
</ul>
<h2><a name="typedef-members"></a>
Typedefs</h2>
<ul>
<li>typedef void * <a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a>
</ul>
<h2><a name="func-members"></a>
Functions</h2>
<ul>
<li>int <a class="el" href="group__globus__gram__client__attr.html#ga36f5df0da2ae30f011315118e2be181e">globus_gram_client_attr_init</a> (<a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> *attr)
<li>int <a class="el" href="group__globus__gram__client__attr.html#gab38a626d41d870f726fd16567fde1a88">globus_gram_client_attr_destroy</a> (<a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> *attr)
<li>int <a class="el" href="group__globus__gram__client__attr.html#ga2c0667fe7d50dfc2330ed4e545820508">globus_gram_client_attr_set_credential</a> (<a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> attr, gss_cred_id_t credential)
<li>int <a class="el" href="group__globus__gram__client__attr.html#ga50f09c9a35cdb030cce3d21e82d3b2cc">globus_gram_client_attr_get_credential</a> (<a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> attr, gss_cred_id_t *credential)
<li>int <a class="el" href="group__globus__gram__client__attr.html#ga085f1b69523a16ec367cd6d842f7abb5">globus_gram_client_attr_set_delegation_mode</a> (<a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> attr, globus_io_secure_delegation_mode_t mode)
<li>int <a class="el" href="group__globus__gram__client__attr.html#ga6a2f0830046774d8d80df37be4ad48a1">globus_gram_client_attr_get_delegation_mode</a> (<a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> attr, globus_io_secure_delegation_mode_t *mode)
</ul>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="gabd78ad96b0bf2f28d89293e143ae2c9d"></a><!-- doxytag: member="globus_gram_client.h::GLOBUS_GRAM_CLIENT_NO_ATTR" ref="gabd78ad96b0bf2f28d89293e143ae2c9d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="group__globus__gram__client__attr.html#gabd78ad96b0bf2f28d89293e143ae2c9d">GLOBUS_GRAM_CLIENT_NO_ATTR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default GRAM client operation attribute. </p>
<p>The GLOBUS_GRAM_CLIENT_NO_ATTR macro defines a constant for use when a user of the GRAM client API does not want to specify any non-default GRAM attributes. </p>

</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="gab906c3d70b18b429bac1b0ae8a7304da"></a><!-- doxytag: member="globus_gram_client.h::globus_gram_client_attr_t" ref="gab906c3d70b18b429bac1b0ae8a7304da" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void* <a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>GRAM client operation attribute. </p>
<p>The <a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da" title="GRAM client operation attribute.">globus_gram_client_attr_t</a> type is an opaque type describing GRAM attributes. It can be accessed or modified by functions in the <a class="el" href="group__globus__gram__client__attr.html">GRAM Client Attribute Functions</a> documentation. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga36f5df0da2ae30f011315118e2be181e"></a><!-- doxytag: member="globus_gram_client_attr.c::globus_gram_client_attr_init" ref="ga36f5df0da2ae30f011315118e2be181e" args="(globus_gram_client_attr_t *attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="group__globus__gram__client__attr.html#ga36f5df0da2ae30f011315118e2be181e">globus_gram_client_attr_init</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> *&#160;</td>
          <td class="paramname"><em>attr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialize a GRAM client attribute. </p>
<p>The <a class="el" href="group__globus__gram__client__attr.html#ga36f5df0da2ae30f011315118e2be181e" title="Initialize a GRAM client attribute.">globus_gram_client_attr_init()</a> function creates a new opaque structure that can be used to specify custom attributes for performing GRAM client operations.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>An output parameter which will be set to the newly initialized attribute.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Upon success, <a class="el" href="group__globus__gram__client__attr.html#ga36f5df0da2ae30f011315118e2be181e" title="Initialize a GRAM client attribute.">globus_gram_client_attr_init()</a> modifies the <em>attr</em> parameter to point to a new GRAM client attribute and returns <em>GLOBUS_SUCCESS</em>. If an error occurs, <a class="el" href="group__globus__gram__client__attr.html#ga36f5df0da2ae30f011315118e2be181e" title="Initialize a GRAM client attribute.">globus_gram_client_attr_init()</a> returns an integer error code and value of <em>attr</em> is undefined.</dd></dl>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">GLOBUS_SUCCESS</td><td>Success </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR</td><td>Invalid attribute </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_MALLOC_FAILED</td><td>Out of memory</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__globus__gram__client__attr.html#gab38a626d41d870f726fd16567fde1a88" title="Destroy a GRAM client attribute.">globus_gram_client_attr_destroy()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="gab38a626d41d870f726fd16567fde1a88"></a><!-- doxytag: member="globus_gram_client_attr.c::globus_gram_client_attr_destroy" ref="gab38a626d41d870f726fd16567fde1a88" args="(globus_gram_client_attr_t *attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="group__globus__gram__client__attr.html#gab38a626d41d870f726fd16567fde1a88">globus_gram_client_attr_destroy</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a> *&#160;</td>
          <td class="paramname"><em>attr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destroy a GRAM client attribute. </p>
<p>The <a class="el" href="group__globus__gram__client__attr.html#gab38a626d41d870f726fd16567fde1a88" title="Destroy a GRAM client attribute.">globus_gram_client_attr_destroy()</a> function destroys and frees a GRAM client attribute. After this function returns, the value pointed to by <em>attr</em> is no longer valid and must not be used.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>A pointer to the attribute to destroy. All data associated with the attribute will be freed and it will be an invalid attribute.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Upon success, <a class="el" href="group__globus__gram__client__attr.html#gab38a626d41d870f726fd16567fde1a88" title="Destroy a GRAM client attribute.">globus_gram_client_attr_destroy()</a> destroys the attribute pointed to by the <em>attr</em> parameter and sets it to an invalid state. If an error occurs, <a class="el" href="group__globus__gram__client__attr.html#gab38a626d41d870f726fd16567fde1a88" title="Destroy a GRAM client attribute.">globus_gram_client_attr_destroy()</a> returns an integer error code and value of <em>attr</em> is unchanged.</dd></dl>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">GLOBUS_SUCCESS</td><td>Success </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR</td><td>Invalid attribute</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__globus__gram__client__attr.html#ga36f5df0da2ae30f011315118e2be181e" title="Initialize a GRAM client attribute.">globus_gram_client_attr_init()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga2c0667fe7d50dfc2330ed4e545820508"></a><!-- doxytag: member="globus_gram_client_attr.c::globus_gram_client_attr_set_credential" ref="ga2c0667fe7d50dfc2330ed4e545820508" args="(globus_gram_client_attr_t attr, gss_cred_id_t credential)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="group__globus__gram__client__attr.html#ga2c0667fe7d50dfc2330ed4e545820508">globus_gram_client_attr_set_credential</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a>&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gss_cred_id_t&#160;</td>
          <td class="paramname"><em>credential</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a GRAM client attribute's security credential. </p>
<p>The <a class="el" href="group__globus__gram__client__attr.html#ga2c0667fe7d50dfc2330ed4e545820508" title="Set a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_set_credential()</a> function sets the value of the <b>credential</b> in an attribute to the GSSAPI credential named by the <em>credential</em> parameter. This is done as a shallow copy, so the value of <em>credential</em> must not be freed until the attribute will no longer be used.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>The attribute set to modify to use the credential named by the <em>credential</em> parameter. </td></tr>
    <tr><td class="paramname">credential</td><td>The GSSAPI credential to use with the attribute named by the <em>attr</em> parameter. This may be <em>GSS_C_NO_CREDENTIAL</em> to set the attribute to use the default security credential.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Upon success, <a class="el" href="group__globus__gram__client__attr.html#ga2c0667fe7d50dfc2330ed4e545820508" title="Set a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_set_credential()</a> modifies the the attribute pointed to by the <em>attr</em> parameter to use the credential specified by the <em>credential</em> parameter and returns <em>GLOBUS_SUCCESS</em>. If an error occurs, <a class="el" href="group__globus__gram__client__attr.html#ga2c0667fe7d50dfc2330ed4e545820508" title="Set a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_set_credential()</a> returns an integer error code and the attribute named by <em>attr</em> is unchanged.</dd></dl>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR</td><td>An invalid attribute set was passed to this function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__globus__gram__client__attr.html#ga50f09c9a35cdb030cce3d21e82d3b2cc" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_credential()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga50f09c9a35cdb030cce3d21e82d3b2cc"></a><!-- doxytag: member="globus_gram_client_attr.c::globus_gram_client_attr_get_credential" ref="ga50f09c9a35cdb030cce3d21e82d3b2cc" args="(globus_gram_client_attr_t attr, gss_cred_id_t *credential)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="group__globus__gram__client__attr.html#ga50f09c9a35cdb030cce3d21e82d3b2cc">globus_gram_client_attr_get_credential</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a>&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gss_cred_id_t *&#160;</td>
          <td class="paramname"><em>credential</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a GRAM client attribute's security credential. </p>
<p>The <a class="el" href="group__globus__gram__client__attr.html#ga50f09c9a35cdb030cce3d21e82d3b2cc" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_credential()</a> function gets the value of the <b>credential</b> in an attribute and modifies the <em>credential</em> parameter to point to it. This is a shallow copy.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>The attribute set to query for its <em>credential</em>. </td></tr>
    <tr><td class="paramname">credential</td><td>An output parameter that will be initialized to point to the GSSAPI credential which the <em>attr</em> is currently using.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Upon success, <a class="el" href="group__globus__gram__client__attr.html#ga50f09c9a35cdb030cce3d21e82d3b2cc" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_credential()</a> modifies the the value pointed to by the <em>credential</em> parameter to be the same credential as that being used by the attribute named by the <em>attr</em> parameter and returns <em>GLOBUS_SUCCESS</em>. If an error occurs, <a class="el" href="group__globus__gram__client__attr.html#ga50f09c9a35cdb030cce3d21e82d3b2cc" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_credential()</a> returns an integer error code and the value pointed to by the <em>credential</em> parameter is undefined.</dd></dl>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">GLOBUS_SUCCESS</td><td>Success </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR</td><td>Invalid attribute </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_NULL_PARAMETER</td><td>Null parameter</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__globus__gram__client__attr.html#ga2c0667fe7d50dfc2330ed4e545820508" title="Set a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_set_credential()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga085f1b69523a16ec367cd6d842f7abb5"></a><!-- doxytag: member="globus_gram_client_attr.c::globus_gram_client_attr_set_delegation_mode" ref="ga085f1b69523a16ec367cd6d842f7abb5" args="(globus_gram_client_attr_t attr, globus_io_secure_delegation_mode_t mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="group__globus__gram__client__attr.html#ga085f1b69523a16ec367cd6d842f7abb5">globus_gram_client_attr_set_delegation_mode</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a>&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">globus_io_secure_delegation_mode_t&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a GRAM client attribute's delegation mode. </p>
<p>The <a class="el" href="group__globus__gram__client__attr.html#ga085f1b69523a16ec367cd6d842f7abb5" title="Set a GRAM client attribute&#39;s delegation mode.">globus_gram_client_attr_set_delegation_mode()</a> function sets the value of the <b>delegation_mode</b> in an attribute to the delegation mode in the <em>mode</em> parameter.</p>
<p>The GRAM client supports the following delegation modes:</p>
<ul>
<li><b>GLOBUS_IO_SECURE_DELEGATION_MODE_LIMITED_PROXY</b> </li>
<li><b>GLOBUS_IO_SECURE_DELEGATION_MODE_FULL_PROXY</b> </li>
</ul>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>The attribute set to modify to use the delegation mode in the <em>mode</em> parameter. </td></tr>
    <tr><td class="paramname">mode</td><td>The new value of the delegation mode.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Upon success, <a class="el" href="group__globus__gram__client__attr.html#ga085f1b69523a16ec367cd6d842f7abb5" title="Set a GRAM client attribute&#39;s delegation mode.">globus_gram_client_attr_set_delegation_mode()</a> modifies the the attribute named by the <em>attr</em> parameter to use the delegation mode in the <em>mode</em> parameter and returns GLOBUS_SUCCESS. If an error occurs, <a class="el" href="group__globus__gram__client__attr.html#ga085f1b69523a16ec367cd6d842f7abb5" title="Set a GRAM client attribute&#39;s delegation mode.">globus_gram_client_attr_set_delegation_mode()</a> returns an integer error code and the <em>delegation_mode</em> attribute value is unchanged.</dd></dl>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">GLOBUS_SUCCESS</td><td>Success </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR</td><td>Invalid attribute</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__globus__gram__client__attr.html#ga6a2f0830046774d8d80df37be4ad48a1" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_delegation_mode()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga6a2f0830046774d8d80df37be4ad48a1"></a><!-- doxytag: member="globus_gram_client_attr.c::globus_gram_client_attr_get_delegation_mode" ref="ga6a2f0830046774d8d80df37be4ad48a1" args="(globus_gram_client_attr_t attr, globus_io_secure_delegation_mode_t *mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="group__globus__gram__client__attr.html#ga6a2f0830046774d8d80df37be4ad48a1">globus_gram_client_attr_get_delegation_mode</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__globus__gram__client__attr.html#gab906c3d70b18b429bac1b0ae8a7304da">globus_gram_client_attr_t</a>&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">globus_io_secure_delegation_mode_t *&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a GRAM client attribute's security credential. </p>
<p>The <a class="el" href="group__globus__gram__client__attr.html#ga6a2f0830046774d8d80df37be4ad48a1" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_delegation_mode()</a> function gets the value of the <b>delegation_mode</b> in an attribute and modifies the <em>mode</em> parameter to point to its value.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>The attribute set to query for its <em>delegation_mode</em>. </td></tr>
    <tr><td class="paramname">mode</td><td>An output parameter that will be set to point to the delegation mode which the <em>attr</em> is currently using.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Upon success, <a class="el" href="group__globus__gram__client__attr.html#ga6a2f0830046774d8d80df37be4ad48a1" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_delegation_mode()</a> modifies the the value pointed to by the <em>mode</em> parameter as described above and returns <em>GLOBUS_SUCCESS</em>. If an error occurs, <a class="el" href="group__globus__gram__client__attr.html#ga6a2f0830046774d8d80df37be4ad48a1" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_delegation_mode()</a> returns an integer error code and the value pointed to by the <em>mode</em> parameter is undefined.</dd></dl>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">GLOBUS_SUCCESS</td><td>Success </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR</td><td>Invalid attribute </td></tr>
    <tr><td class="paramname">GLOBUS_GRAM_PROTOCOL_ERROR_NULL_PARAMETER</td><td>Null parameter</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__globus__gram__client__attr.html#ga6a2f0830046774d8d80df37be4ad48a1" title="Get a GRAM client attribute&#39;s security credential.">globus_gram_client_attr_get_delegation_mode()</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
<hr>
<p align="center">
<a href="http://www.globus.org/toolkit/about.html" target="_top">about globus</a> |
<a href="http://www.globus.org/toolkit/" target="_top">globus toolkit</a> |
<a href="https://dev.globus.org/wiki/Welcome/" target="_top">dev.globus</a>
<br>
<br>
Comments? <a href="mailto:webmaster@globus.org">webmaster@globus.org</a>

</body>
</html>