summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-07-02 15:25:22 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-07-02 15:25:22 +0000
commit87b85132ddf369e207e6e592099fa455719abbbf (patch)
tree9ee3678d1f80925fc60d64e8dc444ea8704008f1 /legacy/ecore/src/lib/ecore_file/ecore_file_private.h
parent062f4c39207a4cdc746ee01ff4eda80626fc05e4 (diff)
* ecore: add ecore_file_ls_iterator.
SVN revision: 49997
Diffstat (limited to 'legacy/ecore/src/lib/ecore_file/ecore_file_private.h')
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_private.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_private.h b/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
index 072987299a..95cc1c7e09 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
@@ -13,6 +13,10 @@
13# include <Evil.h> 13# include <Evil.h>
14#endif 14#endif
15 15
16#include <sys/types.h>
17#include <sys/stat.h>
18#include <dirent.h>
19
16#include "Ecore.h" 20#include "Ecore.h"
17#include "ecore_private.h" 21#include "ecore_private.h"
18 22
@@ -78,6 +82,17 @@ struct _Ecore_File_Monitor
78 Ecore_File *files; 82 Ecore_File *files;
79}; 83};
80 84
85typedef struct _Ecore_File_Iterator Ecore_File_Iterator;
86struct _Ecore_File_Iterator
87{
88 Eina_Iterator iterator;
89
90 DIR *dirp;
91 int length;
92
93 char dir[1];
94};
95
81#ifdef HAVE_INOTIFY 96#ifdef HAVE_INOTIFY
82int ecore_file_monitor_inotify_init(void); 97int ecore_file_monitor_inotify_init(void);
83int ecore_file_monitor_inotify_shutdown(void); 98int ecore_file_monitor_inotify_shutdown(void);