GNU libmicrohttpd
0.9.73
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
39
void
40
MHD_monotonic_sec_counter_init
(
void
);
41
42
46
void
47
MHD_monotonic_sec_counter_finish
(
void
);
48
49
57
time_t
58
MHD_monotonic_sec_counter
(
void
);
59
60
#endif
/* MHD_MONO_CLOCK_H */
mhd_options.h
additional automatic macros for MHD_config.h
MHD_monotonic_sec_counter_init
void MHD_monotonic_sec_counter_init(void)
Definition:
mhd_mono_clock.c:138
MHD_monotonic_sec_counter
time_t MHD_monotonic_sec_counter(void)
Definition:
mhd_mono_clock.c:337
MHD_monotonic_sec_counter_finish
void MHD_monotonic_sec_counter_finish(void)
Definition:
mhd_mono_clock.c:316
src
microhttpd
mhd_mono_clock.h
Generated by
1.8.20