Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: Ecore_Data.h ecore_path.c Log Message: add constness =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/Ecore_Data.h,v retrieving revision 1.47 retrieving revision 1.48 diff -u -3 -r1.47 -r1.48 --- Ecore_Data.h 19 Aug 2007 17:20:06 -0000 1.47 +++ Ecore_Data.h 2 Sep 2007 12:21:00 -0000 1.48 @@ -293,7 +293,7 @@ /* * Create a new path group */ - EAPI int ecore_path_group_new(char *group_name); + EAPI int ecore_path_group_new(const char *group_name); /* * Destroy a previous path group @@ -303,17 +303,17 @@ /* * Add a directory to be searched for files */ - EAPI void ecore_path_group_add(int group_id, char *path); + EAPI void ecore_path_group_add(int group_id, const char *path); /* * Remove a directory to be searched for files */ - EAPI void ecore_path_group_remove(int group_id, char *path); + EAPI void ecore_path_group_remove(int group_id, const char *path); /* * Find the absolute path if it exists in the group of paths */ - EAPI char * ecore_path_group_find(int group_id, char *name); + EAPI char * ecore_path_group_find(int group_id, const char *name); /* * Get a list of all the available files in a path set =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_path.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- ecore_path.c 25 Jul 2007 17:00:54 -0000 1.13 +++ ecore_path.c 2 Sep 2007 12:21:00 -0000 1.14 @@ -3,7 +3,7 @@ static Ecore_List *group_list = NULL; -Ecore_Path_Group *__ecore_path_group_find(char *name); +Ecore_Path_Group *__ecore_path_group_find(const char *name); Ecore_Path_Group *__ecore_path_group_find_id(int id); /** @@ -21,7 +21,7 @@ * @ingroup Ecore_Path_Group */ EAPI int -ecore_path_group_new(char *group_name) +ecore_path_group_new(const char *group_name) { Ecore_Path_Group *last; Ecore_Path_Group *group; @@ -90,7 +90,7 @@ * @ingroup Ecore_Path_Group */ EAPI void -ecore_path_group_add(int group_id, char *path) +ecore_path_group_add(int group_id, const char *path) { Ecore_Path_Group *group; @@ -114,7 +114,7 @@ * @ingroup Ecore_Path_Group */ EAPI void -ecore_path_group_remove(int group_id, char *path) +ecore_path_group_remove(int group_id, const char *path) { char *found; Ecore_Path_Group *group; @@ -153,7 +153,7 @@ * @ingroup Ecore_Path_Group */ EAPI char * -ecore_path_group_find(int group_id, char *name) +ecore_path_group_find(int group_id, const char *name) { int r; char *p; @@ -262,7 +262,7 @@ * Find the specified group name */ Ecore_Path_Group * -__ecore_path_group_find(char *name) +__ecore_path_group_find(const char *name) { Ecore_Path_Group *group; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs