aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__byte__order_8h_source.html
blob: 17e6d0d8eb311fe0eb40951ca629d3c77aa03c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!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>oscl: oscl_byte_order.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.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</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>Globals</span></a></li>
    </ul>
  </div>
<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 class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="comment">//               O S C L   B Y T E O R D E R   U T I L S</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00007"></a>00007 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_H_INCLUDED</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_BYTE_ORDER_H_INCLUDED</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="oscl__base_8h.html" title="The file oscl_base.h is the public header that should be included to pick up the...">oscl_base.h</a>&quot;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#endif</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 
<a name="l00028"></a>00028 
<a name="l00035"></a>00035 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#ga9d0c1c30ed9dc653b7e143689802048d" title="Convert little endian to host format.">little_endian_to_host</a>(<span class="keywordtype">char</span> *data, uint32 size);
<a name="l00036"></a>00036 
<a name="l00038"></a>00038 
<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#ga3b010bdaf14e002a769b87df7efa9a0d" title="Convert host to little endian format.">host_to_little_endian</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size);
<a name="l00045"></a>00045 
<a name="l00047"></a>00047 
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#ga80781fa5b4da418f911f58732644f067" title="Convert big endian to host format.">big_endian_to_host</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size);
<a name="l00055"></a>00055 
<a name="l00057"></a>00057 
<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#gadb579872de1387b02fe73bc4fc0a576c" title="Convert host to big endian format.">host_to_big_endian</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size);
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 <span class="preprocessor">#if (!OSCL_DISABLE_INLINES)</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#include &quot;oscl_byte_order.inl&quot;</span>
<a name="l00067"></a>00067 <span class="preprocessor">#endif</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00071"></a>00071 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.002.1.1 </small>
</small></address>
</body>
</html>