~ubuntu-branches/ubuntu/wily/afnix/wily

« back to all changes in this revision

Viewing changes to src/lib/plt/shl/cclk.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2011-03-16 21:31:18 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110316213118-gk4k3ez3e5d2huna
Tags: 2.0.0-1
* QA upload.
* New upstream release
* Debian source format is 3.0 (quilt)
* Fix debhelper-but-no-misc-depends
* Fix ancient-standards-version
* Fix package-contains-linda-override
* debhelper compatibility is 7
* Fix dh-clean-k-is-deprecated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// ---------------------------------------------------------------------------
2
2
// - cclk.hpp                                                                -
3
 
// - standard system library - c time native function definition             -
 
3
// - standard platform library - c time native function definition           -
4
4
// ---------------------------------------------------------------------------
5
5
// - This program is free software;  you can redistribute it  and/or  modify -
6
6
// - it provided that this copyright notice is kept intact.                  -
11
11
// - the copyright holder be liable for any  direct, indirect, incidental or -
12
12
// - special damages arising in any way out of the use of this software.     -
13
13
// ---------------------------------------------------------------------------
14
 
// - copyright (c) 1999-2007 amaury darsch                                   -
 
14
// - copyright (c) 1999-2011 amaury darsch                                   -
15
15
// ---------------------------------------------------------------------------
16
16
 
17
17
#ifndef  AFNIX_CCLK_HPP
31
31
  /// to 62167219200 seconds. Normally, the year 0 is used with the
32
32
  /// astronomical gregorian calendar, but the reference in that case is
33
33
  /// not the same.
 
34
  /// @author amaury darsch
 
35
 
 
36
  /// @return the atc epoch
 
37
  t_long c_epoch (void);
 
38
 
 
39
  /// @return the current utc since the epoch in second
 
40
  t_long c_time (void);
 
41
 
 
42
  /// @return the timezone in seconds
 
43
  t_long c_tzone (void);
34
44
 
35
45
  /// pause for a certain time
36
46
  /// @param time the time to pause in milliseonds
38
48
 
39
49
  /// @return a machine time stamp
40
50
  t_octa c_stamp (void);
41
 
 
42
 
  /// @return the current utc since the epoch in second
43
 
  t_long c_time (void);
44
 
 
45
 
  /// @return the timezone in seconds
46
 
  t_long c_tzone (void);
47
51
}
48
52
 
49
53
#endif