From: Evan Hunt Date: Fri, 10 Jan 2014 19:17:12 +0000 (-0800) Subject: [master] missing prototypes X-Git-Tag: v9.10.0a2~122 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=480172bf6a2d6e4bbcaf58bd90cce60bd7eb52a9;p=thirdparty%2Fbind9.git [master] missing prototypes --- diff --git a/lib/isc/win32/include/isc/time.h b/lib/isc/win32/include/isc/time.h index 7db1da3827f..c8573a9250a 100644 --- a/lib/isc/win32/include/isc/time.h +++ b/lib/isc/win32/include/isc/time.h @@ -224,6 +224,16 @@ isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2); * The difference of t1 - t2, or 0 if t1 <= t2. */ +isc_result_t +isc_time_parsehttptimestamp(char *input, isc_time_t *t); +/*%< + * Parse the time in 'input' into the isc_time_t pointed to by 't', + * expecting a format like "Mon, 30 Aug 2000 04:06:47 GMT" + * + * Requires: + *\li 'buf' and 't' are not NULL. + */ + isc_uint32_t isc_time_nanoseconds(const isc_time_t *t); /* @@ -269,6 +279,16 @@ isc_time_formathttptimestamp(const isc_time_t *t, char *buf, unsigned int len); * */ +isc_result_t +isc_time_parsehttptimestamp(char *input, isc_time_t *t); +/*%< + * Parse the time in 'input' into the isc_time_t pointed to by 't', + * expecting a format like "Mon, 30 Aug 2000 04:06:47 GMT" + * + * Requires: + *\li 'buf' and 't' are not NULL. + */ + void isc_time_formatISO8601(const isc_time_t *t, char *buf, unsigned int len); /*%<