/usr/include/ClearSilver/util/neo_date.h is in clearsilver-dev 0.10.5-1.6build1.
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 | /*
* Copyright 2001-2004 Brandon Long
* All Rights Reserved.
*
* ClearSilver Templating System
*
* This code is made available under the terms of the ClearSilver License.
* http://www.clearsilver.net/license.hdf
*
*/
#ifndef __NEO_DATE_H_
#define __NEO_DATE_H_ 1
#include <time.h>
__BEGIN_DECLS
/* UTC time_t -> struct tm in local timezone */
void neo_time_expand (const time_t tt, const char *timezone, struct tm *ttm);
/* local timezone struct tm -> time_t UTC */
time_t neo_time_compact (struct tm *ttm, const char *timezone);
/* To be portable... in seconds */
long neo_tz_offset(struct tm *ttm);
__END_DECLS
#endif /* __NEO_DATE_H_ */
|