summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-04-16 17:59:10 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-04-16 17:59:28 +0100
commit6559f64d2806773775f2823288db382214c00d55 (patch)
treed98e40fd4e47b9a6a3fcfd6a3992b8be3c161b3a /src/lib/evil
parentd31adef9fe10de3e989f29e911661208890176c8 (diff)
evil: remove tmp and home dir get
Summary: eina implement them for all OSes Test Plan: compilation Reviewers: raster, cedric, zmike Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8621
Diffstat (limited to 'src/lib/evil')
-rw-r--r--src/lib/evil/evil_util.c13
-rw-r--r--src/lib/evil/evil_util.h53
2 files changed, 0 insertions, 66 deletions
diff --git a/src/lib/evil/evil_util.c b/src/lib/evil/evil_util.c
index e47475371a..7add78f888 100644
--- a/src/lib/evil/evil_util.c
+++ b/src/lib/evil/evil_util.c
@@ -168,19 +168,6 @@ _evil_last_error_display(const char *fct)
168 fprintf(stderr, "[Evil] [%s] ERROR: %s\n", fct, evil_last_error_get()); 168 fprintf(stderr, "[Evil] [%s] ERROR: %s\n", fct, evil_last_error_get());
169} 169}
170 170
171
172const char *
173evil_tmpdir_get(void)
174{
175 return NULL;
176}
177
178const char *
179evil_homedir_get(void)
180{
181 return NULL;
182}
183
184int 171int
185evil_path_is_absolute(const char *path) 172evil_path_is_absolute(const char *path)
186{ 173{
diff --git a/src/lib/evil/evil_util.h b/src/lib/evil/evil_util.h
index e1fdf26387..5709371f18 100644
--- a/src/lib/evil/evil_util.h
+++ b/src/lib/evil/evil_util.h
@@ -64,59 +64,6 @@ EAPI const char *evil_format_message(long err);
64EAPI const char *evil_last_error_get(void); 64EAPI const char *evil_last_error_get(void);
65 65
66/** 66/**
67 * @brief Return a dir to store temporary files.
68 *
69 * @return The directory to store temporary files.
70 *
71 * Return a directory to store temporary files. The function gets
72 * the value of the following environment variables, and in that order:
73 * - TMP
74 * - TEMP
75 * - USERPROFILE
76 * - WINDIR
77 * and returns its value if it exists. If none exists, the function
78 * returns "C:\".
79 *
80 * Conformity: Non applicable.
81 *
82 * Supported OS: Windows 95, Windows 98, Windows Me, Windows NT, Windows 2000,
83 * Windows XP.
84
85 * @deprecated
86 * This function is deprecated and returns @c NULL.
87 * Use eina_environment_tmp_get() instead.
88 *
89 * @ingroup Evil
90 */
91EAPI const char *evil_tmpdir_get(void);
92
93/**
94 * @brief Return a dir to store personal files.
95 *
96 * @return The directory to store personal files.
97 *
98 * Return a directory to store personal files. The function gets
99 * the value of the following environment variables, and in that order:
100 * - HOME
101 * - USERPROFILE
102 * - WINDIR
103 * and returns its value if it exists. If none exists, the function
104 * returns "C:\".
105 *
106 * Conformity: Non applicable.
107 *
108 * Supported OS: Windows 95, Windows 98, Windows Me, Windows NT, Windows 2000,
109 * Windows XP.
110
111 * @deprecated
112 * This function is deprecated and returns @c NULL.
113 * Use eina_environment_home_get() instead.
114 *
115 * @ingroup Evil
116 */
117EAPI const char *evil_homedir_get(void);
118
119/**
120 * @brief check if the given path is absolute. 67 * @brief check if the given path is absolute.
121 * 68 *
122 * @param path The path to check. 69 * @param path The path to check.