~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools-precise.sid-merge1

« back to all changes in this revision

Viewing changes to lib/include/timeutil.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-12-06 07:45:05 UTC
  • mfrom: (1.1.8 upstream) (2.4.10 sid)
  • Revision ID: james.westby@ubuntu.com-20091206074505-43rp7oejjgp0y2re
Tags: 2009.11.16-210370-1
* Merging upstream version 2009.11.16-210370.
* Moving vmusr plugins from open-vm-tools to open-vm-toolbox (Closes:
  #539282, #557215).
* Correcting plugin location (Closes: #545222, #549044).
* Dropping la files (Closes: #551626).
* Adding open-vm-toolbox lintian overrides.
* Removing test plugin.
* Removing unused plugin symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
   unsigned int second; /* [0, 61] (for leap seconds) */
51
51
} TimeUtil_Date;
52
52
 
 
53
typedef struct TimeUtil_TimeOfDay {
 
54
   unsigned long seconds;
 
55
   unsigned long useconds;
 
56
} TimeUtil_TimeOfDay;
53
57
 
54
58
typedef struct TimeUtil_Expiration {
55
59
   /*
93
97
EXTERN void TimeUtil_PopulateWithCurrent(Bool local,        // IN
94
98
                                         TimeUtil_Date *d); // OUT
95
99
 
 
100
EXTERN void TimeUtil_GetTimeOfDay(TimeUtil_TimeOfDay *d); // OUT
 
101
 
96
102
EXTERN unsigned int TimeUtil_DaysLeft(TimeUtil_Date const *d); // IN
97
103
 
98
104
EXTERN Bool TimeUtil_ExpirationLowerThan(TimeUtil_Expiration const *left,   // IN