Use new mdup(3mLib) function.
[fwd] / fwd.h
diff --git a/fwd.h b/fwd.h
index 2da55a3..6c16fb6 100644 (file)
--- a/fwd.h
+++ b/fwd.h
@@ -87,6 +87,7 @@
 #include <mLib/fdflags.h>
 #include <mLib/fdpass.h>
 #include <mLib/ident.h>
+#include <mLib/mdup.h>
 #include <mLib/mdwopt.h>
 #include <mLib/quis.h>
 #include <mLib/report.h>
@@ -565,6 +566,18 @@ extern int conf_prefix(scanner */*sc*/, const char */*p*/);
 
 extern void conf_name(scanner */*sc*/, char /*delim*/, dstr */*d*/);
 
+/* --- @conf_fname@ --- *
+ *
+ * Arguments:  @scanner *sc@ = pointer to scanner
+ *             @dstr *d@ = pointer to dynamic string for output
+ *
+ * Returns:    ---
+ *
+ * Use:                Reads a file name from the input and stores it in @d@.
+ */
+
+extern void conf_fname(scanner */*sc*/, dstr */*d*/);
+
 /*----- Reference-counted file descriptors --------------------------------*/
 
 typedef struct reffd {