ECP-VELOC Components
User documentation for all components
|
Go to the documentation of this file.
12 #define SPATH_SUCCESS (0)
13 #define SPATH_FAILURE (1)
15 #define SPATH_VERSION "0.1.0"
101 size_t spath_strcpy(
char* buf,
size_t n,
const spath* path);
117 int spath_insert(spath* path1,
int offset,
const spath* ptr_path2);
159 int spath_slice(spath* path,
int offset,
int length);
170 spath*
spath_sub(spath* path,
int offset,
int length);
174 spath*
spath_cut(spath* path,
int offset);
spath * spath_sub(spath *path, int offset, int length)
struct spath_elem_struct * next
int spath_is_absolute(const spath *path)
int spath_reduce(spath *path)
int spath_prepend(spath *path1, const spath *ptr_path2)
size_t spath_strlen(const spath *path)
spath * spath_from_strf(const char *format,...)
int spath_append(spath *path1, const spath *ptr_path2)
int spath_realpath(spath *path)
int spath_insert_str(spath *path, int offset, const char *str)
size_t spath_strcpy(char *buf, size_t n, const spath *path)
int spath_dirname(spath *path)
int spath_basename(spath *path)
struct spath_elem_struct * prev
int spath_delete(spath **ptr_path)
int spath_prepend_str(spath *path, const char *str)
int spath_append_strf(spath *path, const char *format,...)
spath * spath_relative(const spath *src, const spath *dst)
int spath_prepend_strf(spath *path, const char *format,...)
int spath_slice(spath *path, int offset, int length)
int spath_append_str(spath *path, const char *str)
int spath_insert(spath *path1, int offset, const spath *ptr_path2)
char * spath_strdup(const spath *path)
spath * spath_from_str(const char *str)
int spath_is_child(const spath *parent, const spath *child)
spath * spath_dup(const spath *path)
int spath_components(const spath *path)
char * spath_strdup_reduce_str(const char *str)
int spath_is_null(const spath *path)
int spath_insert_strf(spath *path, int offset, const char *format,...)
spath * spath_cut(spath *path, int offset)