summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_internal.h
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-02-22 14:57:36 -0800
committerCedric Bail <cedric@osg.samsung.com>2018-02-22 14:57:36 -0800
commitb575c416769bcab0eabaf7a68cc8129f81199606 (patch)
tree39a8181606b38d8e86739385e1b4195532199179 /src/lib/eina/eina_internal.h
parent16f604f4690e09eff4cdd6169ef936d99dbf58c4 (diff)
eina: make eina_vpath_interface_user_set an internal API.
Diffstat (limited to 'src/lib/eina/eina_internal.h')
-rw-r--r--src/lib/eina/eina_internal.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/eina/eina_internal.h b/src/lib/eina/eina_internal.h
index b5bdbad414..79ec98a7bd 100644
--- a/src/lib/eina/eina_internal.h
+++ b/src/lib/eina/eina_internal.h
@@ -41,6 +41,24 @@
41# endif 41# endif
42#endif 42#endif
43 43
44typedef struct _Eina_Vpath_Interface_User Eina_Vpath_Interface_User;
45
46struct _Eina_Vpath_Interface_User
47{
48 const char *desktop;
49 const char *documents;
50 const char *downloads;
51 const char *music;
52 const char *pictures;
53 const char *pub;
54 const char *templates;
55 const char *videos;
56 const char *data;
57 const char *config;
58 const char *cache;
59 const char *run;
60};
61
44/** 62/**
45 * @brief Cancels all pending promise/futures. 63 * @brief Cancels all pending promise/futures.
46 * 64 *
@@ -50,6 +68,15 @@
50 */ 68 */
51EAPI void __eina_promise_cancel_all(void); 69EAPI void __eina_promise_cancel_all(void);
52 70
71/**
72 * Create the desktop specific vpaths
73 *
74 * The virtual paths will be named usr.<field-name-of-struct>
75 *
76 * If you do NOT call this api the virtual paths for usr.* will be unset.
77 */
78EAPI void eina_vpath_interface_user_set(Eina_Vpath_Interface_User *user);
79
53#undef EAPI 80#undef EAPI
54#define EAPI 81#define EAPI
55 82