summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-10-10 05:28:43 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-10-10 05:28:43 +0000
commit4072d0b23d3c3803932c6f82ec89555b52e3b8a2 (patch)
treeee18a18b8d3d63083a276c94f0387ff5d5636185 /legacy/ecore/src/lib/ecore_file/ecore_file_private.h
parent1d869a9ab18b75ac4c6da60f99841f212ba43eaf (diff)
* check the returned value of the _init() functions
* simplify a bit the init/shutdown functions SVN revision: 42995
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.h17
1 files changed, 11 insertions, 6 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 22d3b30d47..6b781a2eb1 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
@@ -1,3 +1,6 @@
1#ifndef ECORE_FILE_PRIVATE_H_
2#define ECORE_FILE_PRIVATE_H_
3
1#ifndef _FILE_OFFSET_BITS 4#ifndef _FILE_OFFSET_BITS
2# define _FILE_OFFSET_BITS 64 5# define _FILE_OFFSET_BITS 64
3#endif 6#endif
@@ -16,8 +19,8 @@
16#include "Ecore_File.h" 19#include "Ecore_File.h"
17 20
18/* ecore_file_monitor */ 21/* ecore_file_monitor */
19int ecore_file_monitor_init(void); 22int ecore_file_monitor_init(void);
20int ecore_file_monitor_shutdown(void); 23void ecore_file_monitor_shutdown(void);
21 24
22#define ECORE_FILE_MONITOR(x) ((Ecore_File_Monitor *)(x)) 25#define ECORE_FILE_MONITOR(x) ((Ecore_File_Monitor *)(x))
23 26
@@ -66,12 +69,14 @@ Ecore_File_Monitor *ecore_file_monitor_poll_add(const char *path,
66 void *data); 69 void *data);
67void ecore_file_monitor_poll_del(Ecore_File_Monitor *ecore_file_monitor); 70void ecore_file_monitor_poll_del(Ecore_File_Monitor *ecore_file_monitor);
68 71
72#endif
73
69/* ecore_file_path */ 74/* ecore_file_path */
70int ecore_file_path_init(void); 75void ecore_file_path_init(void);
71int ecore_file_path_shutdown(void); 76void ecore_file_path_shutdown(void);
72 77
73/* ecore_file_download */ 78/* ecore_file_download */
74int ecore_file_download_init(void); 79int ecore_file_download_init(void);
75int ecore_file_download_shutdown(void); 80void ecore_file_download_shutdown(void);
76 81
77#endif 82#endif