[PVFS2-CVS] commit by rbross in pvfs2/include: pvfs2-mgmt.h pvfs2-types.h

CVS commit program cvs at parl.clemson.edu
Mon Feb 16 16:22:38 EST 2004


Update of /projects/cvsroot/pvfs2/include
In directory parlweb:/tmp/cvs-serv32348/include

Modified Files:
	pvfs2-mgmt.h pvfs2-types.h 
Log Message:
combo PVFS_id_gen_t -> PVFS_BMI_addr_t, formatting, PVFS error code patch.
Ugly.  Sorry if my formatting pisses someone off; at least I'm not using >
80 columns any more :).


Index: pvfs2-mgmt.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-mgmt.h,v
diff -p -u -r1.28 -r1.29
--- pvfs2-mgmt.h	15 Feb 2004 05:03:51 -0000	1.28
+++ pvfs2-mgmt.h	16 Feb 2004 21:22:38 -0000	1.29
@@ -104,18 +104,18 @@ int PVFS_mgmt_get_server_array(
     PVFS_fs_id fs_id,
     PVFS_credentials credentials,
     int server_type,
-    PVFS_id_gen_t* addr_array,
+    PVFS_BMI_addr_t *addr_array,
     int* inout_count_p);
 
 int PVFS_mgmt_noop(
     PVFS_fs_id,
     PVFS_credentials credentials,
-    PVFS_id_gen_t addr);
+    PVFS_BMI_addr_t addr);
 
 const char* PVFS_mgmt_map_addr(
     PVFS_fs_id fs_id,
     PVFS_credentials credentials,
-    PVFS_id_gen_t addr,
+    PVFS_BMI_addr_t addr,
     int* server_type);
 
 int PVFS_mgmt_setparam_list(
@@ -123,7 +123,7 @@ int PVFS_mgmt_setparam_list(
     PVFS_credentials credentials,
     enum PVFS_server_param param,
     int64_t value,
-    PVFS_id_gen_t* addr_array,
+    PVFS_BMI_addr_t *addr_array,
     int64_t* old_value_array,
     int count);
 
@@ -137,15 +137,15 @@ int PVFS_mgmt_setparam_all(
 int PVFS_mgmt_statfs_list(
     PVFS_fs_id fs_id,
     PVFS_credentials credentials,
-    struct PVFS_mgmt_server_stat* stat_array,
-    PVFS_id_gen_t* addr_array,
+    struct PVFS_mgmt_server_stat *stat_array,
+    PVFS_BMI_addr_t *addr_array,
     int *error_array,
     int count);
 
 int PVFS_mgmt_statfs_all(
     PVFS_fs_id fs_id,
     PVFS_credentials credentials,
-    struct PVFS_mgmt_server_stat* stat_array,
+    struct PVFS_mgmt_server_stat *stat_array,
     int* inout_count_p);
 
 int PVFS_mgmt_perf_mon_list(
@@ -153,7 +153,7 @@ int PVFS_mgmt_perf_mon_list(
     PVFS_credentials credentials,
     struct PVFS_mgmt_perf_stat** perf_matrix,
     uint64_t* end_time_ms_array,
-    PVFS_id_gen_t* addr_array,
+    PVFS_BMI_addr_t *addr_array,
     uint32_t* next_id_array,
     int server_count,
     int history_count);
@@ -161,8 +161,8 @@ int PVFS_mgmt_perf_mon_list(
 int PVFS_mgmt_event_mon_list(
     PVFS_fs_id fs_id,
     PVFS_credentials credentials,
-    struct PVFS_mgmt_event** event_matrix,
-    PVFS_id_gen_t* addr_array,
+    struct PVFS_mgmt_event **event_matrix,
+    PVFS_BMI_addr_t *addr_array,
     int server_count,
     int event_count);
 
@@ -173,16 +173,16 @@ int PVFS_mgmt_toggle_admin_mode(
 int PVFS_mgmt_iterate_handles_list(
     PVFS_fs_id fs_id,
     PVFS_credentials credentials,
-    PVFS_handle** handle_matrix,
+    PVFS_handle **handle_matrix,
     int* handle_count_array,
-    PVFS_ds_position* position_array,
-    PVFS_id_gen_t* addr_array,
+    PVFS_ds_position *position_array,
+    PVFS_BMI_addr_t *addr_array,
     int server_count);
 
 int PVFS_mgmt_get_dfile_array(
     PVFS_pinode_reference pinode_refn,
     PVFS_credentials credentials,
-    PVFS_handle* dfile_array,
+    PVFS_handle *dfile_array,
     int dfile_count);
 
 #endif /* __PVFS2_MGMT_H */

Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.77 -r1.78
--- pvfs2-types.h	16 Feb 2004 21:07:49 -0000	1.77
+++ pvfs2-types.h	16 Feb 2004 21:22:38 -0000	1.78
@@ -31,6 +31,8 @@ typedef int32_t PVFS_error;
 typedef int64_t PVFS_offset;
 typedef int64_t PVFS_size;
 typedef int64_t PVFS_id_gen_t;
+typedef int64_t PVFS_BMI_addr_t;
+
 #define encode_PVFS_error encode_int32_t
 #define decode_PVFS_error decode_int32_t
 #define encode_PVFS_offset encode_int64_t



More information about the PVFS2-CVS mailing list