2 * Copyright 1993, 1995 Christopher Seiwald.
4 * This file is part of Jam - see jam.c for Copyright information.
8 * timestamp.h - get the timestamp of a file or archive member
11 #ifndef TIMESTAMP_H_SW_2011_11_18
12 #define TIMESTAMP_H_SW_2011_11_18
22 typedef struct timestamp
28 void timestamp_clear( timestamp * const );
29 int timestamp_cmp( timestamp const * const lhs, timestamp const * const rhs );
30 void timestamp_copy( timestamp * const target, timestamp const * const source );
31 void timestamp_current( timestamp * const );
32 int timestamp_empty( timestamp const * const );
33 void timestamp_from_path( timestamp * const, OBJECT * const path );
34 void timestamp_init( timestamp * const, time_t const secs, int const nsecs );
35 void timestamp_max( timestamp * const max, timestamp const * const lhs,
36 timestamp const * const rhs );
37 char const * timestamp_str( timestamp const * const );
38 char const * timestamp_timestr( timestamp const * const );
41 void timestamp_from_filetime( timestamp * const, FILETIME const * const );
44 void timestamp_done();