[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] getdate: documentation in header file
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] getdate: documentation in header file |
Date: |
Sun, 18 Apr 2004 13:48:39 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
How about this?
2004-04-18 Simon Josefsson <address@hidden>
* getdate.h (get_date): Add documentation. Add variable names to
prototype (for documentation).
Index: getdate.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getdate.h,v
retrieving revision 1.11
diff -u -p -u -w -r1.11 getdate.h
--- getdate.h 31 Mar 2004 07:20:49 -0000 1.11
+++ getdate.h 18 Apr 2004 11:47:33 -0000
@@ -23,4 +23,9 @@
#include <stdbool.h>
#include "timespec.h"
-bool get_date (struct timespec *, char const *, struct timespec const *);
+/* Parse a date/time string, storing the resulting time value into *RESULT.
+ The string itself is pointed to by P. Return true if successful.
+ P can be an incomplete or relative time specification; if so, use
+ *NOW as the basis for the returned time. */
+extern bool get_date (struct timespec *result, char const *p,
+ struct timespec const *now);
- [Bug-gnulib] getdate: documentation in header file,
Simon Josefsson <=