#include <stdio.h>
#include <string.h>
-#include <Ecore_Str.h>
-
#include "Efreet.h"
#include "efreet_private.h"
#include "efreet_xml.h"
size_t n;
for (i = 0, n = 0; n < size && strs[i]; i++)
{
- n += ecore_strlcpy(buffer + n, strs[i], size - n);
+ n += eina_strlcpy(buffer + n, strs[i], size - n);
}
return n;
}
#endif
#include <Ecore.h>
-#include <Ecore_Str.h>
#include <Ecore_File.h>
#include "Efreet.h"
int l;
int off = 0;
- l = ecore_strlcpy(dest + *len, src, *size - *len);
+ l = eina_strlcpy(dest + *len, src, *size - *len);
while (l > *size - *len)
{
dest = realloc(dest, *size);
*(dest + *len) = '\0';
- l = ecore_strlcpy(dest + *len, src + off, *size - *len);
+ l = eina_strlcpy(dest + *len, src + off, *size - *len);
}
*len += l;
#include <limits.h>
#include <Ecore.h>
-#include <Ecore_Str.h>
#include <Ecore_File.h>
#include "Efreet.h"
size = efreet_array_cat(path, sizeof(path), icon_path);
EINA_LIST_FOREACH(efreet_icon_extensions, l, ext)
{
- ecore_strlcpy(path + size, ext, sizeof(path) - size);
+ eina_strlcpy(path + size, ext, sizeof(path) - size);
if (ecore_file_exists(path))
{
EINA_LIST_FOREACH(efreet_icon_extensions, l, ext)
{
- ecore_strlcpy(file_path + len, ext, sizeof(file_path) - len);
+ eina_strlcpy(file_path + len, ext, sizeof(file_path) - len);
if (ecore_file_exists(file_path))
{
#include <dirent.h>
#include <limits.h>
-#include <Ecore_Str.h>
#include <Ecore_File.h>
#include "Efreet.h"
if (!strcmp(file->d_name, ".") || !strcmp(file->d_name, "..")) continue;
file_path[0] = '\0';
- ecore_strlcpy(file_path, path, PATH_MAX);
- ecore_strlcpy(file_path + path_len, "/", PATH_MAX - path_len);
- ecore_strlcpy(file_path + path_len + 1, file->d_name, PATH_MAX - path_len - 1);
+ eina_strlcpy(file_path, path, PATH_MAX);
+ eina_strlcpy(file_path + path_len, "/", PATH_MAX - path_len);
+ eina_strlcpy(file_path + path_len + 1, file->d_name, PATH_MAX - path_len - 1);
/* recurse into sub directories */
if (ecore_file_is_dir(file_path))