• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>oscl_byte_order.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.2.18 -->
7<center>
8<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>
9<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>
1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1100003
1200004 <span class="comment">//               O S C L   B Y T E O R D E R   U T I L S</span>
1300005
1400006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1500007
1600019 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_H_INCLUDED</span>
1700020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_BYTE_ORDER_H_INCLUDED</span>
1800021 <span class="preprocessor"></span>
1900022 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
2000023 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
2100024 <span class="preprocessor">#endif</span>
2200025 <span class="preprocessor"></span>
2300026
2400028
2500035 <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);
2600036
2700038
2800044 <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);
2900045
3000047
3100054 <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);
3200055
3300057
3400063 <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);
3500064
3600065 <span class="preprocessor">#if (!OSCL_DISABLE_INLINES)</span>
3700066 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_byte_order.inl"</span>
3800067 <span class="preprocessor">#endif</span>
3900068 <span class="preprocessor"></span>
4000071 <span class="preprocessor">#endif</span>
41</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
42<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
43</small></address>
44</body>
45</html>
46