Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > fad4d90453a722fa3879cb0dce97fde6 > files > 11

CGSI-gSOAP-devel-1.3.4.2-2.fc14.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CGSI_gSOAP: cgsi_plugin.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CGSI_gSOAP&#160;<span id="projectnumber">1.3.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">cgsi_plugin.h</div>  </div>
</div>
<div class="contents">
<a href="cgsi__plugin_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*  </span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (c) Members of the EGEE Collaboration. 2004.</span>
<a name="l00003"></a>00003 <span class="comment"> * See http://www.eu-egee.org/partners/ for details on the copyright holders.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span>
<a name="l00006"></a>00006 <span class="comment"> * you may not use this file except in compliance with the License.</span>
<a name="l00007"></a>00007 <span class="comment"> * You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017 
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;stdsoap2.h&gt;</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00033"></a>00033 <span class="preprocessor">#endif</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 
<a name="l00041"></a><a class="code" href="cgsi__plugin_8h.html#a9f0a5a15df8b4b3dd0fdd95f009dbcc7">00041</a> <span class="preprocessor">#define CGSI_OPT_CLIENT             0x1</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a><a class="code" href="cgsi__plugin_8h.html#aa48695547c28f552f0cd01f0ad6cf278">00043</a> <span class="preprocessor">#define CGSI_OPT_SERVER             0x2</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00045"></a><a class="code" href="cgsi__plugin_8h.html#a1859f4e319051343ada8526cb50cf6fc">00045</a> <span class="preprocessor">#define CGSI_OPT_DELEG_FLAG         0x4</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a><a class="code" href="cgsi__plugin_8h.html#a3222b0150e36786c133a8c1d37faf5e8">00047</a> <span class="preprocessor">#define CGSI_OPT_SSL_COMPATIBLE     0x8</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>
<a name="l00049"></a><a class="code" href="cgsi__plugin_8h.html#a07b11c3c6a107bd130b1093c1c96ca5c">00049</a> <span class="preprocessor">#define CGSI_OPT_DISABLE_NAME_CHECK 0x10</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00051"></a><a class="code" href="cgsi__plugin_8h.html#a24c78d3ad5143279fae111351feefb36">00051</a> <span class="preprocessor">#define CGSI_OPT_KEEP_ALIVE         0x20  </span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a><a class="code" href="cgsi__plugin_8h.html#a28142042fc6e4f5b07fe8d5a600e588d">00053</a> <span class="preprocessor">#define CGSI_OPT_DISABLE_MAPPING    0x40</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00056"></a><a class="code" href="cgsi__plugin_8h.html#a5966f0726f1b83d2632413938799e4a9">00056</a> <span class="preprocessor">#define CGSI_OPT_DISABLE_VOMS_CHECK 0x80</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00059"></a><a class="code" href="cgsi__plugin_8h.html#aac7c733e8d5b392782ac4bff18094556">00059</a> <span class="preprocessor">#define CGSI_OPT_ALLOW_ONLY_SELF    0x100</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00073"></a>00073 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a9b4c8716a0595b3c24ff05c7df19b01d">soap_cgsi_init</a>(<span class="keyword">struct</span> soap *soap, <span class="keywordtype">int</span> cgsi_options);
<a name="l00074"></a>00074 
<a name="l00084"></a>00084 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a36b2f2b8d98c8aaeead8c3c701e52de9">cgsi_plugin</a>(<span class="keyword">struct</span> soap *soap, <span class="keyword">struct</span> soap_plugin *plugin, <span class="keywordtype">void</span> *arg);
<a name="l00085"></a>00085 
<a name="l00095"></a>00095 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a1a8019821b74742d6321640ebad211bb">client_cgsi_plugin</a>(<span class="keyword">struct</span> soap *soap, <span class="keyword">struct</span> soap_plugin *plugin, <span class="keywordtype">void</span> *arg);
<a name="l00096"></a>00096 
<a name="l00106"></a>00106 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#adb377e35e9b7f94e964eff070108eda6">server_cgsi_plugin</a>(<span class="keyword">struct</span> soap *soap, <span class="keyword">struct</span> soap_plugin *plugin, <span class="keywordtype">void</span> *arg);
<a name="l00107"></a>00107 
<a name="l00115"></a>00115 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a5fcab078c9c5d8c59fcec2ccf115376b">is_context_established</a>(<span class="keyword">struct</span> soap *soap);
<a name="l00116"></a>00116 
<a name="l00126"></a>00126 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a271357ea6a2d729d4aa3290b62a02ae4">get_client_dn</a>(<span class="keyword">struct</span> soap *soap, <span class="keywordtype">char</span> *dn, <span class="keywordtype">size_t</span> dnlen);
<a name="l00127"></a>00127 
<a name="l00137"></a>00137 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a89bc0053660c9427aa591b5f8cd5e948">get_client_username</a>(<span class="keyword">struct</span> soap *soap, <span class="keywordtype">char</span> *username, <span class="keywordtype">size_t</span> dnlen);
<a name="l00138"></a>00138 
<a name="l00151"></a>00151 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a3ed3dc0e81cea8a740b603bd4a8a16a0">get_delegated_credentials</a>(<span class="keyword">struct</span> soap *soap, <span class="keywordtype">void</span> **buffer, <span class="keywordtype">size_t</span> *length);
<a name="l00152"></a>00152 
<a name="l00161"></a>00161 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#aa4128c2ff83b88611d9809400251ae59">export_delegated_credentials</a>(<span class="keyword">struct</span> soap *soap, <span class="keywordtype">char</span> *filename);
<a name="l00162"></a>00162 
<a name="l00170"></a>00170 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a6d66ce11a6a6c56ae6d9190c1fa6328f">has_delegated_credentials</a>(<span class="keyword">struct</span> soap *soap);
<a name="l00171"></a>00171 
<a name="l00180"></a>00180 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#ac644ce838fb321924248f91ef023d56e">set_default_proxy_file</a>(<span class="keyword">struct</span> soap *soap, <span class="keywordtype">char</span> *filename);
<a name="l00181"></a>00181 
<a name="l00188"></a>00188 <span class="keywordtype">void</span> <a class="code" href="cgsi__plugin_8h.html#a18b5ac49979cbdf0eec298898f2f1525">clear_default_proxy_file</a>(<span class="keywordtype">int</span> unlink_file);
<a name="l00189"></a>00189 
<a name="l00199"></a>00199 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#aeee27e84d63ad2973c73766774771d1c">retrieve_voms_creds</a>(<span class="keyword">struct</span> soap *soap);
<a name="l00200"></a>00200 <span class="keywordtype">int</span> <a class="code" href="cgsi__plugin_8h.html#a40367d9b6350d7450ea68fdd3f73d1d0">retrieve_userca_and_voms_creds</a>(<span class="keyword">struct</span> soap *soap);
<a name="l00201"></a>00201 
<a name="l00210"></a>00210 <span class="keywordtype">char</span> *<a class="code" href="cgsi__plugin_8h.html#a8cf4eb527f2ef6c428ae634098384bb4">get_client_ca</a>(<span class="keyword">struct</span> soap *soap);
<a name="l00211"></a>00211 
<a name="l00220"></a>00220 <span class="keywordtype">char</span> *<a class="code" href="cgsi__plugin_8h.html#acc89acf872026df9280f446c56f9ae5c">get_client_voname</a>(<span class="keyword">struct</span> soap *soap);
<a name="l00221"></a>00221 
<a name="l00232"></a>00232 <span class="keywordtype">char</span> ** <a class="code" href="cgsi__plugin_8h.html#a60ad784721e15bb17bac5c3d9bd89b4e">get_client_roles</a>(<span class="keyword">struct</span> soap *soap, <span class="keywordtype">int</span>* nbfqans);
<a name="l00233"></a>00233 
<a name="l00234"></a>00234 
<a name="l00235"></a>00235 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00236"></a>00236 <span class="preprocessor"></span>}
<a name="l00237"></a>00237 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<i>Copyright &#169; 2004-2009 <A href="http://public.eu-egee.org/">EU-EGEE</A></i></A></i>