This file is indexed.

/usr/include/synthesis/timeutil.h is in libsynthesis-dev 3.4.0.47.5-0ubuntu3~gcc5.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
/*
 *  File:         timeutil.h
 *
 *  Authors:      Lukas Zeller (luz@plan44.ch)
 *                Beat Forster (bfo@synthesis.ch)
 *
 *  ISO8601 / Lineartime functions
 *
 *  Copyright (c) 2001-2011 by Synthesis AG + plan44.ch
 *
 */

#ifndef TIMEUTIL_H
#define TIMEUTIL_H

#include "synthesis/sync_dbapidef.h"

#ifdef __cplusplus
  #include <string>
  using namespace std;
#endif


#ifdef __cplusplus
  namespace sysync {
#endif


#if defined MACOSX || defined _WIN32 || defined LINUX
  typedef sInt64 lineartime_t;
#else
  #error unknown platform
#endif


#ifdef __cplusplus
  const lineartime_t secondToLinearTimeFactor = 1000; // unit is milliseconds

  // get system current date/time
  lineartime_t utcNowAsLineartime();

  // convert timestamp to ISO8601 string representation
  sInt32 timeStampToISO8601( lineartime_t aTimeStamp, string &aString, bool dateOnly= false );
#endif


#ifdef __cplusplus
  } // namespace
#endif

#endif /* TIMEUTIL_H */
/* eof */