aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/utils.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-24 23:08:52 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-25 22:28:41 +0200
commit1d6a1510c20794393cc45a71334724aee5bef473 (patch)
treea39f1f9ab5b9a3600c05fdc1d1200b933ebc9805 /src/blogc-make/utils.h
parentc16c86bcc01dff2a984aeffd58e2402a876cc12d (diff)
downloadblogc-1d6a1510c20794393cc45a71334724aee5bef473.tar.gz
blogc-1d6a1510c20794393cc45a71334724aee5bef473.tar.bz2
blogc-1d6a1510c20794393cc45a71334724aee5bef473.zip
make: added utilitary function to generate filenames
Diffstat (limited to 'src/blogc-make/utils.h')
-rw-r--r--src/blogc-make/utils.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/blogc-make/utils.h b/src/blogc-make/utils.h
new file mode 100644
index 0000000..c15e390
--- /dev/null
+++ b/src/blogc-make/utils.h
@@ -0,0 +1,15 @@
+/*
+ * blogc: A blog compiler.
+ * Copyright (C) 2014-2017 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+ *
+ * This program can be distributed under the terms of the BSD License.
+ * See the file LICENSE.
+ */
+
+#ifndef _MAKE_UTILS_H
+#define _MAKE_UTILS_H
+
+char* bm_generate_filename(const char *dir, const char *prefix, const char *fname,
+ const char *ext);
+
+#endif /* _MAKE_UTILS_H */