From: <ste...@us...> - 2003-09-25 17:49:41
|
Update of /cvsroot/evms/evms2/engine/engine In directory sc8-pr-cvs1:/tmp/cvs-serv15102 Modified Files: discover.c discover.h Log Message: Export the discover functions for use by other source files. Index: discover.c =================================================================== RCS file: /cvsroot/evms/evms2/engine/engine/discover.c,v retrieving revision 1.77 retrieving revision 1.78 diff -u -d -r1.77 -r1.78 --- discover.c 25 Sep 2003 14:54:21 -0000 1.77 +++ discover.c 25 Sep 2003 17:49:35 -0000 1.78 @@ -528,7 +528,7 @@ * ******************************************************************************/ -static int discover_segments(dlist_t object_list) { +int discover_segments(dlist_t object_list) { int rc = 0; int status_count = 0; @@ -684,7 +684,7 @@ * ******************************************************************************/ -static int discover_regions(dlist_t object_list) { +int discover_regions(dlist_t object_list) { int rc = 0; int status_count = 0; @@ -2420,7 +2420,7 @@ } -static int discover_evms_objects(dlist_t object_list) { +int discover_evms_objects(dlist_t object_list) { int rc = 0; LOG_PROC_ENTRY(); @@ -2666,7 +2666,7 @@ } -static int discover_associative_features(dlist_t object_list) { +int discover_associative_features(dlist_t object_list) { int rc = 0; LOG_PROC_ENTRY(); Index: discover.h =================================================================== RCS file: /cvsroot/evms/evms2/engine/engine/discover.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- discover.h 25 Sep 2003 14:54:21 -0000 1.15 +++ discover.h 25 Sep 2003 17:49:36 -0000 1.16 @@ -59,6 +59,16 @@ extern int discover_logical_disks(dlist_t object_list); +extern int discover_segments(dlist_t object_list); + +extern int discover_regions(dlist_t object_list); + +extern void feature_header_disk_to_cpu(evms_feature_header_t * fh); + +extern int discover_evms_objects(dlist_t object_list); + +extern int discover_associative_features(dlist_t object_list); + extern int compare_objects(ADDRESS object1, TAG object1_tag, ADDRESS object2, @@ -98,5 +108,3 @@ u_int64_t serial); extern int sync_volume_minors_with_evms_kernel(void); - -extern void feature_header_disk_to_cpu(evms_feature_header_t * fh); |