Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

dir-util.cpp File Reference

Utility functions for filenames. More...

#include <errno.h>
#include <string>
#include <cstring>
#include <glib/gutils.h>
#include <glib/gmem.h>
#include <glib/gerror.h>
#include <glib/gconvert.h>
#include <glib/gstrfuncs.h>
Include dependency graph for dir-util.cpp:

Go to the source code of this file.


char * inkscape_abs2rel (const char *path, const char *base, char *result, const size_t size)
char * inkscape_rel2abs (const char *path, const char *base, char *result, const size_t size)
 Convert a relative path name into absolute. If path is already absolute, does nothing except copying path to result.
gchar * prepend_current_dir_if_relative (gchar const *uri)
char const * sp_extension_from_path (char const *const path)
char const * sp_relative_path_from_path (char const *const path, char const *const base)


static char const *const current = dots + 1
static char const dots [] = {'.', '.', G_DIR_SEPARATOR, '\0'}
static char const *const parent = dots

Detailed Description

Utility functions for filenames.

Definition in file dir-util.cpp.

Generated by  Doxygen 1.6.0   Back to index