GNU libmicrohttpd
1.0.6
Toggle main menu visibility
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-2021 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
25
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
40
void
41
MHD_monotonic_sec_counter_init
(
void
);
42
43
48
void
49
MHD_monotonic_sec_counter_finish
(
void
);
50
51
59
time_t
60
MHD_monotonic_sec_counter
(
void
);
61
62
70
uint64_t
71
MHD_monotonic_msec_counter
(
void
);
72
73
#endif
/* MHD_MONO_CLOCK_H */
MHD_monotonic_msec_counter
uint64_t MHD_monotonic_msec_counter(void)
Definition
mhd_mono_clock.c:440
MHD_monotonic_sec_counter_finish
void MHD_monotonic_sec_counter_finish(void)
Definition
mhd_mono_clock.c:367
MHD_monotonic_sec_counter
time_t MHD_monotonic_sec_counter(void)
Definition
mhd_mono_clock.c:388
MHD_monotonic_sec_counter_init
void MHD_monotonic_sec_counter_init(void)
Definition
mhd_mono_clock.c:143
mhd_options.h
additional automatic macros for MHD_config.h
src
microhttpd
mhd_mono_clock.h
Generated by
1.17.0