[Pvfs2-cvs] commit by nlmills in pvfs2/include: pvfs2-mgmt.h pvfs2-sysint.h pvfs2-types.h pvfs2-util.h

CVS commit program cvs at parl.clemson.edu
Mon Jul 21 18:02:46 EDT 2008


Update of /anoncvs/pvfs2/include
In directory parlweb1:/tmp/cvs-serv23746/include

Modified Files:
      Tag: cu-security-branch
	pvfs2-mgmt.h pvfs2-sysint.h pvfs2-types.h pvfs2-util.h 
Log Message:
updated all references in include/, src/client/, src/common/, src/io/,
src/proto/, and src/server/ to use the new PVFS_credential in place of the
old PVFS_credentials. the admin apps in particular need to be updated to use
the new API.


Index: pvfs2-mgmt.h
===================================================================
RCS file: /anoncvs/pvfs2/include/pvfs2-mgmt.h,v
diff -p -u -r1.62 -r1.62.4.1
--- pvfs2-mgmt.h	19 Nov 2007 21:12:59 -0000	1.62
+++ pvfs2-mgmt.h	21 Jul 2008 22:02:46 -0000	1.62.4.1
@@ -25,6 +25,7 @@
 
 #include "pvfs2-sysint.h"
 #include "pvfs2-types.h"
+#include "security-types.h"
 
 /* non-blocking mgmt operation handle */
 typedef PVFS_id_gen_t PVFS_mgmt_op_id;
