GNU libmicrohttpd 0.9.77
Loading...
Searching...
No Matches
mhd_mono_clock.h
Go to the documentation of this file.
1/*
2 This file is part of libmicrohttpd
3 Copyright (C) 2015 Karlson2k (Evgeny Grin)
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18*/
19
26#ifndef MHD_MONO_CLOCK_H
27#define MHD_MONO_CLOCK_H 1
28#include "mhd_options.h"
29
30#if defined(HAVE_TIME_H)
31#include <time.h>
32#elif defined(HAVE_SYS_TYPES_H)
33#include <sys/types.h>
34#endif
35#include <stdint.h>
36
40void
42
43
48void
50
51
59time_t
61
62
70uint64_t
72
73#endif /* MHD_MONO_CLOCK_H */
void MHD_monotonic_sec_counter_finish(void)
time_t MHD_monotonic_sec_counter(void)
void MHD_monotonic_sec_counter_init(void)
additional automatic macros for MHD_config.h
uint64_t MHD_monotonic_msec_counter(void)