Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore.c ecore_anim.c ecore_app.c ecore_events.c ecore_exe.c 
        ecore_hash.c ecore_idle_enterer.c ecore_idle_exiter.c 
        ecore_idler.c ecore_list.c ecore_main.c ecore_path.c 
        ecore_plugin.c ecore_sheap.c ecore_strings.c ecore_time.c 
        ecore_timer.c ecore_tree.c ecore_value.c 


Log Message:


fix up some warnings

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ecore.c     6 Jan 2006 13:56:47 -0000       1.12
+++ ecore.c     6 Jan 2006 17:58:12 -0000       1.13
@@ -40,7 +40,7 @@
  * }
  * @endcode
  */
-int
+EAPI int
 ecore_init(void)
 {
    if (++_ecore_init_count == 1)
@@ -70,7 +70,7 @@
  * Do not call this function from any callback that may be called from the main
  * loop, as the main loop will then fall over and not function properly.
  */
-int
+EAPI int
 ecore_shutdown(void)
 {
    if (--_ecore_init_count)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_anim.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ecore_anim.c        30 Aug 2005 10:05:25 -0000      1.4
+++ ecore_anim.c        6 Jan 2006 17:58:12 -0000       1.5
@@ -25,7 +25,7 @@
  * 0 it will be deleted automatically making any references/handles for it
  * invalid.
  */
-Ecore_Animator *
+EAPI Ecore_Animator *
 ecore_animator_add(int (*func) (void *data), const void *data)
 {
    Ecore_Animator *animator;
@@ -54,7 +54,7 @@
  * call returns the specified animator object @p animator is invalid and 
should not
  * be used again. It will not get called again after deletion.
  */
-void *
+EAPI void *
 ecore_animator_del(Ecore_Animator *animator)
 {
    if (!ECORE_MAGIC_CHECK(animator, ECORE_MAGIC_ANIMATOR))
@@ -75,7 +75,7 @@
  * 
  * This function sets the time interval (in seconds) inbetween animator ticks.
  */
-void
+EAPI void
 ecore_animator_frametime_set(double frametime)
 {
    if (frametime < 0.0) frametime = 0.0;
@@ -96,7 +96,7 @@
  * 
  * this function retrieves the time inbetween animator ticks, in seconds.
  */
-double
+EAPI double
 ecore_animator_frametime_get(void)
 {
    return animators_frametime;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_app.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ecore_app.c 25 Nov 2004 04:07:54 -0000      1.5
+++ ecore_app.c 6 Jan 2006 17:58:12 -0000       1.6
@@ -12,7 +12,7 @@
  * A call to this function will store the programs command-line arguments
  * for later use by ecore_app_restart() or ecore_app_args_get().
  */
-void
+EAPI void
 ecore_app_args_set(int argc, const char **argv)
 {
    if ((argc < 1) ||
@@ -32,7 +32,7 @@
  * also if the pointer is not NULL. The values they are filled with will be the
  * same set by ecore_app_args_set().
  */
-void
+EAPI void
 ecore_app_args_get(int *argc, char ***argv)
 {
    if (argc) *argc = app_argc;
@@ -49,7 +49,7 @@
  * 
  * FIXME: Currently not implimented.
  */
-void
+EAPI void
 ecore_app_restart(void)
 {
    char **args;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_events.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ecore_events.c      30 Aug 2005 10:05:26 -0000      1.19
+++ ecore_events.c      6 Jan 2006 17:58:12 -0000       1.20
@@ -40,7 +40,7 @@
  * particular event, so all handler set to handle that event type that have not
  * already been called, will not be.
  */
-Ecore_Event_Handler *
+EAPI Ecore_Event_Handler *
 ecore_event_handler_add(int type, int (*func) (void *data, int type, void 
*event), const void *data)
 {
    Ecore_Event_Handler *eh;
@@ -90,7 +90,7 @@
  * handler was added by ecore_event_handler_add(). On failure NULL will be
  * returned. Once a handler is deleted it will no longer be called.
  */
-void *
+EAPI void *
 ecore_event_handler_del(Ecore_Event_Handler *event_handler)
 {
    Ecore_List2_Data *node;
@@ -131,7 +131,7 @@
  * with the private structure pointer.
  * func_free is passed @p data as its data parameter.
  */
-Ecore_Event *
+EAPI Ecore_Event *
 ecore_event_add(int type, void *ev, void (*func_free) (void *data, void *ev), 
void *data)
 {
    if (!ev) return NULL;
@@ -152,7 +152,7 @@
  * cleanup, and so if the free function depends on the data pointer to work,
  * you should defer cleaning of this till the free function is called later.
  */
-void *
+EAPI void *
 ecore_event_del(Ecore_Event *event)
 {
    if (!ECORE_MAGIC_CHECK(event, ECORE_MAGIC_EVENT)) 
@@ -175,7 +175,7 @@
  * it is calculated, except that the ID will be unique to the current instance
  * of the process.
  */
-int
+EAPI int
 ecore_event_type_new(void)
 {
    event_id_max++;
@@ -202,7 +202,7 @@
  * processing is finished @p func_end is called and is passed the loop_data
  * and @p data pointer to clean up.
  */
-Ecore_Event_Filter *
+EAPI Ecore_Event_Filter *
 ecore_event_filter_add(void * (*func_start) (void *data), int (*func_filter) 
(void *data, void *loop_data, int type, void *event), void (*func_end) (void 
*data, void *loop_data), const void *data)
 {
    Ecore_Event_Filter *ef;
@@ -228,7 +228,7 @@
  * will return the data pointer set when this filter was added. On failure
  * NULL is returned.
  */
-void *
+EAPI void *
 ecore_event_filter_del(Ecore_Event_Filter *ef)
 {   
    if (!ECORE_MAGIC_CHECK(ef, ECORE_MAGIC_EVENT_FILTER))
@@ -256,7 +256,7 @@
  * the program know if the event type being handled is one it wants to get more
  * information about.
  */
-int
+EAPI int
 ecore_event_current_type_get(void)
 {
    return ecore_raw_event_type;
@@ -276,7 +276,7 @@
  * the program access the event data if the type of the event is handled by
  * the program.
  */
-void *
+EAPI void *
 ecore_event_current_event_get(void)
 {
    return ecore_raw_event_event;
@@ -476,7 +476,7 @@
 }
 #endif
 
-void *
+EAPI void *
 _ecore_event_signal_user_new(void)
 {
    Ecore_Event_Signal_User *e;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_exe.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- ecore_exe.c 6 Jan 2006 13:56:47 -0000       1.35
+++ ecore_exe.c 6 Jan 2006 17:58:12 -0000       1.36
@@ -27,7 +27,7 @@
 /* FIXME: This errno checking stuff should be put elsewhere for everybody to 
use.
  * For now it lives here though, just to make testing easier.
  */
-int _ecore_exe_check_errno(int result, char *file, int line);
+static int _ecore_exe_check_errno(int result, char *file, int line);
 #define E_IF_NO_ERRNO(result, foo, ok) \
   while (((ok) = _ecore_exe_check_errno( (result) = (foo), __FILE__, 
__LINE__)) == -1)   sleep(1); \
   if (ok)
@@ -38,7 +38,8 @@
 #define E_IF_NO_ERRNO_NOLOOP(result, foo, ok) \
   if (((ok) = _ecore_exe_check_errno( (result) = (foo), __FILE__, __LINE__)))
 
-int _ecore_exe_check_errno(int result, char *file, int line)
+static int
+_ecore_exe_check_errno(int result, char *file, int line)
 {
    int saved_errno = errno;
 
@@ -187,7 +188,7 @@
  * @return  A process handle to the spawned process.
  * @ingroup Ecore_Exe_Basic_Group
  */
-Ecore_Exe *
+EAPI Ecore_Exe *
 ecore_exe_run(const char *exe_cmd, const void *data)
 {
    Ecore_Exe *exe;
@@ -235,7 +236,7 @@
  * @return  A process handle to the spawned process.
  * @ingroup Ecore_Exe_Basic_Group
  */
-Ecore_Exe *
+EAPI Ecore_Exe *
 ecore_exe_pipe_run(const char *exe_cmd, Ecore_Exe_Flags flags, const void 
*data)
 {
 /* FIXME: Maybe we should allow STDERR reading as well. */
@@ -424,7 +425,7 @@
  * @return 1 if successful, 0 on failure.
  * @ingroup Ecore_Exe_Basic_Group
  */
-int
+EAPI int
 ecore_exe_send(Ecore_Exe *exe, void *data, int size)
 {
    void *buf;
@@ -448,7 +449,7 @@
  * @param exe  The child process
  * @ingroup Ecore_Exe_Basic_Group
  */
-void
+EAPI void
 ecore_exe_close_stdin(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -468,7 +469,7 @@
  * @param   tag The string tag to set on the process handle.
  * @ingroup Ecore_Exe_Basic_Group
  */
-void
+EAPI void
 ecore_exe_tag_set(Ecore_Exe *exe, const char *tag)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -491,7 +492,7 @@
  * @return  The string attached to @p exe.
  * @ingroup Ecore_Exe_Basic_Group
  */
-char *
+EAPI char *
 ecore_exe_tag_get(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -514,7 +515,7 @@
  *          called.
  * @ingroup Ecore_Exe_Basic_Group
  */
-void *
+EAPI void *
 ecore_exe_free(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -532,7 +533,7 @@
  * @return  The process ID on success.  @c -1 otherwise.
  * @ingroup Ecore_Exe_Basic_Group
  */
-pid_t
+EAPI pid_t
 ecore_exe_pid_get(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -550,7 +551,7 @@
  * @return  The data pointer attached to @p exe.
  * @ingroup Ecore_Exe_Basic_Group
  */
-void *
+EAPI void *
 ecore_exe_data_get(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -573,7 +574,7 @@
  * @param   exe Process handle to the given process.
  * @ingroup Ecore_Exe_Signal_Group
  */
-void
+EAPI void
 ecore_exe_pause(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -590,7 +591,7 @@
  * @param   exe Process handle to the given process.
  * @ingroup Ecore_Exe_Signal_Group
  */
-void
+EAPI void
 ecore_exe_continue(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -607,7 +608,7 @@
  * @param   exe Process handle to the given process.
  * @ingroup Ecore_Exe_Signal_Group
  */
-void
+EAPI void
 ecore_exe_terminate(Ecore_Exe *exe)
 {
    struct _ecore_exe_dead_exe *dead;
@@ -635,7 +636,7 @@
  * @param   exe Process handle to the given process.
  * @ingroup Ecore_Exe_Signal_Group
  */
-void
+EAPI void
 ecore_exe_kill(Ecore_Exe *exe)
 {
    struct _ecore_exe_dead_exe *dead;
@@ -665,7 +666,7 @@
  *              the signal will be ignored.
  * @ingroup Ecore_Exe_Signal_Group
  */
-void
+EAPI void
 ecore_exe_signal(Ecore_Exe *exe, int num)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -685,7 +686,7 @@
  * @param   exe Process handle to the given process.
  * @ingroup Ecore_Exe_Signal_Group
  */
-void
+EAPI void
 ecore_exe_hup(Ecore_Exe *exe)
 {
    if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
@@ -974,7 +975,7 @@
                                       int last = 0;
                                       char *c;
 
-                                       c = inbuf;
+                                       c = (char *)inbuf;
                                       for (i = 0; i < inbuf_num; i++) /* Find 
the lines. */
                                          {
                                             if (inbuf[i] == '\n')
@@ -1002,7 +1003,7 @@
                                                   e->lines[count].line = c;
                                                   e->lines[count].size = i - 
last;
                                                   last = i + 1;
-                                                  c = &inbuf[last];
+                                                  c = (char *)&inbuf[last];
                                                   count++;
                                                }
                                          }
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_hash.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ecore_hash.c        2 Dec 2005 15:35:50 -0000       1.22
+++ ecore_hash.c        6 Jan 2006 17:58:12 -0000       1.23
@@ -48,7 +48,7 @@
  * @return @c NULL on error, a new hash on success.
  * @ingroup Ecore_Data_Hash_ADT_Creation_Group
  */
-Ecore_Hash *ecore_hash_new(Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare)
+EAPI Ecore_Hash *ecore_hash_new(Ecore_Hash_Cb hash_func, Ecore_Compare_Cb 
compare)
 {
        Ecore_Hash *new_hash = (Ecore_Hash *)malloc(sizeof(Ecore_Hash));
        if (!new_hash)
@@ -70,7 +70,7 @@
  * @return  @c TRUE on success, @c FALSE on an error.
  * @ingroup Ecore_Data_Hash_ADT_Creation_Group
  */
-int ecore_hash_init(Ecore_Hash *hash, Ecore_Hash_Cb hash_func, 
Ecore_Compare_Cb compare)
+EAPI int ecore_hash_init(Ecore_Hash *hash, Ecore_Hash_Cb hash_func, 
Ecore_Compare_Cb compare)
 {
        CHECK_PARAM_POINTER_RETURN("hash", hash, FALSE);
 
@@ -100,7 +100,7 @@
  * @return  @c TRUE on success, @c FALSE on error.
  * @ingroup Ecore_Data_Hash_ADT_Destruction_Group
  */
-int ecore_hash_set_free_key(Ecore_Hash *hash, Ecore_Free_Cb function)
+EAPI int ecore_hash_set_free_key(Ecore_Hash *hash, Ecore_Free_Cb function)
 {
        CHECK_PARAM_POINTER_RETURN("hash", hash, FALSE);
        CHECK_PARAM_POINTER_RETURN("function", function, FALSE);
@@ -119,7 +119,7 @@
  * @return  @c TRUE on success, @c FALSE on error
  * @ingroup Ecore_Data_Hash_ADT_Destruction_Group
  */
-int ecore_hash_set_free_value(Ecore_Hash *hash, Ecore_Free_Cb function)
+EAPI int ecore_hash_set_free_value(Ecore_Hash *hash, Ecore_Free_Cb function)
 {
        CHECK_PARAM_POINTER_RETURN("hash", hash, FALSE);
        CHECK_PARAM_POINTER_RETURN("function", function, FALSE);
@@ -145,7 +145,7 @@
  * @return  @c TRUE if successful, @c FALSE if not.
  * @ingroup Ecore_Data_Hash_ADT_Data_Group
  */
-int ecore_hash_set(Ecore_Hash *hash, void *key, void *value)
+EAPI int ecore_hash_set(Ecore_Hash *hash, void *key, void *value)
 {
        int ret = FALSE;
        Ecore_Hash_Node *node;
@@ -172,7 +172,7 @@
  * @return  @c TRUE on success, @c FALSE on error.
  * @ingroup Ecore_Data_Hash_ADT_Destruction_Group
  */
-void ecore_hash_destroy(Ecore_Hash *hash)
+EAPI void ecore_hash_destroy(Ecore_Hash *hash)
 {
        unsigned int i = 0;
 
@@ -223,7 +223,7 @@
  * @return  TRUE on success, FALSE otherwise.
  * @ingroup Ecore_Data_Hash_ADT_Traverse_Group
  */
-int ecore_hash_for_each_node(Ecore_Hash *hash, Ecore_For_Each for_each_func,
+EAPI int ecore_hash_for_each_node(Ecore_Hash *hash, Ecore_For_Each 
for_each_func,
                                                                                
                                 void *user_data)
 {
        unsigned int i = 0;
@@ -255,7 +255,7 @@
  * @return  new ecore_list on success, NULL otherwise
  * @ingroup Ecore_Data_Hash_ADT_Traverse_Group
  */
-Ecore_List *ecore_hash_keys(Ecore_Hash *hash)
+EAPI Ecore_List *ecore_hash_keys(Ecore_Hash *hash)
 {
        unsigned int i = 0;
        Ecore_List *keys;
@@ -288,7 +288,7 @@
  * Prints the distribution of the given hash table for graphing.
  * @param hash The given hash table.
  */
-void
+EAPI void
 ecore_hash_dump_graph(Ecore_Hash *hash)
 {
        unsigned int i;
@@ -360,7 +360,7 @@
  * @return  The value corresponding to key on success, @c NULL otherwise.
  * @ingroup Ecore_Data_Hash_ADT_Data_Group
  */
-void *ecore_hash_get(Ecore_Hash *hash, void *key)
+EAPI void *ecore_hash_get(Ecore_Hash *hash, void *key)
 {
        void *data;
        Ecore_Hash_Node *node;
@@ -388,7 +388,7 @@
  *          returned if there is an error.
  * @ingroup Ecore_Data_Hash_ADT_Data_Group
  */
-void *ecore_hash_remove(Ecore_Hash *hash, void *key)
+EAPI void *ecore_hash_remove(Ecore_Hash *hash, void *key)
 {
        Ecore_Hash_Node *node = NULL;
        Ecore_Hash_Node *list;
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_idle_enterer.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ecore_idle_enterer.c        30 Aug 2005 10:05:26 -0000      1.6
+++ ecore_idle_enterer.c        6 Jan 2006 17:58:12 -0000       1.7
@@ -12,7 +12,7 @@
  *          NULL is returned.
  * @ingroup Idle_Group
  */
-Ecore_Idle_Enterer *
+EAPI Ecore_Idle_Enterer *
 ecore_idle_enterer_add(int (*func) (void *data), const void *data)
 {
    Ecore_Idle_Enterer *ie;
@@ -34,7 +34,7 @@
  *          NULL otherwise.
  * @ingroup Idle_Group
  */
-void *
+EAPI void *
 ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer)
 {
    if (!ECORE_MAGIC_CHECK(idle_enterer, ECORE_MAGIC_IDLE_ENTERER))
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_idle_exiter.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ecore_idle_exiter.c 30 Aug 2005 10:05:26 -0000      1.4
+++ ecore_idle_exiter.c 6 Jan 2006 17:58:12 -0000       1.5
@@ -11,7 +11,7 @@
  * @return A handle to the idle exiter callback on success.  NULL otherwise.
  * @ingroup Idle_Group
  */
-Ecore_Idle_Exiter *
+EAPI Ecore_Idle_Exiter *
 ecore_idle_exiter_add(int (*func) (void *data), const void *data)
 {
    Ecore_Idle_Exiter *ie;
@@ -33,7 +33,7 @@
  *         successful.  NULL otherwise.
  * @ingroup Idle_Group
  */
-void *
+EAPI void *
 ecore_idle_exiter_del(Ecore_Idle_Exiter *idle_exiter)
 {
    if (!ECORE_MAGIC_CHECK(idle_exiter, ECORE_MAGIC_IDLE_EXITER))
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_idler.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ecore_idler.c       30 Aug 2005 10:05:26 -0000      1.6
+++ ecore_idler.c       6 Jan 2006 17:58:12 -0000       1.7
@@ -11,7 +11,7 @@
  * @return A idler handle if successfully added.  NULL otherwise.
  * @ingroup Idle_Group
  */
-Ecore_Idler *
+EAPI Ecore_Idler *
 ecore_idler_add(int (*func) (void *data), const void *data)
 {
    Ecore_Idler *ie;
@@ -33,7 +33,7 @@
  *         otherwise.
  * @ingroup Idle_Group
  */
-void *
+EAPI void *
 ecore_idler_del(Ecore_Idler *idler)
 {
    if (!ECORE_MAGIC_CHECK(idler, ECORE_MAGIC_IDLER))
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_list.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ecore_list.c        6 Sep 2005 21:00:55 -0000       1.20
+++ ecore_list.c        6 Jan 2006 17:58:12 -0000       1.21
@@ -32,7 +32,7 @@
 static void *_ecore_dlist_goto_index(Ecore_DList *list, int index);
 
 /* XXX: Begin deprecated code */
-void *
+EAPI void *
 _ecore_list2_append(void *in_list, void *in_item)
 {
    Ecore_List2 *l, *new_l;
@@ -56,7 +56,7 @@
    return list;
 }
 
-void *
+EAPI void *
 _ecore_list2_prepend(void *in_list, void *in_item)
 {
    Ecore_List2 *new_l;
@@ -79,7 +79,7 @@
    return new_l;
 }
 
-void *
+EAPI void *
 _ecore_list2_append_relative(void *in_list, void *in_item, void *in_relative)
 {
    Ecore_List2 *l;
@@ -112,7 +112,7 @@
    return _ecore_list2_append(list, item);
 }
 
-void *
+EAPI void *
 _ecore_list2_prepend_relative(void *in_list, void *in_item, void *in_relative)
 {
    Ecore_List2 *l;
@@ -154,7 +154,7 @@
    return _ecore_list2_prepend(list, item);
 }
 
-void *
+EAPI void *
 _ecore_list2_remove(void *in_list, void *in_item)
 {
    Ecore_List2 *return_l;
@@ -187,7 +187,7 @@
    return return_l;
 }
 
-void *
+EAPI void *
 _ecore_list2_find(void *in_list, void *in_item)
 {
    Ecore_List2 *l;
@@ -214,7 +214,7 @@
  * @return  A new initialized list on success, @c NULL on failure.
  * @ingroup Ecore_Data_List_Creation_Group
  */
-Ecore_List *ecore_list_new()
+EAPI Ecore_List *ecore_list_new()
 {
        Ecore_List *list;
 
@@ -236,7 +236,7 @@
  * @return  @c TRUE if successful, @c FALSE if an error occurs.
  * @ingroup Ecore_Data_List_Creation_Group
  */
-int ecore_list_init(Ecore_List *list)
+EAPI int ecore_list_init(Ecore_List *list)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -250,7 +250,7 @@
  * @param   list The list to be freed.
  * @ingroup Ecore_Data_List_Creation_Group
  */
-void ecore_list_destroy(Ecore_List * list)
+EAPI void ecore_list_destroy(Ecore_List * list)
 {
        void *data;
 
@@ -272,7 +272,7 @@
  * @param  free_func The function that will free the key data.
  * @return @c TRUE on successful set, @c FALSE otherwise.
  */
-int ecore_list_set_free_cb(Ecore_List * list, Ecore_Free_Cb free_func)
+EAPI int ecore_list_set_free_cb(Ecore_List * list, Ecore_Free_Cb free_func)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -286,7 +286,7 @@
  * @param  list  The list to check for nodes
  * @return @c TRUE if no nodes in list, @c FALSE if the list contains nodes
  */
-int ecore_list_is_empty(Ecore_List * list)
+EAPI int ecore_list_is_empty(Ecore_List * list)
 {
        int ret = TRUE;
 
@@ -303,7 +303,7 @@
  * @param  list The list to return the number of the current node.
  * @return The number of the current node in the list.
  */
-int ecore_list_index(Ecore_List * list)
+EAPI int ecore_list_index(Ecore_List * list)
 {
        int ret;
 
@@ -319,7 +319,7 @@
  * @param  list The list to find the number of nodes
  * @return The number of nodes in the list.
  */
-int ecore_list_nodes(Ecore_List * list)
+EAPI int ecore_list_nodes(Ecore_List * list)
 {
        int ret = 0;
 
@@ -343,7 +343,7 @@
  * @return  @c FALSE if an error occurs, @c TRUE if appended successfully
  * @ingroup Ecore_Data_List_Add_Item_Group
  */
-inline int ecore_list_append(Ecore_List * list, void *data)
+EAPI inline int ecore_list_append(Ecore_List * list, void *data)
 {
        int ret;
        Ecore_List_Node *node;
@@ -388,7 +388,7 @@
  * @return @c FALSE if an error occurs, @c TRUE if prepended successfully.
  * @ingroup Ecore_Data_List_Add_Item_Group
  */
-inline int ecore_list_prepend(Ecore_List * list, void *data)
+EAPI inline int ecore_list_prepend(Ecore_List * list, void *data)
 {
        int ret;
        Ecore_List_Node *node;
@@ -428,7 +428,7 @@
  * @return  @c FALSE if there is an error, @c TRUE on success
  * @ingroup Ecore_Data_List_Add_Item_Group
  */
-inline int ecore_list_insert(Ecore_List * list, void *data)
+EAPI inline int ecore_list_insert(Ecore_List * list, void *data)
 {
        int ret;
        Ecore_List_Node *node;
@@ -490,7 +490,7 @@
  * @return  A pointer to the removed data on success, @c NULL on failure.
  * @ingroup Ecore_Data_List_Remove_Item_Group
  */
-inline void *ecore_list_remove(Ecore_List * list)
+EAPI inline void *ecore_list_remove(Ecore_List * list)
 {
        void *ret;
 
@@ -545,7 +545,7 @@
  * @return  @c TRUE on success, @c FALSE on error
  * @ingroup Ecore_Data_List_Remove_Item_Group
  */
-int ecore_list_remove_destroy(Ecore_List *list)
+EAPI int ecore_list_remove_destroy(Ecore_List *list)
 {
        void *data;
 
@@ -565,7 +565,7 @@
  *          failure.
  * @ingroup Ecore_Data_List_Remove_Item_Group
  */
-inline void *ecore_list_remove_first(Ecore_List * list)
+EAPI inline void *ecore_list_remove_first(Ecore_List * list)
 {
        void *ret;
 
@@ -618,7 +618,7 @@
  * @return  A pointer to the removed data on success, @c NULL on failure.
  * @ingroup Ecore_Data_List_Remove_Item_Group
  */
-inline void *ecore_list_remove_last(Ecore_List * list)
+EAPI inline void *ecore_list_remove_last(Ecore_List * list)
 {
        void *ret;
 
@@ -685,7 +685,7 @@
  * @return  A pointer to new current item on success, @c NULL on failure.
  * @ingroup Ecore_Data_List_Traverse_Group
  */
-inline void *ecore_list_goto_index(Ecore_List * list, int index)
+EAPI inline void *ecore_list_goto_index(Ecore_List * list, int index)
 {
        void *ret;
 
@@ -730,7 +730,7 @@
  * @return  A pointer to @p data on success, @c NULL on failure.
  * @ingroup Ecore_Data_List_Traverse_Group
  */
-inline void *ecore_list_goto(Ecore_List * list, void *data)
+EAPI inline void *ecore_list_goto(Ecore_List * list, void *data)
 {
        void *ret;
 
@@ -781,7 +781,7 @@
  * @return  A pointer to the first item on success, @c NULL on failure
  * @ingroup Ecore_Data_List_Traverse_Group
  */
-inline void *ecore_list_goto_first(Ecore_List *list)
+EAPI inline void *ecore_list_goto_first(Ecore_List *list)
 {
        void *ret;
 
@@ -810,7 +810,7 @@
  * @return  A pointer to the last item on success, @c NULL on failure.
  * @ingroup Ecore_Data_List_Traverse_Group
  */
-inline void *ecore_list_goto_last(Ecore_List * list)
+EAPI inline void *ecore_list_goto_last(Ecore_List * list)
 {
        void *ret;
 
@@ -838,7 +838,7 @@
  * @param  list The list.
  * @return Returns the data at current position, can be @c NULL.
  */
-inline void *ecore_list_current(Ecore_List * list)
+EAPI inline void *ecore_list_current(Ecore_List * list)
 {
        void *ret;
 
@@ -866,7 +866,7 @@
  * @param   list The list to retrieve data from.
  * @return  The current item in the list on success, @c NULL on failure.
  */
-inline void *ecore_list_next(Ecore_List * list)
+EAPI inline void *ecore_list_next(Ecore_List * list)
 {
        void *data;
 
@@ -905,7 +905,7 @@
  * @note The data for each item on the list is not freed by
  *       @c ecore_list_clear().
  */
-int ecore_list_clear(Ecore_List * list)
+EAPI int ecore_list_clear(Ecore_List * list)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -922,7 +922,7 @@
  * @return  Returns @c TRUE on success, @c FALSE on failure.
  * @ingroup Ecore_Data_List_Traverse_Group
  */
-int ecore_list_for_each(Ecore_List *list, Ecore_For_Each function,
+EAPI int ecore_list_for_each(Ecore_List *list, Ecore_For_Each function,
                         void *user_data)
 {
        int ret;
@@ -951,7 +951,7 @@
 }
 
 /* Initialize a node to starting values */
-int ecore_list_node_init(Ecore_List_Node * node)
+EAPI int ecore_list_node_init(Ecore_List_Node * node)
 {
 
        CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
@@ -974,7 +974,7 @@
  * @return  A new Ecore_List_Node on success, @c NULL otherwise.
  * @ingroup Ecore_Data_List_Node_Group
  */
-Ecore_List_Node *ecore_list_node_new()
+EAPI Ecore_List_Node *ecore_list_node_new()
 {
        Ecore_List_Node *new_node;
 
@@ -995,7 +995,7 @@
  * @return  @c TRUE.
  * @ingroup Ecore_Data_List_Node_Group
  */
-int ecore_list_node_destroy(Ecore_List_Node * node, Ecore_Free_Cb free_func)
+EAPI int ecore_list_node_destroy(Ecore_List_Node * node, Ecore_Free_Cb 
free_func)
 {
        CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
 
@@ -1019,7 +1019,7 @@
  *          on failure.
  * @ingroup Ecore_Data_DList_Creation_Group
  */
-Ecore_DList *ecore_dlist_new()
+EAPI Ecore_DList *ecore_dlist_new()
 {
        Ecore_DList *list = NULL;
 
@@ -1041,7 +1041,7 @@
  * @return  @c TRUE if successful, @c FALSE if an error occurs.
  * @ingroup Ecore_Data_DList_Creation_Group
  */
-int ecore_dlist_init(Ecore_DList *list)
+EAPI int ecore_dlist_init(Ecore_DList *list)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -1055,7 +1055,7 @@
  * @param   list The doubly linked list to be freed.
  * @ingroup Ecore_Data_DList_Creation_Group
  */
-void ecore_dlist_destroy(Ecore_DList * list)
+EAPI void ecore_dlist_destroy(Ecore_DList * list)
 {
        void *data;
        CHECK_PARAM_POINTER("list", list);
@@ -1077,7 +1077,7 @@
  * @return  @c TRUE on success, @c FALSE on failure.
  * @ingroup Ecore_Data_DList_Creation_Group
  */
-int ecore_dlist_set_free_cb(Ecore_DList * list, Ecore_Free_Cb free_func)
+EAPI int ecore_dlist_set_free_cb(Ecore_DList * list, Ecore_Free_Cb free_func)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -1089,7 +1089,7 @@
  * @param  list The given doubly linked list.
  * @return @c TRUE if there are nodes, @c FALSE otherwise.
  */
-int ecore_dlist_is_empty(Ecore_DList * list)
+EAPI int ecore_dlist_is_empty(Ecore_DList * list)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -1101,7 +1101,7 @@
  * @param  list The given doubly linked list.
  * @return The index of the current node.
  */
-inline int ecore_dlist_index(Ecore_DList * list)
+EAPI inline int ecore_dlist_index(Ecore_DList * list)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -1121,7 +1121,7 @@
  * @return  @c TRUE if the data is successfully appended, @c FALSE otherwise.
  * @ingroup Ecore_Data_DList_Add_Item_Group
  */
-int ecore_dlist_append(Ecore_DList * list, void *data)
+EAPI int ecore_dlist_append(Ecore_DList * list, void *data)
 {
        int ret;
        Ecore_DList_Node *prev;
@@ -1148,7 +1148,7 @@
  * @return  @c TRUE if the data is successfully prepended, @c FALSE otherwise.
  * @ingroup Ecore_Data_DList_Add_Item_Group
  */
-int ecore_dlist_prepend(Ecore_DList * list, void *data)
+EAPI int ecore_dlist_prepend(Ecore_DList * list, void *data)
 {
        int ret;
        Ecore_DList_Node *prev;
@@ -1174,7 +1174,7 @@
  * @return  @c TRUE on success, @c FALSE otherwise.
  * @ingroup Ecore_Data_DList_Add_Item_Group
  */
-int ecore_dlist_insert(Ecore_DList * list, void *data)
+EAPI int ecore_dlist_insert(Ecore_DList * list, void *data)
 {
        int ret;
        Ecore_DList_Node *prev;
@@ -1218,7 +1218,7 @@
  * @return  A pointer to the removed data on success, @c NULL otherwise.
  * @ingroup Ecore_Data_DList_Remove_Item_Group
  */
-void *ecore_dlist_remove(Ecore_DList * list)
+EAPI void *ecore_dlist_remove(Ecore_DList * list)
 {
        void *ret;
        Ecore_List *l2 = ECORE_LIST(list);
@@ -1242,7 +1242,7 @@
  * @return  A pointer to the removed data on success, @c NULL on failure.
  * @ingroup Ecore_Data_DList_Remove_Item_Group
  */
-void *ecore_dlist_remove_first(Ecore_DList * list)
+EAPI void *ecore_dlist_remove_first(Ecore_DList * list)
 {
        void *ret;
 
@@ -1260,7 +1260,7 @@
  * @return  @c TRUE on success, @c FALSE otherwise.
  * @ingroup Ecore_Data_DList_Remove_Item_Group
  */
-int ecore_dlist_remove_destroy(Ecore_DList *list)
+EAPI int ecore_dlist_remove_destroy(Ecore_DList *list)
 {
        void *data;
 
@@ -1296,7 +1296,7 @@
  * @return  A pointer to the removed data on success, @c NULL otherwise.
  * @ingroup Ecore_Data_DList_Remove_Item_Group
  */
-void *ecore_dlist_remove_last(Ecore_DList * list)
+EAPI void *ecore_dlist_remove_last(Ecore_DList * list)
 {
        void *ret;
 
@@ -1313,7 +1313,7 @@
  * @param  index The position to move the current item
  * @return The node at specified index on success, @c NULL on error.
  */
-void *ecore_dlist_goto_index(Ecore_DList * list, int index)
+EAPI void *ecore_dlist_goto_index(Ecore_DList * list, int index)
 {
        void *ret;
 
@@ -1364,7 +1364,7 @@
  *
  * @return Returns specified data on success, NULL on error
  */
-void *ecore_dlist_goto(Ecore_DList * list, void *data)
+EAPI void *ecore_dlist_goto(Ecore_DList * list, void *data)
 {
        void *ret;
 
@@ -1381,7 +1381,7 @@
  *
  * @return Returns a pointer to the first item on success, NULL on failure.
  */
-void *ecore_dlist_goto_first(Ecore_DList *list)
+EAPI void *ecore_dlist_goto_first(Ecore_DList *list)
 {
        void *ret;
 
@@ -1397,7 +1397,7 @@
  * @param list: the list to move the current item pointer to the last
  * @return Returns a pointer to the last item in the list , NULL if empty.
  */
-void *ecore_dlist_goto_last(Ecore_DList * list)
+EAPI void *ecore_dlist_goto_last(Ecore_DList * list)
 {
        void *ret;
 
@@ -1413,7 +1413,7 @@
  * @param list: the list to the return the current data
  * @return Returns value of the current data item, NULL if no current item
  */
-void *ecore_dlist_current(Ecore_DList * list)
+EAPI void *ecore_dlist_current(Ecore_DList * list)
 {
        void *ret;
 
@@ -1427,7 +1427,7 @@
  * @param list: the list to move to the next item in.
  * @return Returns data in the current list node, or NULL on error
  */
-void *ecore_dlist_next(Ecore_DList * list)
+EAPI void *ecore_dlist_next(Ecore_DList * list)
 {
        void *data;
 
@@ -1441,7 +1441,7 @@
  * @param list: the list to move to the previous item in.
  * @return Returns data in the current list node, or NULL on error
  */
-void *ecore_dlist_previous(Ecore_DList * list)
+EAPI void *ecore_dlist_previous(Ecore_DList * list)
 {
        void *data;
 
@@ -1475,7 +1475,7 @@
  *
  * @return Returns TRUE on success, FALSE on errors
  */
-int ecore_dlist_clear(Ecore_DList * list)
+EAPI int ecore_dlist_clear(Ecore_DList * list)
 {
        CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
 
@@ -1489,7 +1489,7 @@
  * @param node: the node to initialize
  * @return Returns TRUE on success, FALSE on errors
  */
-int ecore_dlist_node_init(Ecore_DList_Node * node)
+EAPI int ecore_dlist_node_init(Ecore_DList_Node * node)
 {
        int ret;
 
@@ -1506,7 +1506,7 @@
  * @brief Allocate and initialize a new list node
  * @return Returns NULL on error, new list node on success
  */
-Ecore_DList_Node *ecore_dlist_node_new()
+EAPI Ecore_DList_Node *ecore_dlist_node_new()
 {
        Ecore_DList_Node *new_node;
 
@@ -1529,7 +1529,7 @@
  * @param free_func: the callback function to execute on the data
  * @return Returns TRUE on success, FALSE on error
  */
-int ecore_dlist_node_destroy(Ecore_DList_Node * node, Ecore_Free_Cb free_func)
+EAPI int ecore_dlist_node_destroy(Ecore_DList_Node * node, Ecore_Free_Cb 
free_func)
 {
        CHECK_PARAM_POINTER_RETURN("node", node,
                        FALSE);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_main.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ecore_main.c        6 Jan 2006 13:56:47 -0000       1.23
+++ ecore_main.c        6 Jan 2006 17:58:12 -0000       1.24
@@ -60,7 +60,7 @@
  * queue.
  * @ingroup Ecore_Main_Loop_Group
  */
-void
+EAPI void
 ecore_main_loop_iterate(void)
 {
    _ecore_main_loop_iterate_internal(1);
@@ -73,7 +73,7 @@
  *
  * @ingroup Ecore_Main_Loop_Group
  */
-void
+EAPI void
 ecore_main_loop_begin(void)
 {
    in_main_loop++;
@@ -87,7 +87,7 @@
  * been processed.
  * @ingroup Ecore_Main_Loop_Group
  */
-void
+EAPI void
 ecore_main_loop_quit(void)
 {
    do_quit = 1;
@@ -130,7 +130,7 @@
  * @return  A fd handler handle if successful.  @c NULL otherwise.
  * @ingroup Ecore_FD_Handler_Group
  */
-Ecore_Fd_Handler *
+EAPI Ecore_Fd_Handler *
 ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, int (*func) 
(void *data, Ecore_Fd_Handler *fd_handler), const void *data, int (*buf_func) 
(void *buf_data, Ecore_Fd_Handler *fd_handler), const void *buf_data)
 {
    Ecore_Fd_Handler *fdh;
@@ -162,7 +162,7 @@
  *          for @p fd_handler on success.  @c NULL otherwise.
  * @ingroup Ecore_FD_Handler_Group
  */
-void *
+EAPI void *
 ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)
 {
    if (!ECORE_MAGIC_CHECK(fd_handler, ECORE_MAGIC_FD_HANDLER))
@@ -176,7 +176,7 @@
    return fd_handler->data;
 }
 
-void
+EAPI void
 ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handler, void 
(*func) (void *data, Ecore_Fd_Handler *fd_handler), const void *data)
 {
    if (!ECORE_MAGIC_CHECK(fd_handler, ECORE_MAGIC_FD_HANDLER))
@@ -195,7 +195,7 @@
  * @return  The file descriptor the handler is watching.
  * @ingroup Ecore_FD_Handler_Group
  */
-int
+EAPI int
 ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler)
 {
    if (!ECORE_MAGIC_CHECK(fd_handler, ECORE_MAGIC_FD_HANDLER))
@@ -216,7 +216,7 @@
  * @return  @c 1 if any of the given flags are active. @c 0 otherwise.
  * @ingroup Ecore_FD_Handler_Group
  */
-int
+EAPI int
 ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, 
Ecore_Fd_Handler_Flags flags)
 {
    int ret;
@@ -240,7 +240,7 @@
  * @param   flags      The flags to be watching.
  * @ingroup Ecore_FD_Handler_Group
  */
-void
+EAPI void
 ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, 
Ecore_Fd_Handler_Flags flags)
 {
    if (!ECORE_MAGIC_CHECK(fd_handler, ECORE_MAGIC_FD_HANDLER))
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_path.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ecore_path.c        5 Sep 2005 10:17:08 -0000       1.7
+++ ecore_path.c        6 Jan 2006 17:58:12 -0000       1.8
@@ -20,7 +20,7 @@
  * @return  @c 0 on error, the integer id of the new group on success.
  * @ingroup Ecore_Path_Group
  */
-int
+EAPI int
 ecore_path_group_new(char *group_name)
 {
        Ecore_Path_Group *last;
@@ -54,7 +54,7 @@
  * @param   group_id The unique identifier for the group.
  * @ingroup Ecore_Path_Group
  */
-void
+EAPI void
 ecore_path_group_del(int group_id)
 {
        Ecore_Path_Group *group;
@@ -80,7 +80,7 @@
  * @param   path     The new path to be added to the group.
  * @ingroup Ecore_Path_Group
  */
-void
+EAPI void
 ecore_path_group_add(int group_id, char *path)
 {
        Ecore_Path_Group *group;
@@ -104,7 +104,7 @@
  * @param   path     The path of the directory to be removed.
  * @ingroup Ecore_Path_Group
  */
-void
+EAPI void
 ecore_path_group_remove(int group_id, char *path)
 {
        char *found;
@@ -143,7 +143,7 @@
  *          on success.  @c NULL on failure.
  * @ingroup Ecore_Path_Group
  */
-char *
+EAPI char *
 ecore_path_group_find(int group_id, char *name)
 {
        int r;
@@ -180,7 +180,7 @@
  *          identified by @p group_id.  @c NULL otherwise.
  * @ingroup Ecore_Path_Group
  */
-Ecore_List *
+EAPI Ecore_List *
 ecore_path_group_available(int group_id)
 {
        Ecore_List *avail = NULL;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_plugin.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ecore_plugin.c      6 Jan 2006 13:56:47 -0000       1.6
+++ ecore_plugin.c      6 Jan 2006 17:58:12 -0000       1.7
@@ -19,7 +19,7 @@
  *          failure.
  * @ingroup Ecore_Plugin
  */
-Ecore_Plugin *
+EAPI Ecore_Plugin *
 ecore_plugin_load(int group_id, char *plugin_name)
 {
        char *path;
@@ -67,7 +67,7 @@
  * @param   plugin The given plugin.
  * @ingroup Ecore_Plugin
  */
-void
+EAPI void
 ecore_plugin_unload(Ecore_Plugin * plugin)
 {
        CHECK_PARAM_POINTER("plugin", plugin);
@@ -91,7 +91,7 @@
  * @return  Address of the given symbol if successful.  Otherwise, @c NULL.
  * @ingroup Ecore_Plugin
  */
-void *
+EAPI void *
 ecore_plugin_call(Ecore_Plugin * plugin, char *symbol_name)
 {
        void *ret;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_sheap.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ecore_sheap.c       6 Sep 2005 19:29:24 -0000       1.9
+++ ecore_sheap.c       6 Jan 2006 17:58:12 -0000       1.10
@@ -18,7 +18,7 @@
  * @return A pointer to the newly allocated binary heap on success, NULL on
  * failure.
  */
-Ecore_Sheap *ecore_sheap_new(Ecore_Compare_Cb compare, int size)
+EAPI Ecore_Sheap *ecore_sheap_new(Ecore_Compare_Cb compare, int size)
 {
        Ecore_Sheap *heap = NULL;
 
@@ -42,7 +42,7 @@
  * @param size    The number of elements to allow in the heap
  * @return        TRUE on success, FALSE on failure
  */
-int ecore_sheap_init(Ecore_Sheap *heap, Ecore_Compare_Cb compare, int size)
+EAPI int ecore_sheap_init(Ecore_Sheap *heap, Ecore_Compare_Cb compare, int 
size)
 {
        CHECK_PARAM_POINTER_RETURN("heap", heap, FALSE);
 
@@ -69,7 +69,7 @@
  *
  * @param  heap The heap to be freed
  */
-void ecore_sheap_destroy(Ecore_Sheap *heap)
+EAPI void ecore_sheap_destroy(Ecore_Sheap *heap)
 {
        int i;
 
@@ -94,7 +94,7 @@
  * @param  free_func The function that will free the key data.
  * @return @c TRUE on successful set, @c FALSE otherwise.
  */
-int ecore_sheap_set_free_cb(Ecore_Sheap *heap, Ecore_Free_Cb free_func)
+EAPI int ecore_sheap_set_free_cb(Ecore_Sheap *heap, Ecore_Free_Cb free_func)
 {
        CHECK_PARAM_POINTER_RETURN("heap", heap, FALSE);
 
@@ -110,7 +110,7 @@
  * @return TRUE on success, NULL on failure. Increases the size of the heap if
  *         it becomes larger than available space.
  */
-int ecore_sheap_insert(Ecore_Sheap *heap, void *data)
+EAPI int ecore_sheap_insert(Ecore_Sheap *heap, void *data)
 {
        int i;
        void *temp;
@@ -198,7 +198,7 @@
  * @note   The extract function maintains the heap properties after the
  *         extract.
  */
-void *ecore_sheap_extract(Ecore_Sheap *heap)
+EAPI void *ecore_sheap_extract(Ecore_Sheap *heap)
 {
        void *extreme;
 
@@ -222,7 +222,7 @@
  * @return The top item of the heap on success, NULL on failure.
  * @note   The function does not alter the heap.
  */
-void *ecore_sheap_extreme(Ecore_Sheap *heap)
+EAPI void *ecore_sheap_extreme(Ecore_Sheap *heap)
 {
        if (heap->size < 1)
                return NULL;
@@ -239,7 +239,7 @@
  * @note         The heap does not free the old data since it must be passed
  *               in, so the caller can perform the free if desired.
  */
-int ecore_sheap_change(Ecore_Sheap *heap, void *item, void *newval)
+EAPI int ecore_sheap_change(Ecore_Sheap *heap, void *item, void *newval)
 {
        int i;
 
@@ -269,7 +269,7 @@
  * The comparison function is changed to @compare and the heap is heapified
  * by the new comparison.
  */
-int ecore_sheap_set_compare(Ecore_Sheap *heap, Ecore_Compare_Cb compare)
+EAPI int ecore_sheap_set_compare(Ecore_Sheap *heap, Ecore_Compare_Cb compare)
 {
        CHECK_PARAM_POINTER_RETURN("heap", heap, FALSE);
 
@@ -291,7 +291,7 @@
  * Changes the heap order of @heap and re-heapifies the data to this new
  * order. The default order is a min heap.
  */
-void ecore_sheap_set_order(Ecore_Sheap *heap, char order)
+EAPI void ecore_sheap_set_order(Ecore_Sheap *heap, char order)
 {
        CHECK_PARAM_POINTER("heap", heap);
 
@@ -307,7 +307,7 @@
  * Sorts the data in the heap into the order that is used for the heap's
  * data.
  */
-void ecore_sheap_sort(Ecore_Sheap *heap)
+EAPI void ecore_sheap_sort(Ecore_Sheap *heap)
 {
        int i = 0;
        void **new_data;
@@ -340,7 +340,7 @@
  *         NULL on failure.
  * @note   The data is guaranteed to be in sorted order.
  */
-inline void *ecore_sheap_item(Ecore_Sheap *heap, int i)
+EAPI inline void *ecore_sheap_item(Ecore_Sheap *heap, int i)
 {
        if (i >= heap->size)
                return NULL;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_strings.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ecore_strings.c     6 Dec 2005 03:44:47 -0000       1.10
+++ ecore_strings.c     6 Jan 2006 17:58:12 -0000       1.11
@@ -17,7 +17,7 @@
  * Initialize the ecore string internal structure.
  * @return  Zero on failure, non-zero on successful initialization.
  */
-int ecore_string_init()
+EAPI int ecore_string_init()
 {
        /*
         * No strings have been loaded at this point, so create the hash
@@ -41,7 +41,7 @@
  *          @c NULL on failure.
  * @ingroup Ecore_String_Group
  */
-const char *ecore_string_instance(char *string)
+EAPI const char *ecore_string_instance(char *string)
 {
        Ecore_String *str;
 
@@ -78,7 +78,7 @@
  * @param   string The given string.
  * @ingroup Ecore_String_Group
  */
-void ecore_string_release(const char *string)
+EAPI void ecore_string_release(const char *string)
 {
        Ecore_String *str;
 
@@ -99,7 +99,7 @@
 /**
  * Shutdown the ecore string internal structures
  */
-void ecore_string_shutdown()
+EAPI void ecore_string_shutdown()
 {
        --ecore_string_init_count;
        if (!ecore_string_init_count) {
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_time.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ecore_time.c        6 Jan 2006 13:56:47 -0000       1.6
+++ ecore_time.c        6 Jan 2006 17:58:12 -0000       1.7
@@ -32,7 +32,7 @@
  * @return  The number of seconds since 12.00AM 1st January 1970.
  * @ingroup Ecore_Time_Group
  */
-double
+EAPI double
 ecore_time_get(void)
 {
    struct timeval      timev;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_timer.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ecore_timer.c       11 Dec 2005 14:33:21 -0000      1.14
+++ ecore_timer.c       6 Jan 2006 17:58:12 -0000       1.15
@@ -24,7 +24,7 @@
  * @return  A timer object on success.  @c NULL on failure.
  * @ingroup Ecore_Time_Group
  */
-Ecore_Timer *
+EAPI Ecore_Timer *
 ecore_timer_add(double in, int (*func) (void *data), const void *data)
 {
    double now;
@@ -47,7 +47,7 @@
  *          called.  @c NULL is returned if the function is unsuccessful.
  * @ingroup Ecore_Time_Group
  */
-void *
+EAPI void *
 ecore_timer_del(Ecore_Timer *timer)
 {
    if (!ECORE_MAGIC_CHECK(timer, ECORE_MAGIC_TIMER))
@@ -70,7 +70,7 @@
  * @param   in    The interval in seconds.
  * @ingroup Ecore_Time_Group
  */
-void
+EAPI void
 ecore_timer_interval_set(Ecore_Timer *timer, double in)
 {
    if (!ECORE_MAGIC_CHECK(timer, ECORE_MAGIC_TIMER))
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_tree.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ecore_tree.c        6 Sep 2005 21:00:55 -0000       1.7
+++ ecore_tree.c        6 Jan 2006 17:58:12 -0000       1.8
@@ -7,19 +7,19 @@
 
 /* Utility functions for searching the tree and returning a node, or its
  * parent */
-Ecore_Tree_Node *tree_node_find(Ecore_Tree * tree, void *key);
-Ecore_Tree_Node *tree_node_find_parent(Ecore_Tree * tree, void *key);
+static Ecore_Tree_Node *tree_node_find(Ecore_Tree * tree, void *key);
+static Ecore_Tree_Node *tree_node_find_parent(Ecore_Tree * tree, void *key);
 
 /* Balancing functions, keep the tree balanced within a one node height
  * difference */
-int tree_node_balance(Ecore_Tree * Tree, Ecore_Tree_Node * top_node);
-int tree_node_rotate_right(Ecore_Tree * tree, Ecore_Tree_Node * top_node);
-int tree_node_rotate_left(Ecore_Tree * tree, Ecore_Tree_Node * top_node);
+static int tree_node_balance(Ecore_Tree * Tree, Ecore_Tree_Node * top_node);
+static int tree_node_rotate_right(Ecore_Tree * tree, Ecore_Tree_Node * 
top_node);
+static int tree_node_rotate_left(Ecore_Tree * tree, Ecore_Tree_Node * 
top_node);
 
 /* Fucntions for executing a specified function on each node of a tree */
-int tree_for_each_node(Ecore_Tree_Node * node, Ecore_For_Each for_each_func,
+static int tree_for_each_node(Ecore_Tree_Node * node, Ecore_For_Each 
for_each_func,
                             void *user_data);
-int tree_for_each_node_value(Ecore_Tree_Node * node,
+static int tree_for_each_node_value(Ecore_Tree_Node * node,
                             Ecore_For_Each for_each_func, void *user_data);
 
 /**
@@ -27,7 +27,7 @@
  * @param compare_func: function used to compare the two values
  * @return Returns NULL if the operation fails, otherwise the new tree
  */
-Ecore_Tree *ecore_tree_new(Ecore_Compare_Cb compare_func)
+EAPI Ecore_Tree *ecore_tree_new(Ecore_Compare_Cb compare_func)
 {
        Ecore_Tree *new_tree;
 
@@ -49,7 +49,7 @@
  * @param compare_func: the function used to compare node keys
  * @return Returns TRUE on successful initialization, FALSE on an error
  */
-int ecore_tree_init(Ecore_Tree * new_tree, Ecore_Compare_Cb compare_func)
+EAPI int ecore_tree_init(Ecore_Tree * new_tree, Ecore_Compare_Cb compare_func)
 {
        CHECK_PARAM_POINTER_RETURN("new_tree", new_tree, FALSE);
 
@@ -71,7 +71,7 @@
  * @param free_func: the function that will be passed the node being freed
  * @return Returns TRUE on successful set, FALSE otherwise.
  */
-int ecore_tree_set_free_cb(Ecore_Tree * tree, Ecore_Free_Cb free_func)
+EAPI int ecore_tree_set_free_cb(Ecore_Tree * tree, Ecore_Free_Cb free_func)
 {
        CHECK_PARAM_POINTER_RETURN("tree", tree, FALSE);
 
@@ -86,7 +86,7 @@
  * @brief Initialize a new tree node
  * @return Returns FALSE if the operation fails, otherwise TRUE
  */
-int ecore_tree_node_init(Ecore_Tree_Node * new_node)
+EAPI int ecore_tree_node_init(Ecore_Tree_Node * new_node)
 {
        CHECK_PARAM_POINTER_RETURN("new_node", new_node, FALSE);
 
@@ -108,7 +108,7 @@
  * @brief Allocate a new tree node
  * @return Returns NULL if the operation fails, otherwise the new node.
  */
-Ecore_Tree_Node *ecore_tree_node_new()
+EAPI Ecore_Tree_Node *ecore_tree_node_new()
 {
        Ecore_Tree_Node *new_node;
 
@@ -132,7 +132,7 @@
  *
  * If you don't want the children free'd then you need to remove the node 
first.
  */
-int ecore_tree_node_destroy(Ecore_Tree_Node * node, Ecore_Free_Cb data_free)
+EAPI int ecore_tree_node_destroy(Ecore_Tree_Node * node, Ecore_Free_Cb 
data_free)
 {
        CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
 
@@ -154,7 +154,7 @@
  * @param value: the value to set the node to.
  * @return Returns TRUE if the node is set successfully, FALSE if not.
  */
-int ecore_tree_node_value_set(Ecore_Tree_Node * node, void *value)
+EAPI int ecore_tree_node_value_set(Ecore_Tree_Node * node, void *value)
 {
        CHECK_PARAM_POINTER_RETURN("node", node,
                                   FALSE);
@@ -171,7 +171,7 @@
  * @param node: the node that contains the desired value
  * @return Returns NULL if an error, otherwise the value associated with node
  */
-void *ecore_tree_node_value_get(Ecore_Tree_Node * node)
+EAPI void *ecore_tree_node_value_get(Ecore_Tree_Node * node)
 {
        void *ret;
 
@@ -189,7 +189,7 @@
  * @param key: the value to set it's key to.
  * @return Returns TRUE if the node is set successfully, FALSE if not.
  */
-int ecore_tree_node_key_set(Ecore_Tree_Node * node, void *key)
+EAPI int ecore_tree_node_key_set(Ecore_Tree_Node * node, void *key)
 {
        CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
 
@@ -206,7 +206,7 @@
  *
  * @return Returns NULL if an error occurs, otherwise the key is returned
  */
-void *ecore_tree_node_key_get(Ecore_Tree_Node * node)
+EAPI void *ecore_tree_node_key_get(Ecore_Tree_Node * node)
 {
        void *ret;
 
@@ -224,7 +224,7 @@
  *
  * @return Returns TRUE if tree destroyed successfully, FALSE if not.
  */
-int ecore_tree_destroy(Ecore_Tree * tree)
+EAPI int ecore_tree_destroy(Ecore_Tree * tree)
 {
        Ecore_Tree_Node *node;
 
@@ -250,7 +250,7 @@
  *
  * @return Returns the node corresponding to the key if found, otherwise NULL.
  */
-Ecore_Tree_Node *ecore_tree_get_node(Ecore_Tree * tree, void *key)
+EAPI Ecore_Tree_Node *ecore_tree_get_node(Ecore_Tree * tree, void *key)
 {
        Ecore_Tree_Node *ret;
 
@@ -269,7 +269,7 @@
  * @param key: the key to search for in @a tree
  * @return Returns the value corresponding to the key if found, otherwise NULL.
  */
-void *ecore_tree_get(Ecore_Tree * tree, void *key)
+EAPI void *ecore_tree_get(Ecore_Tree * tree, void *key)
 {
        void *ret;
        Ecore_Tree_Node *node;
@@ -294,7 +294,7 @@
  * @return NULL if no valid nodes, otherwise the node greater than or
  *         equal to the key
  */
-void *ecore_tree_get_closest_larger(Ecore_Tree * tree, void *key)
+EAPI void *ecore_tree_get_closest_larger(Ecore_Tree * tree, void *key)
 {
        Ecore_Tree_Node *node;
 
@@ -330,7 +330,7 @@
  * @param key  the key to search for in tree
  * @return Returns NULL if no valid nodes, otherwise the node <= key
  */
-void *ecore_tree_get_closest_smaller(Ecore_Tree * tree, void *key)
+EAPI void *ecore_tree_get_closest_smaller(Ecore_Tree * tree, void *key)
 {
        Ecore_Tree_Node *node;
 
@@ -360,7 +360,7 @@
  * @param  value Value to set the found node.
  * @return TRUE if successful, FALSE if not.
  */
-int ecore_tree_set(Ecore_Tree * tree, void *key, void *value)
+EAPI int ecore_tree_set(Ecore_Tree * tree, void *key, void *value)
 {
        Ecore_Tree_Node *node = NULL;
 
@@ -392,7 +392,7 @@
  * @param node The node to add to @a tree.
  * @return TRUE on a successful add, FALSE otherwise.
  */
-int ecore_tree_add_node(Ecore_Tree * tree, Ecore_Tree_Node * node)
+EAPI int ecore_tree_add_node(Ecore_Tree * tree, Ecore_Tree_Node * node)
 {
        Ecore_Tree_Node *travel = NULL;
 
@@ -427,7 +427,7 @@
  * @param  node The node to remove from @a tree.
  * @return TRUE on a successful remove, FALSE otherwise.
  */
-int ecore_tree_remove_node(Ecore_Tree * tree, Ecore_Tree_Node * node)
+EAPI int ecore_tree_remove_node(Ecore_Tree * tree, Ecore_Tree_Node * node)
 {
        Ecore_Tree_Node *traverse;
 
@@ -535,7 +535,7 @@
  * @param  key  The key to remove from @a tree.
  * @return TRUE on a successful remove, FALSE otherwise.
  */
-int ecore_tree_remove(Ecore_Tree * tree, void *key)
+EAPI int ecore_tree_remove(Ecore_Tree * tree, void *key)
 {
        Ecore_Tree_Node *node;
 
@@ -561,7 +561,7 @@
  * @param tree: the tree to check for nodes
  * @return Returns TRUE if no nodes exist, FALSE otherwise
  */
-int ecore_tree_is_empty(Ecore_Tree * tree)
+EAPI int ecore_tree_is_empty(Ecore_Tree * tree)
 {
        CHECK_PARAM_POINTER_RETURN("tree", tree, FALSE);
 
@@ -578,7 +578,7 @@
  * @param user_data: data passed to each for_each_func call
  * @return Returns TRUE on success, FALSE on failure.
  */
-int ecore_tree_for_each_node_value(Ecore_Tree * tree,
+EAPI int ecore_tree_for_each_node_value(Ecore_Tree * tree,
                                 Ecore_For_Each for_each_func, void *user_data)
 {
        CHECK_PARAM_POINTER_RETURN("tree", tree, FALSE);
@@ -597,7 +597,7 @@
  * @param user_data: data passed to each for_each_func call
  * @return Returns TRUE on success, FALSE on failure.
  */
-int ecore_tree_for_each_node(Ecore_Tree * tree, Ecore_For_Each for_each_func,
+EAPI int ecore_tree_for_each_node(Ecore_Tree * tree, Ecore_For_Each 
for_each_func,
                                 void *user_data)
 {
        CHECK_PARAM_POINTER_RETURN("tree", tree, FALSE);
@@ -610,7 +610,7 @@
 }
 
 /* Find the parent for the key */
-Ecore_Tree_Node *tree_node_find_parent(Ecore_Tree * tree, void *key)
+static Ecore_Tree_Node *tree_node_find_parent(Ecore_Tree * tree, void *key)
 {
        Ecore_Tree_Node *parent, *travel;
 
@@ -642,7 +642,7 @@
 }
 
 /* Search for the node with a specified key */
-Ecore_Tree_Node *tree_node_find(Ecore_Tree * tree, void *key)
+static Ecore_Tree_Node *tree_node_find(Ecore_Tree * tree, void *key)
 {
        int compare;
        Ecore_Tree_Node *node;
@@ -671,7 +671,7 @@
 }
 
 /* Balance the tree with respect to node */
-int tree_node_balance(Ecore_Tree * tree, Ecore_Tree_Node * top_node)
+static int tree_node_balance(Ecore_Tree * tree, Ecore_Tree_Node * top_node)
 {
        int balance;
 
@@ -703,7 +703,7 @@
 }
 
 /* Tree is overbalanced to the left, so rotate nodes to the right. */
-int tree_node_rotate_right(Ecore_Tree * tree, Ecore_Tree_Node * top_node)
+static int tree_node_rotate_right(Ecore_Tree * tree, Ecore_Tree_Node * 
top_node)
 {
        Ecore_Tree_Node *temp;
 
@@ -737,7 +737,7 @@
 }
 
 /* The tree is overbalanced to the right, so we rotate nodes to the left */
-int tree_node_rotate_left(Ecore_Tree * tree, Ecore_Tree_Node * top_node)
+static int tree_node_rotate_left(Ecore_Tree * tree, Ecore_Tree_Node * top_node)
 {
        Ecore_Tree_Node *temp;
 
@@ -778,7 +778,7 @@
  * @param user_data: data passed to each for_each_func call
  * @return Returns FALSE if an error condition occurs, otherwise TRUE
  */
-int tree_for_each_node(Ecore_Tree_Node * node, Ecore_For_Each for_each_func,
+static int tree_for_each_node(Ecore_Tree_Node * node, Ecore_For_Each 
for_each_func,
                             void *user_data)
 {
        CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
@@ -801,7 +801,7 @@
  * @param for_each_func: the function to pass the nodes values as data
  * @return Returns FALSE if an error condition occurs, otherwise TRUE
  */
-int tree_for_each_node_value(Ecore_Tree_Node * node,
+static int tree_for_each_node_value(Ecore_Tree_Node * node,
                             Ecore_For_Each for_each_func, void *user_data)
 {
        CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_value.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ecore_value.c       27 Dec 2005 17:17:30 -0000      1.7
+++ ecore_value.c       6 Jan 2006 17:58:12 -0000       1.8
@@ -28,7 +28,7 @@
 #include "Ecore_Data.h"
 #include "ecore_private.h"
 
-const unsigned int ecore_prime_table[] = { 17, 31, 61, 127, 257, 509, 1021,
+EAPI const unsigned int ecore_prime_table[] = { 17, 31, 61, 127, 257, 509, 
1021,
        2053, 4093, 8191, 16381, 32771, 65537, 131071, 262147, 524287, 1048573,
        2097143, 4194301, 8388617, 16777213 
 };
@@ -49,7 +49,7 @@
  * @param  key The key to return compute a hash value
  * @return The key cast to an unsigned int.
  */
-unsigned int ecore_direct_hash(void *key)
+EAPI unsigned int ecore_direct_hash(void *key)
 {
        return ((unsigned int) key);
 }
@@ -59,7 +59,7 @@
  * @param  key A pointer to the string to compute a hash value
  * @return A computed hash value for @a key.
  */
-unsigned int ecore_str_hash(void *key)
+EAPI unsigned int ecore_str_hash(void *key)
 {
        int i;
        unsigned int value = 0;
@@ -82,7 +82,7 @@
  * @param  key2 The second key to compare
  * @return A strcmp style value to indicate the larger key
  */
-int ecore_direct_compare(void *key1, void *key2)
+EAPI int ecore_direct_compare(void *key1, void *key2)
 {
        unsigned int k1, k2;
 
@@ -104,7 +104,7 @@
  * @param  key2 The second key to compare
  * @return A strcmp style value to indicate the larger key
  */
-int ecore_str_compare(void *key1, void *key2)
+EAPI int ecore_str_compare(void *key1, void *key2)
 {
        char *k1, *k2;
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to