1 #ifndef SEEN_DIR_UTIL_H
2 #define SEEN_DIR_UTIL_H
4 /*
5 * path-util.h
6 *
7 * here are functions sp_relative_path & cousins
8 * maybe they are already implemented in standard libs
9 *
10 */
12 #include <stdlib.h>
13 #include <glib/gtypes.h>
15 char const *sp_relative_path_from_path(char const *path, char const *base);
16 char const *sp_extension_from_path(char const *path);
17 char *inkscape_rel2abs(char const *path, char const *base, char *result, size_t const size);
18 char *inkscape_abs2rel(char const *path, char const *base, char *result, size_t const size);
19 gchar *prepend_current_dir_if_relative(gchar const *filename);
22 #endif /* !SEEN_DIR_UTIL_H */
24 /*
25 Local Variables:
26 mode:c++
27 c-file-style:"stroustrup"
28 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
29 indent-tabs-mode:nil
30 fill-column:99
31 End:
32 */
33 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :