blob: 7613d49601b9968446009cf1be4f8f5d207504cc [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>oscl_byte_order.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<hr><h1>oscl_byte_order.h</h1><a href="oscl__byte__order_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span>
00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
00003
00004 <span class="comment">// O S C L B Y T E O R D E R U T I L S</span>
00005
00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
00007
00019 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_H_INCLUDED</span>
00020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_BYTE_ORDER_H_INCLUDED</span>
00021 <span class="preprocessor"></span>
00022 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
00023 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
00024 <span class="preprocessor">#endif</span>
00025 <span class="preprocessor"></span>
00026
00028
00035 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#a38">little_endian_to_host</a>(<span class="keywordtype">char</span> *data, uint32 size);
00036
00038
00044 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#a39">host_to_little_endian</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size);
00045
00047
00054 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#a40">big_endian_to_host</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size);
00055
00057
00063 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#a41">host_to_big_endian</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size);
00064
00065 <span class="preprocessor">#if (!OSCL_DISABLE_INLINES)</span>
00066 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_byte_order.inl"</span>
00067 <span class="preprocessor">#endif</span>
00068 <span class="preprocessor"></span>
00071 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>