Module Name: krb5 Committed By: raeburn Date: Fri Oct 15 23:58:17 UTC 2004 Modified Files: krb5/src/util/profile/ChangeLog krb5/src/util/profile/prof_file.c krb5/src/util/profile/prof_init.c krb5/src/util/profile/prof_int.h krb5/src/util/profile/prof_set.c Added Files: Removed Files: Log Message * prof_file.c, prof_int.h, prof_set.c: Remove support for non-SHARE_TREE_DATA case. * prof_int.h (struct _prf_data_t): Change filespec to a trailing char array. Add a length field for the filespec. (profile_make_prf_data): Declare. (profile_lock_global, profile_unlock_global): Prototypes need argument lists. * prof_file.c: Include stddef.h. (scan_shared_trees_locked, scan_shared_trees_unlocked): New functions. (r_access, rw_access): Now take const_profile_filespec_t arg. (profile_make_prf_data): New function. (profile_open_file): Scan trees at beginning and end. Use profile_make_prf_data to allocate and initialize storage. (profile_dereference_data, profile_free_file_data): Scan trees. (profile_ser_size, profile_ser_externalize): Filespec is never null. * prof_set.c (rw_setup): Use profile_make_prf_data to allocate and initialize storage. To generate a diff of this commit: cvs diff -r1.163 -r1.164 krb5/src/util/profile/ChangeLog cvs diff -r1.43 -r1.44 krb5/src/util/profile/prof_file.c cvs diff -r1.36 -r1.37 krb5/src/util/profile/prof_init.c cvs diff -r1.37 -r1.38 krb5/src/util/profile/prof_int.h cvs diff -r1.9 -r1.10 krb5/src/util/profile/prof_set.c