sbr/credentials.h \
sbr/ctype-checked.h \
sbr/discard.h \
+ sbr/dtime.h \
sbr/encode_rfc2047.h \
sbr/error.h \
sbr/escape_addresses.h \
#define dtwszone(tw) dtimezone (tw->tw_zone, tw->tw_flags)
-extern char *tw_dotw[];
-extern char *tw_ldotw[];
-extern char *tw_moty[];
-
/*
* prototypes
*/
-char *dtime (time_t *, int);
-char *dtimenow (int);
-char *dctime (struct tws *);
-struct tws *dlocaltimenow (void);
-struct tws *dlocaltime (time_t *);
-struct tws *dgmtime (time_t *);
-char *dasctime (struct tws *, int);
-char *dtimezone (int, int);
-int twsort (struct tws *, struct tws *);
-time_t dmktime (struct tws *);
-void set_dotw (struct tws *);
-
struct tws *dparsetime (char *);
*/
#include "h/mh.h"
+#include "dtime.h"
#include "error.h"
#include "h/icalendar.h"
#include "h/fmt_scan.h"
*/
#include "h/mh.h"
+#include "dtime.h"
#include "h/nmh.h"
#include "h/utils.h"
#include "h/tws.h"
--- /dev/null
+/* dtime.h -- time/date routines
+ *
+ * This code is Copyright (c) 2017, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information. */
+
+extern char *tw_moty[];
+extern char *tw_dotw[];
+extern char *tw_ldotw[];
+
+struct tws *dlocaltimenow(void);
+struct tws *dlocaltime(time_t *);
+struct tws *dgmtime(time_t *);
+char *dctime(struct tws *);
+char *dtimenow(int);
+char *dtime(time_t *, int);
+char *dasctime(struct tws *, int);
+char *dtimezone(int, int);
+time_t dmktime(struct tws *);
+void set_dotw(struct tws *);
+int twsort(struct tws *, struct tws *);
%{
#include "h/nmh.h"
#include "h/mh.h"
+#include "dtime.h"
#include "h/utils.h"
#include "h/tws.h"
*/
#include "h/mh.h"
+#include "dtime.h"
#include "strindex.h"
#include "fmt_rfc2047.h"
#include "uprf.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "annosbr.h"
#include "sbr/m_gmprot.h"
#include "sbr/cpydata.h"
#include "h/nmh.h"
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "sbr/strindex.h"
#include "sbr/error.h"
#include "h/utils.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "sbr/m_getfld.h"
#include "sbr/getcpy.h"
#include "sbr/error.h"
#endif
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "scansbr.h"
#include "sbr/m_name.h"
#include "sbr/m_gmprot.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "sbr/getarguments.h"
#include "sbr/smatch.h"
#include "sbr/ambigsw.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
+#include "sbr/dtime.h"
#include "sbr/m_getfld.h"
#include "sbr/smatch.h"
#include "sbr/fmt_rfc2047.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "sbr/m_getfld.h"
#include "sbr/getarguments.h"
#include "sbr/concat.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "scansbr.h"
#include "sbr/m_name.h"
#include "sbr/getarguments.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "scansbr.h"
#include "sbr/m_name.h"
#include "sbr/m_gmprot.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "sbr/m_gmprot.h"
#include "sbr/m_getfld.h"
#include "sbr/getarguments.h"
*/
#include "h/mh.h"
+#include "sbr/dtime.h"
#include "sbr/m_name.h"
#include "sbr/m_getfld.h"
#include "sbr/getarguments.h"