@@ -127,38 +128,38 @@ enum
 
 PVFS_error PVFS_mgmt_count_servers(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     int server_type,
     int *count);
 
 PVFS_error PVFS_mgmt_get_server_array(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     int server_type,
     PVFS_BMI_addr_t *addr_array,
     int *inout_count_p);
 
 PVFS_error PVFS_imgmt_noop(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_BMI_addr_t addr,
     PVFS_mgmt_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_noop(
     PVFS_fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_BMI_addr_t addr);
 
 const char* PVFS_mgmt_map_addr(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_BMI_addr_t addr,
     int* server_type);
 
 PVFS_error PVFS_imgmt_setparam_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     enum PVFS_server_param param,
     uint64_t value,
     PVFS_BMI_addr_t *addr_array,
@@ -170,7 +171,7 @@ PVFS_error PVFS_imgmt_setparam_list(
 
 PVFS_error PVFS_mgmt_setparam_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     enum PVFS_server_param param,
     uint64_t value,
     PVFS_BMI_addr_t *addr_array,
@@ -180,7 +181,7 @@ PVFS_error PVFS_mgmt_setparam_list(
 
 PVFS_error PVFS_mgmt_setparam_all(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     enum PVFS_server_param param,
     uint64_t value,
     uint64_t *old_value_array,
@@ -188,7 +189,7 @@ PVFS_error PVFS_mgmt_setparam_all(
 
 PVFS_error PVFS_mgmt_setparam_single(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     enum PVFS_server_param param,
     uint64_t value,
     char *server_addr_str,
@@ -197,7 +198,7 @@ PVFS_error PVFS_mgmt_setparam_single(
 
 PVFS_error PVFS_imgmt_statfs_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     struct PVFS_mgmt_server_stat *stat_array,
     PVFS_BMI_addr_t *addr_array,
     int count,
@@ -207,7 +208,7 @@ PVFS_error PVFS_imgmt_statfs_list(
 
 PVFS_error PVFS_mgmt_statfs_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     struct PVFS_mgmt_server_stat *stat_array,
     PVFS_BMI_addr_t *addr_array,
     int count,
@@ -215,14 +216,14 @@ PVFS_error PVFS_mgmt_statfs_list(
 
 PVFS_error PVFS_mgmt_statfs_all(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     struct PVFS_mgmt_server_stat *stat_array,
     int *inout_count_p,
     PVFS_error_details *details);
 
 PVFS_error PVFS_imgmt_perf_mon_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     struct PVFS_mgmt_perf_stat **perf_matrix,
     uint64_t *end_time_ms_array,
     PVFS_BMI_addr_t *addr_array,
@@ -235,7 +236,7 @@ PVFS_error PVFS_imgmt_perf_mon_list(
 
 PVFS_error PVFS_mgmt_perf_mon_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     struct PVFS_mgmt_perf_stat** perf_matrix,
     uint64_t *end_time_ms_array,
     PVFS_BMI_addr_t *addr_array,
@@ -246,7 +247,7 @@ PVFS_error PVFS_mgmt_perf_mon_list(
 
 PVFS_error PVFS_imgmt_event_mon_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     struct PVFS_mgmt_event** event_matrix,
     PVFS_BMI_addr_t *addr_array,
     int server_count,
@@ -257,7 +258,7 @@ PVFS_error PVFS_imgmt_event_mon_list(
 
 PVFS_error PVFS_mgmt_event_mon_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     struct PVFS_mgmt_event **event_matrix,
     PVFS_BMI_addr_t *addr_array,
     int server_count,
@@ -266,7 +267,7 @@ PVFS_error PVFS_mgmt_event_mon_list(
 
 PVFS_error PVFS_imgmt_iterate_handles_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_handle **handle_matrix,
     int *handle_count_array,
     PVFS_ds_position *position_array,
@@ -278,7 +279,7 @@ PVFS_error PVFS_imgmt_iterate_handles_li
 
 PVFS_error PVFS_mgmt_iterate_handles_list(
     PVFS_fs_id fs_id,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_handle **handle_matrix,
     int *handle_count_array,
     PVFS_ds_position *position_array,
@@ -288,7 +289,7 @@ PVFS_error PVFS_mgmt_iterate_handles_lis
 
 PVFS_error PVFS_imgmt_get_dfile_array(
     PVFS_object_ref ref,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_handle *dfile_array,
     int dfile_count,
     PVFS_mgmt_op_id *op_id,
@@ -296,37 +297,37 @@ PVFS_error PVFS_imgmt_get_dfile_array(
 
 PVFS_error PVFS_mgmt_get_dfile_array(
     PVFS_object_ref ref,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_handle *dfile_array,
     int dfile_count);
 
 PVFS_error PVFS_imgmt_remove_object(
     PVFS_object_ref object_ref, 
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_mgmt_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_remove_object(
     PVFS_object_ref object_ref, 
-    PVFS_credentials *credentials);
+    PVFS_credential *credential);
 
 PVFS_error PVFS_imgmt_remove_dirent(
     PVFS_object_ref parent_ref,
     char *entry,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_mgmt_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_remove_dirent(
     PVFS_object_ref parent_ref,
     char *entry,
-    PVFS_credentials *credentials);
+    PVFS_credential *credential);
 
 PVFS_error PVFS_imgmt_create_dirent(
     PVFS_object_ref parent_ref,
     char *entry,
     PVFS_handle entry_handle,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_mgmt_op_id *op_id,
     void *user_ptr);
 
@@ -334,19 +335,19 @@ PVFS_error PVFS_mgmt_create_dirent(
     PVFS_object_ref parent_ref,
     char *entry,
     PVFS_handle entry_handle,
-    PVFS_credentials *credentials);
+    PVFS_credential *credential);
 
 PVFS_error PVFS_imgmt_get_dirdata_handle(
     PVFS_object_ref parent_ref,
     PVFS_handle *out_dirdata_handle,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_mgmt_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_get_dirdata_handle(
     PVFS_object_ref parent_ref,
     PVFS_handle *out_dirdata_handle,
-    PVFS_credentials *credentials);
+    PVFS_credential *credential);
 
 int PVFS_mgmt_wait(
     PVFS_mgmt_op_id op_id,
@@ -366,7 +367,7 @@ PVFS_error PVFS_imgmt_repair_file(
     char *object_name,
     PVFS_object_ref parent_ref,
     PVFS_sys_attr attr,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_handle handle,
     PVFS_sysresp_create *resp,
     PVFS_sys_op_id *op_id,
@@ -376,7 +377,7 @@ PVFS_error PVFS_mgmt_repair_file(
     char *object_name,
     PVFS_object_ref parent_ref,
     PVFS_sys_attr attr,
-    PVFS_credentials *credentials,
+    PVFS_credential *credential,
     PVFS_handle handle,
     PVFS_sysresp_create *resp);
                         

Index: pvfs2-sysint.h
===================================================================
RCS file: /anoncvs/pvfs2/include/pvfs2-sysint.h,v
diff -p -u -r1.75.8.2 -r1.75.8.3
--- pvfs2-sysint.h	15 Jul 2008 21:09:29 -0000	1.75.8.2
+++ pvfs2-sysint.h	21 Jul 2008 22:02:46 -0000	1.75.8.3
@@ -257,7 +257,7 @@ PVFS_error PVFS_isys_ref_lookup(
     PVFS_fs_id fs_id,
     char *relative_pathname,
     PVFS_object_ref parent_ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_lookup * resp,
     int32_t follow_link,
     PVFS_sys_op_id *op_id,
@@ -267,14 +267,14 @@ PVFS_error PVFS_sys_ref_lookup(
     PVFS_fs_id fs_id,
     char *relative_pathname,
     PVFS_object_ref parent_ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_lookup * resp,
     int32_t follow_link);
 
 PVFS_error PVFS_sys_lookup(
     PVFS_fs_id fs_id,
     char *name,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_lookup * resp,
     int32_t follow_link);
 
@@ -295,20 +295,20 @@ PVFS_error PVFS_sys_getattr(
 PVFS_error PVFS_isys_setattr(
     PVFS_object_ref ref,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_sys_setattr(
     PVFS_object_ref ref,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials);
+    const PVFS_credential *credential);
 
 PVFS_error PVFS_isys_mkdir(
     char *entry_name,
     PVFS_object_ref parent_ref,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_mkdir *resp,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
@@ -317,14 +317,14 @@ PVFS_error PVFS_sys_mkdir(
     char *entry_name,
     PVFS_object_ref parent_ref,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_mkdir *resp);
 
 PVFS_error PVFS_isys_readdir(
     PVFS_object_ref ref,
     PVFS_ds_position token,
     int32_t pvfs_dirent_incount,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_readdir *resp,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
@@ -333,14 +333,14 @@ PVFS_error PVFS_sys_readdir(
     PVFS_object_ref ref,
     PVFS_ds_position token,
     int32_t pvfs_dirent_incount,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_readdir *resp);
 
 PVFS_error PVFS_isys_readdirplus(
     PVFS_object_ref ref,
     PVFS_ds_position token,
     int32_t pvfs_dirent_incount,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     uint32_t attrmask,
     PVFS_sysresp_readdirplus *resp,
     PVFS_sys_op_id *op_id,
@@ -350,7 +350,7 @@ PVFS_error PVFS_sys_readdirplus(
     PVFS_object_ref ref,
     PVFS_ds_position token,
     int32_t pvfs_dirent_incount,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     uint32_t attrmask,
     PVFS_sysresp_readdirplus *resp);
 
@@ -358,7 +358,7 @@ PVFS_error PVFS_isys_create(
     char *entry_name,
     PVFS_object_ref ref,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sys_dist *dist,
     PVFS_sys_layout *layout,
     PVFS_sysresp_create *resp,
@@ -369,7 +369,7 @@ PVFS_error PVFS_sys_create(
     char *entry_name,
     PVFS_object_ref ref,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sys_dist *dist,
     PVFS_sys_layout *layout,
     PVFS_sysresp_create *resp);
@@ -377,21 +377,21 @@ PVFS_error PVFS_sys_create(
 PVFS_error PVFS_isys_remove(
     char *entry_name,
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_sys_remove(
     char *entry_name,
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials);
+    const PVFS_credential *credential);
 
 PVFS_error PVFS_isys_rename(
     char *old_entry,
     PVFS_object_ref old_parent_ref,
     char *new_entry,
     PVFS_object_ref new_parent_ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
 
@@ -400,14 +400,14 @@ PVFS_error PVFS_sys_rename(
     PVFS_object_ref old_parent_ref,
     char *new_entry,
     PVFS_object_ref new_parent_ref,
-    const PVFS_credentials *credentials);
+    const PVFS_credential *credential);
 
 PVFS_error PVFS_isys_symlink(
     char *entry_name,
     PVFS_object_ref parent_ref,
     char *target,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_symlink *resp,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
@@ -417,7 +417,7 @@ PVFS_error PVFS_sys_symlink(
     PVFS_object_ref parent_ref,
     char *target,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_symlink *resp);
 
 PVFS_error PVFS_isys_io(
@@ -426,7 +426,7 @@ PVFS_error PVFS_isys_io(
     PVFS_offset file_req_offset,
     void *buffer,
     PVFS_Request mem_req,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_io *resp,
     enum PVFS_io_type type,
     PVFS_sys_op_id *op_id,
@@ -444,7 +444,7 @@ PVFS_error PVFS_sys_io(
     PVFS_offset file_req_offset,
     void *buffer,
     PVFS_Request mem_req,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_io *resp,
     enum PVFS_io_type type);
 
@@ -457,41 +457,41 @@ PVFS_sys_io(x1,x2,x3,x4,x5,x6,y,PVFS_IO_
 PVFS_error PVFS_isys_truncate(
     PVFS_object_ref ref,
     PVFS_size size,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_sys_truncate(
     PVFS_object_ref ref,
     PVFS_size size,
-    const PVFS_credentials *credentials);
+    const PVFS_credential *credential);
 
 PVFS_error PVFS_sys_getparent(
     PVFS_fs_id fs_id,
     char *entry_name,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_getparent *resp);
 
 PVFS_error PVFS_isys_flush(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_sys_flush(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials);
+    const PVFS_credential *credential);
 
 PVFS_error PVFS_isys_statfs(
     PVFS_fs_id fs_id,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_statfs *statfs,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_sys_statfs(
     PVFS_fs_id fs_id,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_statfs *resp);
 
 PVFS_sys_dist* PVFS_sys_dist_lookup(
@@ -507,7 +507,7 @@ PVFS_error PVFS_sys_dist_setparam(
 
 PVFS_error PVFS_isys_geteattr(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_ds_keyval *key_p,
     PVFS_sysresp_geteattr *resp,
     PVFS_sys_op_id *op_id,
@@ -515,13 +515,13 @@ PVFS_error PVFS_isys_geteattr(
 
 PVFS_error PVFS_sys_geteattr(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_ds_keyval *key_p,
     PVFS_ds_keyval *val_p);
 
 PVFS_error PVFS_isys_geteattr_list(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     int32_t nkey,
     PVFS_ds_keyval *key_p,
     PVFS_sysresp_geteattr *resp,
@@ -530,14 +530,14 @@ PVFS_error PVFS_isys_geteattr_list(
 
 PVFS_error PVFS_sys_geteattr_list(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     int32_t nkey,
     PVFS_ds_keyval *key_p,
     PVFS_sysresp_geteattr *resp);
 
 PVFS_error PVFS_isys_seteattr(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_ds_keyval *key_p,
     PVFS_ds_keyval *val_p,
     int32_t flags,
@@ -546,14 +546,14 @@ PVFS_error PVFS_isys_seteattr(
 
 PVFS_error PVFS_sys_seteattr(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_ds_keyval *key_p,
     PVFS_ds_keyval *val_p,
     int32_t flags);
 
 PVFS_error PVFS_isys_seteattr_list(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     int32_t nkey,
     PVFS_ds_keyval *key_array,
     PVFS_ds_keyval *val_array,
@@ -563,7 +563,7 @@ PVFS_error PVFS_isys_seteattr_list(
 
 PVFS_error PVFS_sys_seteattr_list(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     int32_t nkey,
     PVFS_ds_keyval *key_array,
     PVFS_ds_keyval *val_array,
@@ -571,21 +571,21 @@ PVFS_error PVFS_sys_seteattr_list(
 
 PVFS_error PVFS_isys_deleattr(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_ds_keyval *key_p,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
 
 PVFS_error PVFS_sys_deleattr(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_ds_keyval *key_p);
 
 PVFS_error PVFS_isys_listeattr(
     PVFS_object_ref ref,
     PVFS_ds_position token,
     int32_t nkey,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_listeattr *resp,
     PVFS_sys_op_id *op_id,
     void *user_ptr);
@@ -594,7 +594,7 @@ PVFS_error PVFS_sys_listeattr(
     PVFS_object_ref ref,
     PVFS_ds_position token,
     int32_t nkey,
-    const PVFS_credentials *credentials,
+    const PVFS_credential *credential,
     PVFS_sysresp_listeattr *resp);
 
 PVFS_error PVFS_sys_set_info(

Index: pvfs2-types.h
===================================================================
RCS file: /anoncvs/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.147.4.3 -r1.147.4.4
--- pvfs2-types.h	15 Jul 2008 15:36:33 -0000	1.147.4.3
+++ pvfs2-types.h	21 Jul 2008 22:02:46 -0000	1.147.4.4
@@ -404,17 +404,6 @@ typedef struct
     int32_t    __pad1;
 } PVFS_object_ref;
 
-/** Credentials (stubbed for future authentication methods). */
-typedef struct
-{
-    PVFS_uid uid;
-    PVFS_gid gid;
-} PVFS_credentials;
-endecode_fields_2(
-    PVFS_credentials,
-    PVFS_uid, uid,
-    PVFS_gid, gid);
-
 /* max length of BMI style URI's for identifying servers */
 #define PVFS_MAX_SERVER_ADDR_LEN 256
 /* max length of PVFS filename */

Index: pvfs2-util.h
===================================================================
RCS file: /anoncvs/pvfs2/include/pvfs2-util.h,v
diff -p -u -r1.50.8.1 -r1.50.8.2
--- pvfs2-util.h	16 Jul 2008 04:02:15 -0000	1.50.8.1
+++ pvfs2-util.h	21 Jul 2008 22:02:46 -0000	1.50.8.2
@@ -33,28 +33,14 @@ struct PVFS_util_tab_s
 };
 typedef struct PVFS_util_tab_s PVFS_util_tab;
 
-/* client side default credential generation */
-void PVFS_util_gen_credentials(
-    PVFS_credentials *credentials);
-
 /* returns the currently set umask */
 int PVFS_util_get_umask(void);
 
-/*
-  shallow copies the credentials into a newly allocated returned
-  credential object.  returns NULL on failure.
-*/
-PVFS_credentials *PVFS_util_dup_credentials(
-    const PVFS_credentials *credentials);
-
 struct PVFS_sys_mntent* PVFS_util_gen_mntent(
     char* config_server,
     char* fs_name);
 
 void PVFS_util_gen_mntent_release(struct PVFS_sys_mntent* mntent);
-
-void PVFS_util_release_credentials(
-    PVFS_credentials *credentials);
 
 PVFS_credential *PVFS_util_gen_fake_credential(void);
 



More information about the Pvfs2-cvs mailing list