File: //usr/local/ssl/share/doc/iscsi-initiator-utils-6.2.0.872/html/libiscsi_8h-source.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libiscsi: libiscsi.h Source File</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.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<h1>libiscsi.h</h1><a href="libiscsi_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"> * iSCSI Administration library</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved.</span>
<a name="l00005"></a>00005 <span class="comment"> * Copyright (C) 2008-2009 Hans de Goede <hdegoede@redhat.com></span>
<a name="l00006"></a>00006 <span class="comment"> * maintained by open-iscsi@googlegroups.com</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
<a name="l00009"></a>00009 <span class="comment"> * it under the terms of the GNU General Public License as published</span>
<a name="l00010"></a>00010 <span class="comment"> * by the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00011"></a>00011 <span class="comment"> * (at your option) any later version.</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * This program is distributed in the hope that it will be useful, but</span>
<a name="l00014"></a>00014 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00015"></a>00015 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
<a name="l00016"></a>00016 <span class="comment"> * General Public License for more details.</span>
<a name="l00017"></a>00017 <span class="comment"> *</span>
<a name="l00018"></a>00018 <span class="comment"> * See the file COPYING included with this distribution for more details.</span>
<a name="l00019"></a>00019 <span class="comment"> */</span>
<a name="l00020"></a>00020
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef __LIBISCSI_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define __LIBISCSI_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 <span class="preprocessor">#include <netdb.h></span>
<a name="l00025"></a>00025
<a name="l00026"></a>00026 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00028"></a>00028 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="preprocessor">#if __GNUC__ >= 4</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define PUBLIC __attribute__ ((visibility("default")))</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00033"></a><a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define PUBLIC</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00040"></a><a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">00040</a> <span class="preprocessor">#define LIBISCSI_VALUE_MAXLEN 256</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00046"></a><a class="code" href="libiscsi_8h.html#1569917ff0eb901be8451de788187e68">00046</a> <span class="keyword">enum</span> <a class="code" href="libiscsi_8h.html#1569917ff0eb901be8451de788187e68">libiscsi_auth_t</a> {
<a name="l00047"></a>00047 <a class="code" href="libiscsi_8h.html#1569917ff0eb901be8451de788187e68a8db2cf58623a0996ebf99767ee91596">libiscsi_auth_none</a> ,
<a name="l00048"></a>00048 <a class="code" href="libiscsi_8h.html#1569917ff0eb901be8451de788187e689173378ffb6f8275ed9fa11e3922b416">libiscsi_auth_chap</a> ,
<a name="l00049"></a>00049 };
<a name="l00050"></a>00050
<a name="l00057"></a>00057 <span class="keyword">struct </span><a class="code" href="structlibiscsi__context.html">libiscsi_context</a>;
<a name="l00058"></a>00058
<a name="l00063"></a><a class="code" href="structlibiscsi__node.html">00063</a> <span class="keyword">struct </span><a class="code" href="structlibiscsi__node.html">libiscsi_node</a> {
<a name="l00064"></a><a class="code" href="structlibiscsi__node.html#44ff8dab68bfc453bd7a2c01179eaa1f">00064</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__node.html#44ff8dab68bfc453bd7a2c01179eaa1f">name</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00065"></a><a class="code" href="structlibiscsi__node.html#86172560af4efb28a6fe05a2824402fb">00065</a> <span class="keywordtype">int</span> <a class="code" href="structlibiscsi__node.html#86172560af4efb28a6fe05a2824402fb">tpgt</a> ;
<a name="l00066"></a>00066 <span class="comment">/* Note open-iscsi has some code in place for multiple connections in one</span>
<a name="l00067"></a>00067 <span class="comment"> node record and thus multiple address / port combi's, but this does not</span>
<a name="l00068"></a>00068 <span class="comment"> get used anywhere, so we keep things simple and assume one connection */</span>
<a name="l00069"></a><a class="code" href="structlibiscsi__node.html#eaa5a2a78161c6c6e32359837825f22d">00069</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__node.html#eaa5a2a78161c6c6e32359837825f22d">address</a>[NI_MAXHOST] ;
<a name="l00070"></a><a class="code" href="structlibiscsi__node.html#221acb47458e278e587825791e43b26e">00070</a> <span class="keywordtype">int</span> <a class="code" href="structlibiscsi__node.html#221acb47458e278e587825791e43b26e">port</a> ;
<a name="l00071"></a><a class="code" href="structlibiscsi__node.html#23f6345c0b2a5402ced0f411b491dca5">00071</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__node.html#23f6345c0b2a5402ced0f411b491dca5">iface</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00072"></a>00072 };
<a name="l00073"></a>00073
<a name="l00080"></a><a class="code" href="structlibiscsi__chap__auth__info.html">00080</a> <span class="keyword">struct </span><a class="code" href="structlibiscsi__chap__auth__info.html">libiscsi_chap_auth_info</a> {
<a name="l00081"></a><a class="code" href="structlibiscsi__chap__auth__info.html#1f94215c226f0a48726de3f972545b81">00081</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__chap__auth__info.html#1f94215c226f0a48726de3f972545b81">username</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00082"></a><a class="code" href="structlibiscsi__chap__auth__info.html#554585c29e51ab79cbc6464c93505225">00082</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__chap__auth__info.html#554585c29e51ab79cbc6464c93505225">password</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00083"></a><a class="code" href="structlibiscsi__chap__auth__info.html#8415d9ed04515837e320975103f8e391">00083</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__chap__auth__info.html#8415d9ed04515837e320975103f8e391">reverse_username</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00084"></a><a class="code" href="structlibiscsi__chap__auth__info.html#dffe2aa65ea1856143ff274b9d8abfea">00084</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__chap__auth__info.html#dffe2aa65ea1856143ff274b9d8abfea">reverse_password</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00085"></a>00085 };
<a name="l00086"></a>00086
<a name="l00091"></a><a class="code" href="structlibiscsi__auth__info.html">00091</a> <span class="keyword">struct </span><a class="code" href="structlibiscsi__auth__info.html">libiscsi_auth_info</a> {
<a name="l00092"></a><a class="code" href="structlibiscsi__auth__info.html#4a7105959979ae9ab6a6aa85bd422afd">00092</a> <span class="keyword">enum</span> <a class="code" href="libiscsi_8h.html#1569917ff0eb901be8451de788187e68">libiscsi_auth_t</a> <a class="code" href="structlibiscsi__auth__info.html#4a7105959979ae9ab6a6aa85bd422afd">method</a> ;
<a name="l00093"></a>00093 <span class="keyword">union </span>{
<a name="l00094"></a><a class="code" href="structlibiscsi__auth__info.html#cbfa8ec9651998e13d90f7bf52e97771">00094</a> <span class="keyword">struct </span><a class="code" href="structlibiscsi__chap__auth__info.html">libiscsi_chap_auth_info</a> <a class="code" href="structlibiscsi__auth__info.html#cbfa8ec9651998e13d90f7bf52e97771">chap</a> ;
<a name="l00095"></a>00095 } ;
<a name="l00096"></a>00096 };
<a name="l00097"></a>00097
<a name="l00105"></a>00105 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keyword">struct </span><a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *<a class="code" href="libiscsi_8c.html#445394ab126d6c3328ae34ef78d3f6d0">libiscsi_init</a>(<span class="keywordtype">void</span>);
<a name="l00106"></a>00106
<a name="l00114"></a>00114 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">void</span> <a class="code" href="libiscsi_8c.html#9d2b1b8ba09ca74c6c7a5311d637f829">libiscsi_cleanup</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context);
<a name="l00115"></a>00115
<a name="l00141"></a>00141 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#f3dcb0852e9da016f0352b6002137463">libiscsi_discover_sendtargets</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00142"></a>00142 <span class="keyword">const</span> <span class="keywordtype">char</span> *address, <span class="keywordtype">int</span> port, <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__auth__info.html">libiscsi_auth_info</a> *auth_info,
<a name="l00143"></a>00143 <span class="keywordtype">int</span> *nr_found, <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> **found_nodes);
<a name="l00144"></a>00144
<a name="l00167"></a>00167 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#fd9f4c7c8c097f05ab6982ae8bd942ce">libiscsi_discover_firmware</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00168"></a>00168 <span class="keywordtype">int</span> *nr_found, <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> **found_nodes);
<a name="l00169"></a>00169
<a name="l00181"></a>00181 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#8adbb4164d909b07b3dcf5c1a367392d">libiscsi_verify_auth_info</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00182"></a>00182 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__auth__info.html">libiscsi_auth_info</a> *auth_info);
<a name="l00183"></a>00183
<a name="l00207"></a>00207 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#2930d5f297273eec724b566b29b3a078">libiscsi_node_set_auth</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00208"></a>00208 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> *node,
<a name="l00209"></a>00209 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__auth__info.html">libiscsi_auth_info</a> *auth_info);
<a name="l00210"></a>00210
<a name="l00223"></a>00223 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#3958a47dd31da4ecd4f1023fc19a473f">libiscsi_node_get_auth</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00224"></a>00224 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> *node,
<a name="l00225"></a>00225 <span class="keyword">struct</span> <a class="code" href="structlibiscsi__auth__info.html">libiscsi_auth_info</a> *auth_info);
<a name="l00226"></a>00226
<a name="l00236"></a>00236 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#561e4467983fd6fb5e226873e11b69fb">libiscsi_node_login</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00237"></a>00237 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> *node);
<a name="l00238"></a>00238
<a name="l00248"></a>00248 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#40097386b06bafded1c874c48f42d2ac">libiscsi_node_logout</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00249"></a>00249 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> *node);
<a name="l00250"></a>00250
<a name="l00262"></a>00262 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#18c82fc8f55f3ff26f3af504adb408be">libiscsi_node_set_parameter</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00263"></a>00263 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> *node,
<a name="l00264"></a>00264 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structlibiscsi__context.html#e35b51c61b2f2fcf20f2208a7e6cde02">parameter</a>, <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structlibiscsi__context.html#7d22f4f64b4609fcc2c687dfd451bf5c">value</a>);
<a name="l00265"></a>00265
<a name="l00278"></a>00278 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#17872ee5f6051e93a4ebdf541ff4ee46">libiscsi_node_get_parameter</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context,
<a name="l00279"></a>00279 <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structlibiscsi__node.html">libiscsi_node</a> *node, <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structlibiscsi__context.html#e35b51c61b2f2fcf20f2208a7e6cde02">parameter</a>, <span class="keywordtype">char</span> *<a class="code" href="structlibiscsi__context.html#7d22f4f64b4609fcc2c687dfd451bf5c">value</a>);
<a name="l00280"></a>00280
<a name="l00292"></a>00292 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="libiscsi_8c.html#37a48989820ff053ec5934076df5e5f9">libiscsi_get_error_string</a>(<span class="keyword">struct</span> <a class="code" href="structlibiscsi__context.html">libiscsi_context</a> *context);
<a name="l00293"></a>00293
<a name="l00294"></a>00294
<a name="l00295"></a>00295 <span class="comment">/************************** Utility functions *******************************/</span>
<a name="l00296"></a>00296
<a name="l00301"></a><a class="code" href="structlibiscsi__network__config.html">00301</a> <span class="keyword">struct </span><a class="code" href="structlibiscsi__network__config.html">libiscsi_network_config</a> {
<a name="l00302"></a><a class="code" href="structlibiscsi__network__config.html#d2fde4c1260989a0a4dcf65193ce8f19">00302</a> <span class="keywordtype">int</span> <a class="code" href="structlibiscsi__network__config.html#d2fde4c1260989a0a4dcf65193ce8f19">dhcp</a> ;
<a name="l00303"></a><a class="code" href="structlibiscsi__network__config.html#e33ac1b10076516f9b3a9e7f349ee04d">00303</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__network__config.html#e33ac1b10076516f9b3a9e7f349ee04d">iface_name</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00304"></a><a class="code" href="structlibiscsi__network__config.html#c238d1da2fb219f7befdb6c9b6727b7a">00304</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__network__config.html#c238d1da2fb219f7befdb6c9b6727b7a">mac_address</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00305"></a><a class="code" href="structlibiscsi__network__config.html#133bd39a68af763128a9069f9c0a90b7">00305</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__network__config.html#133bd39a68af763128a9069f9c0a90b7">ip_address</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00306"></a><a class="code" href="structlibiscsi__network__config.html#7621534622cb499d5951e151fb99846c">00306</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__network__config.html#7621534622cb499d5951e151fb99846c">netmask</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00307"></a><a class="code" href="structlibiscsi__network__config.html#e8c12f7d8dd2540625e2e4ccbc47bb98">00307</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__network__config.html#e8c12f7d8dd2540625e2e4ccbc47bb98">gateway</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00308"></a><a class="code" href="structlibiscsi__network__config.html#ae1a6f134f7ba28929975e5d6156da19">00308</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__network__config.html#ae1a6f134f7ba28929975e5d6156da19">primary_dns</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00309"></a><a class="code" href="structlibiscsi__network__config.html#fdca77ef9805a5c113cca16e7a2eb8ef">00309</a> <span class="keywordtype">char</span> <a class="code" href="structlibiscsi__network__config.html#fdca77ef9805a5c113cca16e7a2eb8ef">secondary_dns</a>[<a class="code" href="libiscsi_8h.html#09e26412bd8a6745b8d373ee9bc1f088">LIBISCSI_VALUE_MAXLEN</a>] ;
<a name="l00310"></a>00310 };
<a name="l00311"></a>00311
<a name="l00325"></a>00325 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#c7737610cd9da7f9c29aaf53289fd0b4">libiscsi_get_firmware_network_config</a>(
<a name="l00326"></a>00326 <span class="keyword">struct</span> <a class="code" href="structlibiscsi__network__config.html">libiscsi_network_config</a> *config);
<a name="l00327"></a>00327
<a name="l00336"></a>00336 <a class="code" href="libiscsi_8h.html#1072be45312b6c6f1819733c05a37bd6">PUBLIC</a> <span class="keywordtype">int</span> <a class="code" href="libiscsi_8c.html#e06cae91d021e5dadc64be2e94580eaa">libiscsi_get_firmware_initiator_name</a>(<span class="keywordtype">char</span> *initiatorname);
<a name="l00337"></a>00337
<a name="l00338"></a>00338 <span class="preprocessor">#undef PUBLIC</span>
<a name="l00339"></a>00339 <span class="preprocessor"></span>
<a name="l00340"></a>00340 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00341"></a>00341 <span class="preprocessor"></span>}
<a name="l00342"></a>00342 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
<a name="l00343"></a>00343
<a name="l00344"></a>00344 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Jan 9 06:06:16 2013 for libiscsi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>