summaryrefslogtreecommitdiff
path: root/src/lib/wallclock/tm_cvt.h
blob: a1cdc80ef1ba63667d9faded9c8b661646389d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2003-2004, Roger Dingledine
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * \file tm_cvt.h
 * \brief Header for tm_cvt.c
 **/

#ifndef TOR_WALLCLOCK_TM_CVT_H
#define TOR_WALLCLOCK_TM_CVT_H

#include <sys/types.h>

struct tm;
struct tm *tor_localtime_r_msg(const time_t *timep, struct tm *result,
                               char **err_out);
struct tm *tor_gmtime_r_msg(const time_t *timep, struct tm *result,
                            char **err_out);

#endif