Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/enet-1.1/docs/html/time_8h-source.html @ 13

Last change on this file since 13 was 13, checked in by landauf, 16 years ago

added enet

File size: 2.7 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>enet: time.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.1 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
13    <li id="current"><a href="files.html"><span>Files</span></a></li>
14    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
15  </ul></div>
16<div class="tabs">
17  <ul>
18    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
19    <li><a href="globals.html"><span>Globals</span></a></li>
20  </ul></div>
21<h1>time.h</h1><a href="time_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
22<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __ENET_TIME_H__</span>
23<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __ENET_TIME_H__</span>
24<a name="l00007"></a>00007 <span class="preprocessor"></span>
25<a name="l00008"></a>00008 <span class="preprocessor">#define ENET_TIME_OVERFLOW 86400000</span>
26<a name="l00009"></a>00009 <span class="preprocessor"></span>
27<a name="l00010"></a>00010 <span class="preprocessor">#define ENET_TIME_LESS(a, b) ((a) - (b) &gt;= ENET_TIME_OVERFLOW)</span>
28<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define ENET_TIME_GREATER(a, b) ((b) - (a) &gt;= ENET_TIME_OVERFLOW)</span>
29<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define ENET_TIME_LESS_EQUAL(a, b) (! ENET_TIME_GREATER (a, b))</span>
30<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define ENET_TIME_GREATER_EQUAL(a, b) (! ENET_TIME_LESS (a, b))</span>
31<a name="l00014"></a>00014 <span class="preprocessor"></span>
32<a name="l00015"></a>00015 <span class="preprocessor">#define ENET_TIME_DIFFERENCE(a, b) ((a) - (b) &gt;= ENET_TIME_OVERFLOW ? (b) - (a) : (a) - (b))</span>
33<a name="l00016"></a>00016 <span class="preprocessor"></span>
34<a name="l00017"></a>00017 <span class="preprocessor">#endif </span><span class="comment">/* __ENET_TIME_H__ */</span>
35<a name="l00018"></a>00018
36</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Jun 6 14:33:50 2007 for enet by&nbsp;
37<a href="http://www.doxygen.org/index.html">
38<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
39</body>
40</html>
Note: See TracBrowser for help on using the repository browser.