Tor 0.4.9.0-alpha-dev
time_to_tm.h
Go to the documentation of this file.
1/* Copyright (c) 2003-2004, Roger Dingledine
2 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3 * Copyright (c) 2007-2021, The Tor Project, Inc. */
4/* See LICENSE for licensing information */
5
6/**
7 * \file time_to_tm.h
8 * \brief Header for time_to_tm.c
9 **/
10
11#ifndef TOR_WALLCLOCK_TIME_TO_TM_H
12#define TOR_WALLCLOCK_TIME_TO_TM_H
13
14#include <sys/types.h>
15
16struct tm;
17struct tm *tor_localtime_r_msg(const time_t *timep, struct tm *result,
18 char **err_out);
19struct tm *tor_gmtime_r_msg(const time_t *timep, struct tm *result,
20 char **err_out);
21
22#endif /* !defined(TOR_WALLCLOCK_TIME_TO_TM_H) */
struct tm * tor_localtime_r_msg(const time_t *timep, struct tm *result, char **err_out)
Definition: time_to_tm.c:133
struct tm * tor_gmtime_r_msg(const time_t *timep, struct tm *result, char **err_out)
Definition: time_to_tm.c:176