diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-08 13:11:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-08 13:11:50 +0000 |
commit | ea8bac474500dec49acdf7ce6fdc8910ecdc374d (patch) | |
tree | 8e337256a2ced20d71f7bd66ee3f38f9cf4773d9 /src/microhttpd/internal.c | |
parent | 1f4a53507e325cfdc48e3024e00c59f7e721faba (diff) | |
download | libmicrohttpd-ea8bac474500dec49acdf7ce6fdc8910ecdc374d.tar.gz libmicrohttpd-ea8bac474500dec49acdf7ce6fdc8910ecdc374d.zip |
adding MHD_set_response_options function
Diffstat (limited to 'src/microhttpd/internal.c')
-rw-r--r-- | src/microhttpd/internal.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c index 6170fe0a..c8db5af0 100644 --- a/src/microhttpd/internal.c +++ b/src/microhttpd/internal.c | |||
@@ -160,6 +160,13 @@ MHD_http_unescape (void *cls, | |||
160 | } | 160 | } |
161 | 161 | ||
162 | 162 | ||
163 | /** | ||
164 | * Equivalent to time(NULL) but tries to use some sort of monotonic | ||
165 | * clock that isn't affected by someone setting the system real time | ||
166 | * clock. | ||
167 | * | ||
168 | * @return 'current' time | ||
169 | */ | ||
163 | time_t | 170 | time_t |
164 | MHD_monotonic_time (void) | 171 | MHD_monotonic_time (void) |
165 | { | 172 | { |