aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/utils.h
blob: cbcfc0ea3bca9d78c896fc4873ef9bfa23bcca9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * blogc: A blog compiler.
 * Copyright (C) 2014-2019 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

#include "../common/error.h"

char* bm_generate_filename(const char *dir, const char *prefix, const char *fname,
    const char *ext);
char* bm_generate_filename2(const char *dir, const char *prefix, const char *fname,
    const char *prefix2, const char *fname2, const char *ext);
char* bm_abspath(const char *path, bc_error_t **err);

#endif /* _MAKE_UTILS_H */