mikroSDK Reference Manual
path.h
Go to the documentation of this file.
1
29#ifndef _PATH_H
30#define _PATH_H
31
32//Dependencies
33#include "os_port.h"
34
35//C++ guard
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40//Path manipulation helper functions
41bool_t pathIsAbsolute(const char_t *path);
42bool_t pathIsRelative(const char_t *path);
43
44const char_t *pathGetFilename(const char_t *path);
45void pathRemoveFilename(char_t *path);
46
47void pathCopy(char_t *dest, const char_t *src, size_t maxLen);
48
49void pathCanonicalize(char_t *path);
50
51void pathAddSlash(char_t *path, size_t maxLen);
52void pathRemoveSlash(char_t *path);
53
54void pathCombine(char_t *path, const char_t *more, size_t maxLen);
55
56bool_t pathMatch(const char_t *path, const char_t *pattern);
57
58//C++ guard
59#ifdef __cplusplus
60}
61#endif
62
63#endif
RTOS abstraction layer.