Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 29c369053a983cc5d8c880dc6e0a2237 > files > 1716

libdtn-devel-2.6.0-2mdv2009.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>DTN Reference Implementation: dtn_types.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.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>dtn_types.h</h1><a href="dtn__types_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"> * Please do not edit this file.</span>
<a name="l00003"></a>00003 <span class="comment"> * It was generated using rpcgen.</span>
<a name="l00004"></a>00004 <span class="comment"> */</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="preprocessor">#ifndef _DTN_TYPES_H_RPCGEN</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define _DTN_TYPES_H_RPCGEN</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;rpc/rpc.h&gt;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00014"></a>00014 <span class="preprocessor">#endif</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00016"></a>00016 <span class="comment">/*</span>
<a name="l00017"></a>00017 <span class="comment"> *    Copyright 2004-2006 Intel Corporation</span>
<a name="l00018"></a>00018 <span class="comment"> * </span>
<a name="l00019"></a>00019 <span class="comment"> *    Licensed under the Apache License, Version 2.0 (the "License");</span>
<a name="l00020"></a>00020 <span class="comment"> *    you may not use this file except in compliance with the License.</span>
<a name="l00021"></a>00021 <span class="comment"> *    You may obtain a copy of the License at</span>
<a name="l00022"></a>00022 <span class="comment"> * </span>
<a name="l00023"></a>00023 <span class="comment"> *        http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00024"></a>00024 <span class="comment"> * </span>
<a name="l00025"></a>00025 <span class="comment"> *    Unless required by applicable law or agreed to in writing, software</span>
<a name="l00026"></a>00026 <span class="comment"> *    distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00027"></a>00027 <span class="comment"> *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00028"></a>00028 <span class="comment"> *    See the License for the specific language governing permissions and</span>
<a name="l00029"></a>00029 <span class="comment"> *    limitations under the License.</span>
<a name="l00030"></a>00030 <span class="comment">*/</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="comment">/**********************************</span>
<a name="l00033"></a>00033 <span class="comment"> * This file defines the types used in the DTN client API. The structures are</span>
<a name="l00034"></a>00034 <span class="comment"> * autogenerated using rpcgen, as are the marshalling and unmarshalling</span>
<a name="l00035"></a>00035 <span class="comment"> * XDR routines.</span>
<a name="l00036"></a>00036 <span class="comment"> */</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="preprocessor">#include &lt;limits.h&gt;</span>
<a name="l00039"></a>00039 <span class="preprocessor">#ifndef ARG_MAX</span>
<a name="l00040"></a><a class="code" href="dtn__types_8h.html#7dd33d4d7fdd2221a03ce948d7419424">00040</a> <span class="preprocessor"></span><span class="preprocessor">#define ARG_MAX _POSIX_ARG_MAX</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a>00043 <span class="comment">/**********************************</span>
<a name="l00044"></a>00044 <span class="comment"> * Constants.</span>
<a name="l00045"></a>00045 <span class="comment"> * (Note that we use #defines to get the comments as well)</span>
<a name="l00046"></a>00046 <span class="comment"> */</span>
<a name="l00047"></a><a class="code" href="dtn__types_8h.html#20ab5e3c8f53edfd21543ca9cb49d20e">00047</a> <span class="preprocessor">#define DTN_MAX_ENDPOINT_ID 256 </span><span class="comment">/* max endpoint_id size (bytes) */</span>
<a name="l00048"></a><a class="code" href="dtn__types_8h.html#1855d766ef3185867d66dccdf99a5796">00048</a> <span class="preprocessor">#define DTN_MAX_PATH_LEN PATH_MAX </span><span class="comment">/* max path length */</span>
<a name="l00049"></a><a class="code" href="dtn__types_8h.html#d52735e838d0b7e798a59608b1881715">00049</a> <span class="preprocessor">#define DTN_MAX_EXEC_LEN ARG_MAX </span><span class="comment">/* length of string passed to exec() */</span>
<a name="l00050"></a><a class="code" href="dtn__types_8h.html#0d65b1194118265cac6d04e1d4507524">00050</a> <span class="preprocessor">#define DTN_MAX_AUTHDATA 1024 </span><span class="comment">/* length of auth/security data*/</span>
<a name="l00051"></a><a class="code" href="dtn__types_8h.html#6999b235fc6641480405869f7238d9fb">00051</a> <span class="preprocessor">#define DTN_MAX_REGION_LEN 64 </span><span class="comment">/* 64 chars "should" be long enough */</span>
<a name="l00052"></a><a class="code" href="dtn__types_8h.html#35e670e5d1e8d12cc3c644b748fbef31">00052</a> <span class="preprocessor">#define DTN_MAX_BUNDLE_MEM 50000 </span><span class="comment">/* biggest in-memory bundle is ~50K*/</span>
<a name="l00053"></a><a class="code" href="dtn__types_8h.html#af4c8a1951858b842152bf0f0626faa8">00053</a> <span class="preprocessor">#define DTN_MAX_BLOCK_LEN 1024 </span><span class="comment">/* length of block data (currently 1K) */</span>
<a name="l00054"></a><a class="code" href="dtn__types_8h.html#9dbc1fc05a5bfdf820423f78881ce02d">00054</a> <span class="preprocessor">#define DTN_MAX_BLOCKS 256 </span><span class="comment">/* number of blocks in bundle */</span>
<a name="l00055"></a>00055 
<a name="l00065"></a><a class="code" href="structdtn__endpoint__id__t.html">00065</a> <span class="keyword">struct </span><a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a> {
<a name="l00066"></a><a class="code" href="structdtn__endpoint__id__t.html#d2e7d5788ae778c77b4041f1f8b1dc80">00066</a>         <span class="keywordtype">char</span> <a class="code" href="structdtn__endpoint__id__t.html#d2e7d5788ae778c77b4041f1f8b1dc80">uri</a>[<a class="code" href="dtn__types_8h.html#20ab5e3c8f53edfd21543ca9cb49d20e">DTN_MAX_ENDPOINT_ID</a>];
<a name="l00067"></a>00067 };
<a name="l00068"></a><a class="code" href="dtn__types_8h.html#650496785a0ea45f862966c1b377cdf7">00068</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a> <a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a>;
<a name="l00069"></a>00069 
<a name="l00074"></a><a class="code" href="dtn__types_8h.html#d9378ff6ab7ee699568e037a8105f9b6">00074</a> <span class="keyword">typedef</span> u_int <a class="code" href="dtn__types_8h.html#d9378ff6ab7ee699568e037a8105f9b6" title="A registration cookie.">dtn_reg_id_t</a>;
<a name="l00075"></a>00075 
<a name="l00080"></a><a class="code" href="dtn__types_8h.html#8865a20f2e713bb38e35736e32e1653c">00080</a> <span class="keyword">typedef</span> u_int <a class="code" href="dtn__types_8h.html#8865a20f2e713bb38e35736e32e1653c" title="DTN timeouts are specified in seconds.">dtn_timeval_t</a>;
<a name="l00081"></a>00081 
<a name="l00085"></a><a class="code" href="dtn__types_8h.html#3a0e6ca40c3771f6174cb4e15cff7903">00085</a> <span class="preprocessor">#define DTN_TIMEOUT_INF ((dtn_timeval_t)-1)</span>
<a name="l00086"></a>00086 <span class="preprocessor"></span>
<a name="l00087"></a><a class="code" href="structdtn__timestamp__t.html">00087</a> <span class="keyword">struct </span><a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> {
<a name="l00088"></a><a class="code" href="structdtn__timestamp__t.html#68d91d87e4f7e4d1c17b68338331609b">00088</a>         u_int <a class="code" href="structdtn__timestamp__t.html#68d91d87e4f7e4d1c17b68338331609b">secs</a>;
<a name="l00089"></a><a class="code" href="structdtn__timestamp__t.html#406e2588feaa0826c76526e872347fd5">00089</a>         u_int <a class="code" href="structdtn__timestamp__t.html#406e2588feaa0826c76526e872347fd5">seqno</a>;
<a name="l00090"></a>00090 };
<a name="l00091"></a><a class="code" href="dtn__types_8h.html#7b2c826850f0ee35df39ff86ab07d6e3">00091</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a>;
<a name="l00092"></a>00092 
<a name="l00102"></a><a class="code" href="structdtn__service__tag__t.html">00102</a> <span class="keyword">struct </span><a class="code" href="structdtn__service__tag__t.html" title="Specification of a service tag used in building a local endpoint identifier.">dtn_service_tag_t</a> {
<a name="l00103"></a><a class="code" href="structdtn__service__tag__t.html#63652556ffb523aed8804d87fa99eb58">00103</a>         <span class="keywordtype">char</span> <a class="code" href="structdtn__service__tag__t.html#63652556ffb523aed8804d87fa99eb58">tag</a>[<a class="code" href="dtn__types_8h.html#20ab5e3c8f53edfd21543ca9cb49d20e">DTN_MAX_ENDPOINT_ID</a>];
<a name="l00104"></a>00104 };
<a name="l00105"></a><a class="code" href="dtn__types_8h.html#1c9513169fc783df4edaa60dc54956aa">00105</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__service__tag__t.html" title="Specification of a service tag used in building a local endpoint identifier.">dtn_service_tag_t</a> <a class="code" href="structdtn__service__tag__t.html" title="Specification of a service tag used in building a local endpoint identifier.">dtn_service_tag_t</a>;
<a name="l00106"></a>00106 
<a name="l00111"></a><a class="code" href="dtn__types_8h.html#f96cd9cebfff24e37ccececf05ebb4e6">00111</a> <span class="preprocessor">#define DTN_REGID_NONE 0</span>
<a name="l00112"></a>00112 <span class="preprocessor"></span>
<a name="l00127"></a><a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00">00127</a> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00" title="Registration flags are a bitmask of the following:.">dtn_reg_flags_t</a> {
<a name="l00128"></a><a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f0067a5f773775540e3dbe22a87105d571e">00128</a>         <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f0067a5f773775540e3dbe22a87105d571e">DTN_REG_DROP</a> = 1,
<a name="l00129"></a><a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00d21fdf39ccc69d6790aec0c70ce5f972">00129</a>         <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00d21fdf39ccc69d6790aec0c70ce5f972">DTN_REG_DEFER</a> = 2,
<a name="l00130"></a><a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00f0a80ca0e5203c09e1634a4a791be4bd">00130</a>         <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00f0a80ca0e5203c09e1634a4a791be4bd">DTN_REG_EXEC</a> = 3,
<a name="l00131"></a><a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00739f876353ef5e8cff7b56e4cb8ad8af">00131</a>         <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00739f876353ef5e8cff7b56e4cb8ad8af">DTN_SESSION_CUSTODY</a> = 4,
<a name="l00132"></a><a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f000b1aebf4fb3e0186630c9cd5a702538a">00132</a>         <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f000b1aebf4fb3e0186630c9cd5a702538a">DTN_SESSION_PUBLISH</a> = 8,
<a name="l00133"></a><a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f003c2e2090965814efabe47f3f2a358e33">00133</a>         <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f003c2e2090965814efabe47f3f2a358e33">DTN_SESSION_SUBSCRIBE</a> = 16,
<a name="l00134"></a>00134 };
<a name="l00135"></a><a class="code" href="dtn__types_8h.html#f1bc4b41ed6754a02a6914d823ef4587">00135</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00" title="Registration flags are a bitmask of the following:.">dtn_reg_flags_t</a> <a class="code" href="dtn__types_8h.html#a6d0071f396dd4ef85f6ad6332e37f00" title="Registration flags are a bitmask of the following:.">dtn_reg_flags_t</a>;
<a name="l00136"></a>00136 
<a name="l00141"></a><a class="code" href="structdtn__reg__info__t.html">00141</a> <span class="keyword">struct </span><a class="code" href="structdtn__reg__info__t.html" title="Registration state.">dtn_reg_info_t</a> {
<a name="l00142"></a><a class="code" href="structdtn__reg__info__t.html#07df1822e2808b2127710a8b54acd07f">00142</a>         <a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a> <a class="code" href="structdtn__reg__info__t.html#07df1822e2808b2127710a8b54acd07f">endpoint</a>;
<a name="l00143"></a><a class="code" href="structdtn__reg__info__t.html#6909a69cc63e748899cf4f9fe8c8901a">00143</a>         dtn_reg_id_t <a class="code" href="structdtn__reg__info__t.html#6909a69cc63e748899cf4f9fe8c8901a">regid</a>;
<a name="l00144"></a><a class="code" href="structdtn__reg__info__t.html#7bf2e33b713b585bfe1792c40fa8cd6c">00144</a>         u_int <a class="code" href="structdtn__reg__info__t.html#7bf2e33b713b585bfe1792c40fa8cd6c">flags</a>;
<a name="l00145"></a><a class="code" href="structdtn__reg__info__t.html#dd4b3b0c9f27a0375369f35e33be686d">00145</a>         dtn_timeval_t <a class="code" href="structdtn__reg__info__t.html#dd4b3b0c9f27a0375369f35e33be686d">expiration</a>;
<a name="l00146"></a><a class="code" href="structdtn__reg__info__t.html#17c5d8fc3b9e0fd57f9b53b14f378972">00146</a>         bool_t <a class="code" href="structdtn__reg__info__t.html#17c5d8fc3b9e0fd57f9b53b14f378972">init_passive</a>;
<a name="l00147"></a>00147         <span class="keyword">struct </span>{
<a name="l00148"></a><a class="code" href="structdtn__reg__info__t.html#55559baa7cd2a77d47acb0d8d7ec605e">00148</a>                 u_int <a class="code" href="structdtn__reg__info__t.html#55559baa7cd2a77d47acb0d8d7ec605e">script_len</a>;
<a name="l00149"></a><a class="code" href="structdtn__reg__info__t.html#955d21cc11baecb73d38334760dca563">00149</a>                 <span class="keywordtype">char</span> *<a class="code" href="structdtn__reg__info__t.html#955d21cc11baecb73d38334760dca563">script_val</a>;
<a name="l00150"></a>00150         } <a class="code" href="structdtn__reg__info__t.html#1c7477bce582e37e52304e28993c49a7">script</a>;
<a name="l00151"></a>00151 };
<a name="l00152"></a><a class="code" href="dtn__types_8h.html#8dc2af032240885c135a9a0ad0b6dd2f">00152</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__reg__info__t.html" title="Registration state.">dtn_reg_info_t</a> <a class="code" href="structdtn__reg__info__t.html" title="Registration state.">dtn_reg_info_t</a>;
<a name="l00153"></a>00153 
<a name="l00162"></a><a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0">00162</a> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0" title="Bundle priority specifier.">dtn_bundle_priority_t</a> {
<a name="l00163"></a><a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e06779af0a27e4d14a809e52f4810cdddb">00163</a>         <a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e06779af0a27e4d14a809e52f4810cdddb">COS_BULK</a> = 0,
<a name="l00164"></a><a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0f5a0479d0c742791ecd3827d8bf82bfc">00164</a>         <a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0f5a0479d0c742791ecd3827d8bf82bfc">COS_NORMAL</a> = 1,
<a name="l00165"></a><a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0c926b03ca05898bf8c5d655c29d82935">00165</a>         <a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0c926b03ca05898bf8c5d655c29d82935">COS_EXPEDITED</a> = 2,
<a name="l00166"></a><a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0019a5adb66c82e1816a9fee6a45939f6">00166</a>         <a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0019a5adb66c82e1816a9fee6a45939f6">COS_RESERVED</a> = 3,
<a name="l00167"></a>00167 };
<a name="l00168"></a><a class="code" href="dtn__types_8h.html#0075a9336fa42b9027dcc3a884fd0450">00168</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0" title="Bundle priority specifier.">dtn_bundle_priority_t</a> <a class="code" href="dtn__types_8h.html#993858e35739619750a07d5dc1c275e0" title="Bundle priority specifier.">dtn_bundle_priority_t</a>;
<a name="l00169"></a>00169 
<a name="l00186"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000">00186</a> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000" title="Bundle delivery option flags.">dtn_bundle_delivery_opts_t</a> {
<a name="l00187"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000cb6b7eb0422ee4f6c87a4c1dd3cecee5">00187</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000cb6b7eb0422ee4f6c87a4c1dd3cecee5">DOPTS_NONE</a> = 0,
<a name="l00188"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000cf365df7de1d4ff463456b4adbafaf0c">00188</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000cf365df7de1d4ff463456b4adbafaf0c">DOPTS_CUSTODY</a> = 1,
<a name="l00189"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000961c42551cde98aaccb2272d32f0a06c">00189</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000961c42551cde98aaccb2272d32f0a06c">DOPTS_DELIVERY_RCPT</a> = 2,
<a name="l00190"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f0001240065bb26608579eedd4b022f3397f">00190</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f0001240065bb26608579eedd4b022f3397f">DOPTS_RECEIVE_RCPT</a> = 4,
<a name="l00191"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000f1140b2789c648d104e6ec8a78bc3cea">00191</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000f1140b2789c648d104e6ec8a78bc3cea">DOPTS_FORWARD_RCPT</a> = 8,
<a name="l00192"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000df337d9033e6091548861d7197ea1ae1">00192</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000df337d9033e6091548861d7197ea1ae1">DOPTS_CUSTODY_RCPT</a> = 16,
<a name="l00193"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000649fe8cc9d73bd2d36f2da1f322fa0c2">00193</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000649fe8cc9d73bd2d36f2da1f322fa0c2">DOPTS_DELETE_RCPT</a> = 32,
<a name="l00194"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f00042ca1f06713b276573b676f296c7c7de">00194</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f00042ca1f06713b276573b676f296c7c7de">DOPTS_SINGLETON_DEST</a> = 64,
<a name="l00195"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f0009f7df92dc460cb5dbf1e59a342ce0be7">00195</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f0009f7df92dc460cb5dbf1e59a342ce0be7">DOPTS_MULTINODE_DEST</a> = 128,
<a name="l00196"></a><a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000d479de6d9c2a9798ef1c90f1226c691c">00196</a>         <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000d479de6d9c2a9798ef1c90f1226c691c">DOPTS_DO_NOT_FRAGMENT</a> = 256,
<a name="l00197"></a>00197 };
<a name="l00198"></a><a class="code" href="dtn__types_8h.html#921de445aa3d3e4137cf91a036ff5f6f">00198</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000" title="Bundle delivery option flags.">dtn_bundle_delivery_opts_t</a> <a class="code" href="dtn__types_8h.html#ed7af5cc4e44a2ced1acdee4e441f000" title="Bundle delivery option flags.">dtn_bundle_delivery_opts_t</a>;
<a name="l00199"></a>00199 
<a name="l00213"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96">00213</a> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96" title="Extension block flags.">dtn_extension_block_flags_t</a> {
<a name="l00214"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b962a7e6b71249af642a0b68bff471471f1">00214</a>         <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b962a7e6b71249af642a0b68bff471471f1">BLOCK_FLAG_NONE</a> = 0,
<a name="l00215"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96581853bc8e15e777af555dcf10df5083">00215</a>         <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96581853bc8e15e777af555dcf10df5083">BLOCK_FLAG_REPLICATE</a> = 1,
<a name="l00216"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96b0926960ad2662ae12f200699d044e94">00216</a>         <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96b0926960ad2662ae12f200699d044e94">BLOCK_FLAG_REPORT</a> = 2,
<a name="l00217"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b9683be266a53076773853dd779b8034d3b">00217</a>         <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b9683be266a53076773853dd779b8034d3b">BLOCK_FLAG_DELETE_BUNDLE</a> = 4,
<a name="l00218"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b965b15aa42ad2f2ea743661b4a7b4e953d">00218</a>         <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b965b15aa42ad2f2ea743661b4a7b4e953d">BLOCK_FLAG_LAST</a> = 8,
<a name="l00219"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b9689061cc842a877f7dc68880ed33ef7fa">00219</a>         <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b9689061cc842a877f7dc68880ed33ef7fa">BLOCK_FLAG_DISCARD_BLOCK</a> = 16,
<a name="l00220"></a><a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96dcdb1d74f9ff24b8e591699630834cc4">00220</a>         <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96dcdb1d74f9ff24b8e591699630834cc4">BLOCK_FLAG_UNPROCESSED</a> = 32,
<a name="l00221"></a>00221 };
<a name="l00222"></a><a class="code" href="dtn__types_8h.html#529f9fb588246018512b613b275a2259">00222</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96" title="Extension block flags.">dtn_extension_block_flags_t</a> <a class="code" href="dtn__types_8h.html#64de8fae8623c4133cc1c88eae9c7b96" title="Extension block flags.">dtn_extension_block_flags_t</a>;
<a name="l00223"></a>00223 
<a name="l00228"></a><a class="code" href="structdtn__extension__block__t.html">00228</a> <span class="keyword">struct </span><a class="code" href="structdtn__extension__block__t.html" title="Extension block.">dtn_extension_block_t</a> {
<a name="l00229"></a><a class="code" href="structdtn__extension__block__t.html#9ac2b2982467cb09a318b6ddff15c277">00229</a>         u_int <a class="code" href="structdtn__extension__block__t.html#9ac2b2982467cb09a318b6ddff15c277">type</a>;
<a name="l00230"></a><a class="code" href="structdtn__extension__block__t.html#159ebefbde5821997852b0c0ffdfcf40">00230</a>         u_int <a class="code" href="structdtn__extension__block__t.html#159ebefbde5821997852b0c0ffdfcf40">flags</a>;
<a name="l00231"></a>00231         <span class="keyword">struct </span>{
<a name="l00232"></a><a class="code" href="structdtn__extension__block__t.html#4d068ab3029931cddd110013ae3c8cd3">00232</a>                 u_int <a class="code" href="structdtn__extension__block__t.html#4d068ab3029931cddd110013ae3c8cd3">data_len</a>;
<a name="l00233"></a><a class="code" href="structdtn__extension__block__t.html#cd95216754ff5f457ae6c66be0e1df98">00233</a>                 <span class="keywordtype">char</span> *<a class="code" href="structdtn__extension__block__t.html#cd95216754ff5f457ae6c66be0e1df98">data_val</a>;
<a name="l00234"></a>00234         } <a class="code" href="structdtn__extension__block__t.html#d8fbf518570b1b1983f4959671bb8a1c">data</a>;
<a name="l00235"></a>00235 };
<a name="l00236"></a><a class="code" href="dtn__types_8h.html#964f385481380b851d4476244dac94a2">00236</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__extension__block__t.html" title="Extension block.">dtn_extension_block_t</a> <a class="code" href="structdtn__extension__block__t.html" title="Extension block.">dtn_extension_block_t</a>;
<a name="l00237"></a>00237 
<a name="l00245"></a><a class="code" href="structdtn__sequence__id__t.html">00245</a> <span class="keyword">struct </span><a class="code" href="structdtn__sequence__id__t.html" title="A Sequence ID is a vector of (EID, counter) values in the following text format:...">dtn_sequence_id_t</a> {
<a name="l00246"></a>00246         <span class="keyword">struct </span>{
<a name="l00247"></a><a class="code" href="structdtn__sequence__id__t.html#7ea9c5585efae94220749c79f41080d7">00247</a>                 u_int <a class="code" href="structdtn__sequence__id__t.html#7ea9c5585efae94220749c79f41080d7">data_len</a>;
<a name="l00248"></a><a class="code" href="structdtn__sequence__id__t.html#aaf2850ca5853b9b1bca2791d16e969a">00248</a>                 <span class="keywordtype">char</span> *<a class="code" href="structdtn__sequence__id__t.html#aaf2850ca5853b9b1bca2791d16e969a">data_val</a>;
<a name="l00249"></a>00249         } <a class="code" href="structdtn__sequence__id__t.html#bdbb1a6df2afea41dccb74f4ea8bbadc">data</a>;
<a name="l00250"></a>00250 };
<a name="l00251"></a><a class="code" href="dtn__types_8h.html#6a1bd87258e94624686c537a440d9933">00251</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__sequence__id__t.html" title="A Sequence ID is a vector of (EID, counter) values in the following text format:...">dtn_sequence_id_t</a> <a class="code" href="structdtn__sequence__id__t.html" title="A Sequence ID is a vector of (EID, counter) values in the following text format:...">dtn_sequence_id_t</a>;
<a name="l00252"></a>00252 
<a name="l00259"></a><a class="code" href="structdtn__bundle__spec__t.html">00259</a> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__spec__t.html" title="Bundle metadata.">dtn_bundle_spec_t</a> {
<a name="l00260"></a><a class="code" href="structdtn__bundle__spec__t.html#3e0a3530457d11bea38b06d00dea30fa">00260</a>         <a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a> <a class="code" href="structdtn__bundle__spec__t.html#3e0a3530457d11bea38b06d00dea30fa">source</a>;
<a name="l00261"></a><a class="code" href="structdtn__bundle__spec__t.html#8c2816b3ce9b92489b3b34c325a4cb4c">00261</a>         <a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a> <a class="code" href="structdtn__bundle__spec__t.html#8c2816b3ce9b92489b3b34c325a4cb4c">dest</a>;
<a name="l00262"></a><a class="code" href="structdtn__bundle__spec__t.html#f76b43d28b76b155d48df0abe82c6913">00262</a>         <a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a> <a class="code" href="structdtn__bundle__spec__t.html#f76b43d28b76b155d48df0abe82c6913">replyto</a>;
<a name="l00263"></a><a class="code" href="structdtn__bundle__spec__t.html#f44519876b50a9f0b0eb242bea1ed158">00263</a>         dtn_bundle_priority_t <a class="code" href="structdtn__bundle__spec__t.html#f44519876b50a9f0b0eb242bea1ed158">priority</a>;
<a name="l00264"></a><a class="code" href="structdtn__bundle__spec__t.html#476482803410f3a19b40cbff91e1e56c">00264</a>         <span class="keywordtype">int</span> <a class="code" href="structdtn__bundle__spec__t.html#476482803410f3a19b40cbff91e1e56c">dopts</a>;
<a name="l00265"></a><a class="code" href="structdtn__bundle__spec__t.html#57f2d6068db6a5b38a73416ea721e814">00265</a>         dtn_timeval_t <a class="code" href="structdtn__bundle__spec__t.html#57f2d6068db6a5b38a73416ea721e814">expiration</a>;
<a name="l00266"></a><a class="code" href="structdtn__bundle__spec__t.html#5289539985d68cbbac8ff80d18b0170e">00266</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__spec__t.html#5289539985d68cbbac8ff80d18b0170e">creation_ts</a>;
<a name="l00267"></a><a class="code" href="structdtn__bundle__spec__t.html#ec17bbdc51eeb06b8097a62369eef9ab">00267</a>         dtn_reg_id_t <a class="code" href="structdtn__bundle__spec__t.html#ec17bbdc51eeb06b8097a62369eef9ab">delivery_regid</a>;
<a name="l00268"></a><a class="code" href="structdtn__bundle__spec__t.html#60a24eed29224ad842136b87241108b7">00268</a>         <a class="code" href="structdtn__sequence__id__t.html" title="A Sequence ID is a vector of (EID, counter) values in the following text format:...">dtn_sequence_id_t</a> <a class="code" href="structdtn__bundle__spec__t.html#60a24eed29224ad842136b87241108b7">sequence_id</a>;
<a name="l00269"></a><a class="code" href="structdtn__bundle__spec__t.html#a3239046abcbbb355b8b3d136769078a">00269</a>         <a class="code" href="structdtn__sequence__id__t.html" title="A Sequence ID is a vector of (EID, counter) values in the following text format:...">dtn_sequence_id_t</a> <a class="code" href="structdtn__bundle__spec__t.html#a3239046abcbbb355b8b3d136769078a">obsoletes_id</a>;
<a name="l00270"></a>00270         <span class="keyword">struct </span>{
<a name="l00271"></a><a class="code" href="structdtn__bundle__spec__t.html#c9fecf5ff8b72cca1a31bde62fa53dcf">00271</a>                 u_int <a class="code" href="structdtn__bundle__spec__t.html#c9fecf5ff8b72cca1a31bde62fa53dcf">blocks_len</a>;
<a name="l00272"></a><a class="code" href="structdtn__bundle__spec__t.html#7165123249010765be66ab32137e88ba">00272</a>                 <a class="code" href="structdtn__extension__block__t.html" title="Extension block.">dtn_extension_block_t</a> *<a class="code" href="structdtn__bundle__spec__t.html#7165123249010765be66ab32137e88ba">blocks_val</a>;
<a name="l00273"></a>00273         } <a class="code" href="structdtn__bundle__spec__t.html#303dc16abb2318a93f67cf629fac17f9">blocks</a>;
<a name="l00274"></a>00274         <span class="keyword">struct </span>{
<a name="l00275"></a><a class="code" href="structdtn__bundle__spec__t.html#00bed400e243e63f9c078cffbd296504">00275</a>                 u_int <a class="code" href="structdtn__bundle__spec__t.html#00bed400e243e63f9c078cffbd296504">metadata_len</a>;
<a name="l00276"></a><a class="code" href="structdtn__bundle__spec__t.html#803cff6a07a015067a0f0a71958b6068">00276</a>                 <a class="code" href="structdtn__extension__block__t.html" title="Extension block.">dtn_extension_block_t</a> *<a class="code" href="structdtn__bundle__spec__t.html#803cff6a07a015067a0f0a71958b6068">metadata_val</a>;
<a name="l00277"></a>00277         } <a class="code" href="structdtn__bundle__spec__t.html#41df879d0110475bea431d3225f508d6">metadata</a>;
<a name="l00278"></a>00278 };
<a name="l00279"></a><a class="code" href="dtn__types_8h.html#17ffa40d8c69056fde6a3ce47848590e">00279</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__spec__t.html" title="Bundle metadata.">dtn_bundle_spec_t</a> <a class="code" href="structdtn__bundle__spec__t.html" title="Bundle metadata.">dtn_bundle_spec_t</a>;
<a name="l00280"></a>00280 
<a name="l00289"></a><a class="code" href="structdtn__bundle__id__t.html">00289</a> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__id__t.html" title="Type definition for a unique bundle identifier.">dtn_bundle_id_t</a> {
<a name="l00290"></a><a class="code" href="structdtn__bundle__id__t.html#85fee9b6bc50f4b6aa397a0a31d1e896">00290</a>         <a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a> <a class="code" href="structdtn__bundle__id__t.html#85fee9b6bc50f4b6aa397a0a31d1e896">source</a>;
<a name="l00291"></a><a class="code" href="structdtn__bundle__id__t.html#45c8507ca01c07300d6fe860b29332ef">00291</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__id__t.html#45c8507ca01c07300d6fe860b29332ef">creation_ts</a>;
<a name="l00292"></a><a class="code" href="structdtn__bundle__id__t.html#4ac1bb6795c7b7b04b11bb013ebeec57">00292</a>         u_int <a class="code" href="structdtn__bundle__id__t.html#4ac1bb6795c7b7b04b11bb013ebeec57">frag_offset</a>;
<a name="l00293"></a><a class="code" href="structdtn__bundle__id__t.html#79af75224d17fda12ae60ca622d7028f">00293</a>         u_int <a class="code" href="structdtn__bundle__id__t.html#79af75224d17fda12ae60ca622d7028f">orig_length</a>;
<a name="l00294"></a>00294 };
<a name="l00295"></a><a class="code" href="dtn__types_8h.html#18af8bfe27bd35ff06d0c8bcd6bd3b84">00295</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__id__t.html" title="Type definition for a unique bundle identifier.">dtn_bundle_id_t</a> <a class="code" href="structdtn__bundle__id__t.html" title="Type definition for a unique bundle identifier.">dtn_bundle_id_t</a>;
<a name="l00300"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134">00300</a> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134" title="Bundle Status Report &amp;quot;Reason Code&amp;quot; flags.">dtn_status_report_reason_t</a> {
<a name="l00301"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f13416d88f39c81b62a35f5450c470e084af">00301</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f13416d88f39c81b62a35f5450c470e084af">REASON_NO_ADDTL_INFO</a> = 0x00,
<a name="l00302"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f13461e9a218d8a281765b19fc3ffea6e94d">00302</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f13461e9a218d8a281765b19fc3ffea6e94d">REASON_LIFETIME_EXPIRED</a> = 0x01,
<a name="l00303"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134c10862557998c6bfa19d4fbdc0ac028d">00303</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134c10862557998c6bfa19d4fbdc0ac028d">REASON_FORWARDED_UNIDIR_LINK</a> = 0x02,
<a name="l00304"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1346f4c44342c9b3dc134e6771aff9dfa19">00304</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1346f4c44342c9b3dc134e6771aff9dfa19">REASON_TRANSMISSION_CANCELLED</a> = 0x03,
<a name="l00305"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f13431936ba86bf146b098f537d4c310b617">00305</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f13431936ba86bf146b098f537d4c310b617">REASON_DEPLETED_STORAGE</a> = 0x04,
<a name="l00306"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1349c4a7aa375534b9eee3fbfb97560bb57">00306</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1349c4a7aa375534b9eee3fbfb97560bb57">REASON_ENDPOINT_ID_UNINTELLIGIBLE</a> = 0x05,
<a name="l00307"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1348b2ece31c413ace1fec226565ee0702a">00307</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1348b2ece31c413ace1fec226565ee0702a">REASON_NO_ROUTE_TO_DEST</a> = 0x06,
<a name="l00308"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1345f95c548ccf8376c8b3b80700046021d">00308</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f1345f95c548ccf8376c8b3b80700046021d">REASON_NO_TIMELY_CONTACT</a> = 0x07,
<a name="l00309"></a><a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134ee5e34172bb22be335def670d9e5503b">00309</a>         <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134ee5e34172bb22be335def670d9e5503b">REASON_BLOCK_UNINTELLIGIBLE</a> = 0x08,
<a name="l00310"></a>00310 };
<a name="l00311"></a><a class="code" href="dtn__types_8h.html#1840a5d11966b58aac4fdad1bf57bf4e">00311</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134" title="Bundle Status Report &amp;quot;Reason Code&amp;quot; flags.">dtn_status_report_reason_t</a> <a class="code" href="dtn__types_8h.html#87e1a70c1e1b7872a0337ed40dc4f134" title="Bundle Status Report &amp;quot;Reason Code&amp;quot; flags.">dtn_status_report_reason_t</a>;
<a name="l00317"></a><a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919">00317</a> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919" title="Bundle Status Report status flags that indicate which timestamps in the status report...">dtn_status_report_flags_t</a> {
<a name="l00318"></a><a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b99198d50a4d6db1ab5232afc0d5cd55deb93">00318</a>         <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b99198d50a4d6db1ab5232afc0d5cd55deb93">STATUS_RECEIVED</a> = 0x01,
<a name="l00319"></a><a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919a88133ae1757925b880c6fd1a395a0fb">00319</a>         <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919a88133ae1757925b880c6fd1a395a0fb">STATUS_CUSTODY_ACCEPTED</a> = 0x02,
<a name="l00320"></a><a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b991925211f0e0706cbc8981285126ac621b2">00320</a>         <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b991925211f0e0706cbc8981285126ac621b2">STATUS_FORWARDED</a> = 0x04,
<a name="l00321"></a><a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919c0ac4c503dd8586dca17b9d5c1e9f30d">00321</a>         <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919c0ac4c503dd8586dca17b9d5c1e9f30d">STATUS_DELIVERED</a> = 0x08,
<a name="l00322"></a><a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b99193f1e22c771850e7a7cdfafbda38cc14e">00322</a>         <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b99193f1e22c771850e7a7cdfafbda38cc14e">STATUS_DELETED</a> = 0x10,
<a name="l00323"></a><a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919e930c2985c34c1847df57506aa8af0f1">00323</a>         <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919e930c2985c34c1847df57506aa8af0f1">STATUS_ACKED_BY_APP</a> = 0x20,
<a name="l00324"></a>00324 };
<a name="l00325"></a><a class="code" href="dtn__types_8h.html#9296b0464ccde49774496dddcaed616d">00325</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919" title="Bundle Status Report status flags that indicate which timestamps in the status report...">dtn_status_report_flags_t</a> <a class="code" href="dtn__types_8h.html#6d9484ac5d0ab5f3fd7383af0c7b9919" title="Bundle Status Report status flags that indicate which timestamps in the status report...">dtn_status_report_flags_t</a>;
<a name="l00326"></a>00326 
<a name="l00331"></a><a class="code" href="structdtn__bundle__status__report__t.html">00331</a> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__status__report__t.html" title="Type definition for a bundle status report.">dtn_bundle_status_report_t</a> {
<a name="l00332"></a><a class="code" href="structdtn__bundle__status__report__t.html#d250d962fb57440a14a9b0488955faad">00332</a>         <a class="code" href="structdtn__bundle__id__t.html" title="Type definition for a unique bundle identifier.">dtn_bundle_id_t</a> <a class="code" href="structdtn__bundle__status__report__t.html#d250d962fb57440a14a9b0488955faad">bundle_id</a>;
<a name="l00333"></a><a class="code" href="structdtn__bundle__status__report__t.html#3de5598dc702b9375ed43c4f7335cf39">00333</a>         dtn_status_report_reason_t <a class="code" href="structdtn__bundle__status__report__t.html#3de5598dc702b9375ed43c4f7335cf39">reason</a>;
<a name="l00334"></a><a class="code" href="structdtn__bundle__status__report__t.html#106f245fab47da2abee3d5b0fb413315">00334</a>         dtn_status_report_flags_t <a class="code" href="structdtn__bundle__status__report__t.html#106f245fab47da2abee3d5b0fb413315">flags</a>;
<a name="l00335"></a><a class="code" href="structdtn__bundle__status__report__t.html#5acf2262f0099eb9f5be29921a5a94dd">00335</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__status__report__t.html#5acf2262f0099eb9f5be29921a5a94dd">receipt_ts</a>;
<a name="l00336"></a><a class="code" href="structdtn__bundle__status__report__t.html#a295fd30ad4097cf7dec32a7c5e0db1a">00336</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__status__report__t.html#a295fd30ad4097cf7dec32a7c5e0db1a">custody_ts</a>;
<a name="l00337"></a><a class="code" href="structdtn__bundle__status__report__t.html#d951191b5dc254cf1a5e7beaf53f1b08">00337</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__status__report__t.html#d951191b5dc254cf1a5e7beaf53f1b08">forwarding_ts</a>;
<a name="l00338"></a><a class="code" href="structdtn__bundle__status__report__t.html#25d8c3507f8643f0b8be0e3aba50da31">00338</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__status__report__t.html#25d8c3507f8643f0b8be0e3aba50da31">delivery_ts</a>;
<a name="l00339"></a><a class="code" href="structdtn__bundle__status__report__t.html#391eb127c1b32e0fa25a14840b2155b0">00339</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__status__report__t.html#391eb127c1b32e0fa25a14840b2155b0">deletion_ts</a>;
<a name="l00340"></a><a class="code" href="structdtn__bundle__status__report__t.html#431f2cef195089aabeb9a4f50bb5ed31">00340</a>         <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a> <a class="code" href="structdtn__bundle__status__report__t.html#431f2cef195089aabeb9a4f50bb5ed31">ack_by_app_ts</a>;
<a name="l00341"></a>00341 };
<a name="l00342"></a><a class="code" href="dtn__types_8h.html#f7c745f35bf015dc2cbbe485834ceefd">00342</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__status__report__t.html" title="Type definition for a bundle status report.">dtn_bundle_status_report_t</a> <a class="code" href="structdtn__bundle__status__report__t.html" title="Type definition for a bundle status report.">dtn_bundle_status_report_t</a>;
<a name="l00343"></a>00343 
<a name="l00364"></a><a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e762">00364</a> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e762" title="The payload of a bundle can be sent or received either in a file, in which case the...">dtn_bundle_payload_location_t</a> {
<a name="l00365"></a><a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e7621ff9272291ffe7d9f8083e7c5a548909">00365</a>         <a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e7621ff9272291ffe7d9f8083e7c5a548909">DTN_PAYLOAD_FILE</a> = 0,
<a name="l00366"></a><a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e7628f773bbfb80857bd5a11f09665fa9b03">00366</a>         <a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e7628f773bbfb80857bd5a11f09665fa9b03">DTN_PAYLOAD_MEM</a> = 1,
<a name="l00367"></a><a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e7621630b57529624e53a8f257763ad78503">00367</a>         <a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e7621630b57529624e53a8f257763ad78503">DTN_PAYLOAD_TEMP_FILE</a> = 2,
<a name="l00368"></a>00368 };
<a name="l00369"></a><a class="code" href="dtn__types_8h.html#e5a364654b88f01199bc7144a1b2a4a8">00369</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e762" title="The payload of a bundle can be sent or received either in a file, in which case the...">dtn_bundle_payload_location_t</a> <a class="code" href="dtn__types_8h.html#3dcfddc1b850a71a18d8a0868f67e762" title="The payload of a bundle can be sent or received either in a file, in which case the...">dtn_bundle_payload_location_t</a>;
<a name="l00370"></a>00370 
<a name="l00371"></a><a class="code" href="structdtn__bundle__payload__t.html">00371</a> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__payload__t.html">dtn_bundle_payload_t</a> {
<a name="l00372"></a><a class="code" href="structdtn__bundle__payload__t.html#4877c653f99a90c38ae8fdb4a1774247">00372</a>         dtn_bundle_payload_location_t <a class="code" href="structdtn__bundle__payload__t.html#4877c653f99a90c38ae8fdb4a1774247">location</a>;
<a name="l00373"></a>00373         <span class="keyword">struct </span>{
<a name="l00374"></a><a class="code" href="structdtn__bundle__payload__t.html#19a9fb6ab21fdc57d29fbdb0e61d0bbf">00374</a>                 u_int <a class="code" href="structdtn__bundle__payload__t.html#19a9fb6ab21fdc57d29fbdb0e61d0bbf">filename_len</a>;
<a name="l00375"></a><a class="code" href="structdtn__bundle__payload__t.html#0d824d13c3225cb59fa2e34623608b2a">00375</a>                 <span class="keywordtype">char</span> *<a class="code" href="structdtn__bundle__payload__t.html#0d824d13c3225cb59fa2e34623608b2a">filename_val</a>;
<a name="l00376"></a>00376         } <a class="code" href="structdtn__bundle__payload__t.html#f3a33fd2ae2b3b8eae2e675f1a038cec">filename</a>;
<a name="l00377"></a>00377         <span class="keyword">struct </span>{
<a name="l00378"></a><a class="code" href="structdtn__bundle__payload__t.html#c20a1cf6010dbd5855140373da5ce8c3">00378</a>                 u_int <a class="code" href="structdtn__bundle__payload__t.html#c20a1cf6010dbd5855140373da5ce8c3">buf_len</a>;
<a name="l00379"></a><a class="code" href="structdtn__bundle__payload__t.html#45cd21fd96fced99995450f0fca848d5">00379</a>                 <span class="keywordtype">char</span> *<a class="code" href="structdtn__bundle__payload__t.html#45cd21fd96fced99995450f0fca848d5">buf_val</a>;
<a name="l00380"></a>00380         } <a class="code" href="structdtn__bundle__payload__t.html#04e8c46c5b40f187e1fefed80853cc5c">buf</a>;
<a name="l00381"></a><a class="code" href="structdtn__bundle__payload__t.html#2f104cdd7e463ca104b468fa98527f84">00381</a>         <a class="code" href="structdtn__bundle__status__report__t.html" title="Type definition for a bundle status report.">dtn_bundle_status_report_t</a> *<a class="code" href="structdtn__bundle__payload__t.html#2f104cdd7e463ca104b468fa98527f84">status_report</a>;
<a name="l00382"></a>00382 };
<a name="l00383"></a><a class="code" href="dtn__types_8h.html#fed654d7654016956dbcbf8027b3b1ae">00383</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdtn__bundle__payload__t.html">dtn_bundle_payload_t</a> <a class="code" href="structdtn__bundle__payload__t.html">dtn_bundle_payload_t</a>;
<a name="l00384"></a>00384 
<a name="l00385"></a>00385 <span class="comment">/* the xdr functions */</span>
<a name="l00386"></a>00386 
<a name="l00387"></a>00387 <span class="preprocessor">#if defined(__STDC__) || defined(__cplusplus)</span>
<a name="l00388"></a>00388 <span class="preprocessor"></span><span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#16c5a6f4fcdc988f54f034bb1961b342">xdr_dtn_endpoint_id_t</a> (XDR *, <a class="code" href="structdtn__endpoint__id__t.html" title="Specification of a dtn endpoint id, i.e.">dtn_endpoint_id_t</a>*);
<a name="l00389"></a>00389 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#9fa23bbd89d3ddf6df49a4fae6ebf28e">xdr_dtn_reg_id_t</a> (XDR *, dtn_reg_id_t*);
<a name="l00390"></a>00390 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#62ea0edc92ab755946bef6dcfaf1f611">xdr_dtn_timeval_t</a> (XDR *, dtn_timeval_t*);
<a name="l00391"></a>00391 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#6721e19662ff591c03bacc3d10d3db09">xdr_dtn_timestamp_t</a> (XDR *, <a class="code" href="structdtn__timestamp__t.html">dtn_timestamp_t</a>*);
<a name="l00392"></a>00392 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#9797727a4d9f870dfd962cd25d1a84de">xdr_dtn_service_tag_t</a> (XDR *, <a class="code" href="structdtn__service__tag__t.html" title="Specification of a service tag used in building a local endpoint identifier.">dtn_service_tag_t</a>*);
<a name="l00393"></a>00393 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#8d46b625c6f43d7f84b5d53ee24f7df3">xdr_dtn_reg_flags_t</a> (XDR *, dtn_reg_flags_t*);
<a name="l00394"></a>00394 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#b71cd0713a2f102c11345bb032ee09d3">xdr_dtn_reg_info_t</a> (XDR *, <a class="code" href="structdtn__reg__info__t.html" title="Registration state.">dtn_reg_info_t</a>*);
<a name="l00395"></a>00395 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#031303c813f950683b54b16347e6942d">xdr_dtn_bundle_priority_t</a> (XDR *, dtn_bundle_priority_t*);
<a name="l00396"></a>00396 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#fe560d03994ca1356a1b70149bd53d06">xdr_dtn_bundle_delivery_opts_t</a> (XDR *, dtn_bundle_delivery_opts_t*);
<a name="l00397"></a>00397 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#c3695f25a4b65ba2a35824695393feb3">xdr_dtn_extension_block_flags_t</a> (XDR *, dtn_extension_block_flags_t*);
<a name="l00398"></a>00398 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#c8ab8abf27401521f9e9513fafc0cd76">xdr_dtn_extension_block_t</a> (XDR *, <a class="code" href="structdtn__extension__block__t.html" title="Extension block.">dtn_extension_block_t</a>*);
<a name="l00399"></a>00399 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#94ae8613e892e408919721574b57e2fb">xdr_dtn_sequence_id_t</a> (XDR *, <a class="code" href="structdtn__sequence__id__t.html" title="A Sequence ID is a vector of (EID, counter) values in the following text format:...">dtn_sequence_id_t</a>*);
<a name="l00400"></a>00400 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#54a4fbc50daeb79cc615af82793cbdc8">xdr_dtn_bundle_spec_t</a> (XDR *, <a class="code" href="structdtn__bundle__spec__t.html" title="Bundle metadata.">dtn_bundle_spec_t</a>*);
<a name="l00401"></a>00401 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#c51906327f0c0e0571243a5dceffc0af">xdr_dtn_bundle_id_t</a> (XDR *, <a class="code" href="structdtn__bundle__id__t.html" title="Type definition for a unique bundle identifier.">dtn_bundle_id_t</a>*);
<a name="l00402"></a>00402 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#64ecaca55a5486ec18930637d0660125">xdr_dtn_status_report_reason_t</a> (XDR *, dtn_status_report_reason_t*);
<a name="l00403"></a>00403 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#41ac46466cd574416a9ef648fc77310f">xdr_dtn_status_report_flags_t</a> (XDR *, dtn_status_report_flags_t*);
<a name="l00404"></a>00404 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#96398ffc72f0a6cd541d694d56619595">xdr_dtn_bundle_status_report_t</a> (XDR *, <a class="code" href="structdtn__bundle__status__report__t.html" title="Type definition for a bundle status report.">dtn_bundle_status_report_t</a>*);
<a name="l00405"></a>00405 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#d98f93d0953484b7b74e2bf33aa0d3a7">xdr_dtn_bundle_payload_location_t</a> (XDR *, dtn_bundle_payload_location_t*);
<a name="l00406"></a>00406 <span class="keyword">extern</span>  bool_t <a class="code" href="dtn__types_8h.html#52d9e9ef1e11bf39693baced9c591d67">xdr_dtn_bundle_payload_t</a> (XDR *, <a class="code" href="structdtn__bundle__payload__t.html">dtn_bundle_payload_t</a>*);
<a name="l00407"></a>00407 
<a name="l00408"></a>00408 <span class="preprocessor">#else </span><span class="comment">/* K&amp;R C */</span>
<a name="l00409"></a>00409 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#16c5a6f4fcdc988f54f034bb1961b342">xdr_dtn_endpoint_id_t</a> ();
<a name="l00410"></a>00410 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#9fa23bbd89d3ddf6df49a4fae6ebf28e">xdr_dtn_reg_id_t</a> ();
<a name="l00411"></a>00411 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#62ea0edc92ab755946bef6dcfaf1f611">xdr_dtn_timeval_t</a> ();
<a name="l00412"></a>00412 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#6721e19662ff591c03bacc3d10d3db09">xdr_dtn_timestamp_t</a> ();
<a name="l00413"></a>00413 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#9797727a4d9f870dfd962cd25d1a84de">xdr_dtn_service_tag_t</a> ();
<a name="l00414"></a>00414 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#8d46b625c6f43d7f84b5d53ee24f7df3">xdr_dtn_reg_flags_t</a> ();
<a name="l00415"></a>00415 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#b71cd0713a2f102c11345bb032ee09d3">xdr_dtn_reg_info_t</a> ();
<a name="l00416"></a>00416 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#031303c813f950683b54b16347e6942d">xdr_dtn_bundle_priority_t</a> ();
<a name="l00417"></a>00417 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#fe560d03994ca1356a1b70149bd53d06">xdr_dtn_bundle_delivery_opts_t</a> ();
<a name="l00418"></a>00418 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#c3695f25a4b65ba2a35824695393feb3">xdr_dtn_extension_block_flags_t</a> ();
<a name="l00419"></a>00419 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#c8ab8abf27401521f9e9513fafc0cd76">xdr_dtn_extension_block_t</a> ();
<a name="l00420"></a>00420 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#94ae8613e892e408919721574b57e2fb">xdr_dtn_sequence_id_t</a> ();
<a name="l00421"></a>00421 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#54a4fbc50daeb79cc615af82793cbdc8">xdr_dtn_bundle_spec_t</a> ();
<a name="l00422"></a>00422 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#c51906327f0c0e0571243a5dceffc0af">xdr_dtn_bundle_id_t</a> ();
<a name="l00423"></a>00423 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#64ecaca55a5486ec18930637d0660125">xdr_dtn_status_report_reason_t</a> ();
<a name="l00424"></a>00424 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#41ac46466cd574416a9ef648fc77310f">xdr_dtn_status_report_flags_t</a> ();
<a name="l00425"></a>00425 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#96398ffc72f0a6cd541d694d56619595">xdr_dtn_bundle_status_report_t</a> ();
<a name="l00426"></a>00426 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#d98f93d0953484b7b74e2bf33aa0d3a7">xdr_dtn_bundle_payload_location_t</a> ();
<a name="l00427"></a>00427 <span class="keyword">extern</span> bool_t <a class="code" href="dtn__types_8h.html#52d9e9ef1e11bf39693baced9c591d67">xdr_dtn_bundle_payload_t</a> ();
<a name="l00428"></a>00428 
<a name="l00429"></a>00429 <span class="preprocessor">#endif </span><span class="comment">/* K&amp;R C */</span>
<a name="l00430"></a>00430 
<a name="l00431"></a>00431 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00432"></a>00432 <span class="preprocessor"></span>}
<a name="l00433"></a>00433 <span class="preprocessor">#endif</span>
<a name="l00434"></a>00434 <span class="preprocessor"></span>
<a name="l00435"></a>00435 <span class="preprocessor">#endif </span><span class="comment">/* !_DTN_TYPES_H_RPCGEN */</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:26:55 2009 for DTN Reference Implementation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>