sbr/ext_hook.h \
sbr/fdcompare.h \
sbr/fmt_addr.h \
+ sbr/fmt_new.h \
sbr/fmt_rfc2047.h \
sbr/folder_addmsg.h \
sbr/folder_delmsgs.h \
void * trace_context;
};
-/*
- * Create a new format string. Arguments are:
- *
- * form - Name of format file. Will be searched by etcpath(), see that
- * function for details.
- * format - The format string to be used if no format file is given
- * default_fs - The default format string to be used if neither form nor
- * format is given
- *
- * This function also takes care of processing \ escapes like \n, \t, etc.
- *
- * Returns an allocated format string.
- */
-
-char *new_fs (char *form, char *format, char *default_fs);
-
-/*
- * Free memory allocated by new_fs(). It allocates to a static so
- * no argument is necessary.
- */
-void free_fs(void);
-
/*
* Compile a format string into a set of format instructions. Arguments are:
*
*/
#include "h/mh.h"
+#include "fmt_new.h"
#include "getcpy.h"
#include "error.h"
#include "h/utils.h"
--- /dev/null
+/* fmt_new.h -- read format file/string and normalize
+ *
+ * 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. */
+
+/*
+ * Create a new format string. Arguments are:
+ *
+ * form - Name of format file. Will be searched by etcpath(), see that
+ * function for details.
+ * format - The format string to be used if no format file is given
+ * default_fs - The default format string to be used if neither form nor
+ * format is given
+ *
+ * This function also takes care of processing \ escapes like \n, \t, etc.
+ *
+ * Returns an allocated format string.
+ */
+char *new_fs(char *, char *, char *);
+
+/*
+ * Free memory allocated by new_fs(). It allocates to a static so
+ * no argument is necessary.
+ */
+void free_fs(void);
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/getarguments.h"
#include "sbr/smatch.h"
#include "sbr/getcpy.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "whatnowproc.h"
#include "sbr/m_name.h"
#include "sbr/m_gmprot.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/getarguments.h"
#include "sbr/smatch.h"
#include "sbr/context_save.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "scansbr.h"
#include "sbr/getarguments.h"
#include "sbr/smatch.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "scansbr.h"
#include "sbr/m_name.h"
#include "sbr/m_getfld.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/dtime.h"
#include "sbr/m_getfld.h"
#include "sbr/getcpy.h"
#endif
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/dtime.h"
#include "scansbr.h"
#include "sbr/m_name.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/getarguments.h"
#include "sbr/concat.h"
#include "sbr/smatch.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "mhlsbr.h"
#include "sbr/m_getfld.h"
#include "sbr/getarguments.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/concat.h"
#include "sbr/trimcpy.h"
#include "sbr/check_charset.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "distsbr.h"
#include "sbr/m_gmprot.h"
#include "sbr/m_getfld.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "scansbr.h"
#include "sbr/getarguments.h"
#include "sbr/smatch.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/m_name.h"
#include "sbr/m_gmprot.h"
#include "sbr/m_getfld.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sbr/dtime.h"
#include "scansbr.h"
#include "sbr/m_name.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_new.h"
#include "sendsbr.h"
#include "distsbr.h"
#include "annosbr.h"