mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
File timestamps displayed with -d+3 debug output now presented in UTC (+0000) timezone. Other related minor stylistic changes: - timestamp_from_target() renamed to timestamp_from_path() - timestamp_from_target() parameter order switched - comment updates - added some const function parameter modifiers - some header #include directives reordered alphabetically [SVN r79501]
36 lines
954 B
C
36 lines
954 B
C
/*
|
|
* Copyright 1993, 1995 Christopher Seiwald.
|
|
*
|
|
* This file is part of Jam - see jam.c for Copyright information.
|
|
*/
|
|
|
|
/*
|
|
* timestamp.h - get the timestamp of a file or archive member
|
|
*/
|
|
|
|
#ifndef TIMESTAMP_H_SW_2011_11_18
|
|
#define TIMESTAMP_H_SW_2011_11_18
|
|
|
|
#include "object.h"
|
|
|
|
#include <time.h>
|
|
|
|
typedef struct timestamp
|
|
{
|
|
time_t secs;
|
|
} timestamp;
|
|
|
|
void timestamp_clear( timestamp * const time );
|
|
int timestamp_cmp( timestamp const * const lhs, timestamp const * const rhs );
|
|
void timestamp_copy( timestamp * const target, timestamp const * const source );
|
|
int timestamp_empty( timestamp const * const time );
|
|
void timestamp_from_path( timestamp * const time, OBJECT * path );
|
|
void timestamp_init( timestamp * const time, time_t const secs );
|
|
void timestamp_max( timestamp * const max, timestamp const * const lhs,
|
|
timestamp const * const rhs );
|
|
char const * timestamp_str( timestamp const * const time );
|
|
|
|
void timestamp_done();
|
|
|
|
#endif
|