projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more places where we can use cm_lengths;
[citadel.git]
/
citadel
/
genstamp.h
diff --git
a/citadel/genstamp.h
b/citadel/genstamp.h
index 747fb355cabfc96b70729d212c46ebe6aef4c4f9..ffe0d9c015569d64ea76b594253a70079b6baf49 100644
(file)
--- a/
citadel/genstamp.h
+++ b/
citadel/genstamp.h
@@
-1
+1,7
@@
-void generate_rfc822_datestamp(char *buf, time_t xtime);
+
+long datestring(char *buf, size_t n, time_t xtime, int which_format);
+
+enum {
+ DATESTRING_RFC822,
+ DATESTRING_IMAP
+};