aboutsummaryrefslogtreecommitdiffstats
path: root/src/expire.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/expire.h')
-rw-r--r--src/expire.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/expire.h b/src/expire.h
index 1de82c2..4d996f8 100644
--- a/src/expire.h
+++ b/src/expire.h
@@ -34,12 +34,14 @@
* - 2m2w means two months and 2 weeks
*
* @param txt the text to convert
- * @return the value for the text
+ * @param time_out where to store the result
+ * @return true if valid false otherwise
*/
extern
-time_t
+bool
txt2exp(
- const char *txt
+ const char *txt,
+ time_t *time_out
);
/**