summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-02-22 15:26:28 -0800
committerCedric Bail <cedric@osg.samsung.com>2018-02-22 15:26:28 -0800
commitd57b9a7d14afdc71f4da8265f7dac49deaf6a8c5 (patch)
tree334af0d0bd8987ad3b3fe35a7d17eb71778451ce /src/lib/eina
parentb575c416769bcab0eabaf7a68cc8129f81199606 (diff)
eina: make eina_vpath_interface_app_set an internal function.
I am wondering if this one shouldn't even be a private one and directly used by eina_prefix.
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_internal.h19
-rw-r--r--src/lib/eina/eina_vpath.h17
2 files changed, 19 insertions, 17 deletions
diff --git a/src/lib/eina/eina_internal.h b/src/lib/eina/eina_internal.h
index 79ec98a7bd..0c5adbb1cd 100644
--- a/src/lib/eina/eina_internal.h
+++ b/src/lib/eina/eina_internal.h
@@ -41,6 +41,8 @@
41# endif 41# endif
42#endif 42#endif
43 43
44#include "eina_prefix.h"
45
44typedef struct _Eina_Vpath_Interface_User Eina_Vpath_Interface_User; 46typedef struct _Eina_Vpath_Interface_User Eina_Vpath_Interface_User;
45 47
46struct _Eina_Vpath_Interface_User 48struct _Eina_Vpath_Interface_User
@@ -69,6 +71,23 @@ struct _Eina_Vpath_Interface_User
69EAPI void __eina_promise_cancel_all(void); 71EAPI void __eina_promise_cancel_all(void);
70 72
71/** 73/**
74 * Make the app specific paths accessable as virtual path
75 *
76 * This will create :
77 * - app.dir
78 * - app.bin
79 * - app.lib
80 * - app.data
81 * - app.locale
82 * - app.config
83 * - app.cache
84 * - app.local
85 *
86 * If you do NOT call this api the virtual paths for app.* will be unset
87 */
88EAPI void eina_vpath_interface_app_set(const char *app_name, Eina_Prefix *p);
89
90/**
72 * Create the desktop specific vpaths 91 * Create the desktop specific vpaths
73 * 92 *
74 * The virtual paths will be named usr.<field-name-of-struct> 93 * The virtual paths will be named usr.<field-name-of-struct>
diff --git a/src/lib/eina/eina_vpath.h b/src/lib/eina/eina_vpath.h
index c279018cf1..7927b4ad0b 100644
--- a/src/lib/eina/eina_vpath.h
+++ b/src/lib/eina/eina_vpath.h
@@ -20,23 +20,6 @@
20 */ 20 */
21typedef const char* Eina_Vpath; 21typedef const char* Eina_Vpath;
22 22
23/**
24 * Make the app specific paths accessable as virtual path
25 *
26 * This will create :
27 * - app.dir
28 * - app.bin
29 * - app.lib
30 * - app.data
31 * - app.locale
32 * - app.config
33 * - app.cache
34 * - app.local
35 *
36 * If you do NOT call this api the virtual paths for app.* will be unset
37 */
38EAPI void eina_vpath_interface_app_set(const char *app_name, Eina_Prefix *p);
39
40/* 23/*
41 * Translate a virtual path into a normal path. 24 * Translate a virtual path into a normal path.
42 * 25 *