summaryrefslogtreecommitdiff
path: root/src/lib/escape/escape_libgen.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-12-02 22:35:45 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-12-02 22:35:45 +0000
commit7d6010b12c47a20e492da808e3192c3f87dab619 (patch)
tree26c6fd189e046a76560c0bc740b85f4d767ae399 /src/lib/escape/escape_libgen.h
parent53fc441d5475155965d92da89502fe4634a561b2 (diff)
merge: add escape ecore, fix several bugs
SVN revision: 79995
Diffstat (limited to 'src/lib/escape/escape_libgen.h')
-rw-r--r--src/lib/escape/escape_libgen.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/escape/escape_libgen.h b/src/lib/escape/escape_libgen.h
new file mode 100644
index 0000000000..0c23a76821
--- /dev/null
+++ b/src/lib/escape/escape_libgen.h
@@ -0,0 +1,32 @@
1#ifndef __ESCAPE_LIBGEN_H__
2#define __ESCAPE_LIBGEN_H__
3
4/**
5 * @file escape_libgen.h
6 * @brief The file that provides functions ported from Unix in libgen.h.
7 * @defgroup Escape_Libgen_Group Libgen.h functions.
8 *
9 * This header provides functions ported from Unix in libgen.h.
10 *
11 * @{
12 */
13
14EAPI char *escape_basename(char *path);
15
16#ifdef basename
17#undef basename
18#endif
19#define basename(p) escape_basename(p)
20
21EAPI char *escape_dirname(char *path);
22
23#ifdef dirname
24#undef dirname
25#endif
26#define dirname(p) escape_dirname(p)
27
28/**
29 * @}
30 */
31
32#endif /* __ESCAPE_LIBGEN_H__ */