]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9] missing prototypes
authorEvan Hunt <each@isc.org>
Fri, 10 Jan 2014 19:17:19 +0000 (11:17 -0800)
committerEvan Hunt <each@isc.org>
Fri, 10 Jan 2014 19:17:19 +0000 (11:17 -0800)
lib/isc/win32/include/isc/time.h

index 7db1da3827fc043329015ab3aa330e3d45948aa1..c8573a9250ae91393486fdc744c3f863c2af3977 100644 (file)
@@ -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);
 /*%<