summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing/scripts
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-10-18 23:14:51 +0000
committerKen Raeburn <raeburn@mit.edu>2004-10-18 23:14:51 +0000
commitfb8314743c17c15ebcfcebee3565069079a819fc (patch)
tree55f0b504462f595df9414882a9140036b361bbf2 /src/kadmin/testing/scripts
parent32e9f9545401a17df3443a8e2969d6f84b29e74a (diff)
downloadkrb5-fb8314743c17c15ebcfcebee3565069079a819fc.tar.gz
krb5-fb8314743c17c15ebcfcebee3565069079a819fc.tar.xz
krb5-fb8314743c17c15ebcfcebee3565069079a819fc.zip
Allow profile library caller to write the modified data to a different
file than was originally read. * prof_file.c (write_data_to_file): New function, split out from profile_flush_file_data. Add argument can_create indicating whether the old file should already exist or not. (profile_flush_file_data): Call it. (profile_flush_file_data_to_file): New function. * prof_int.h (profile_flush_file_data_to_file): Declare it. (profile_flush_file_to_file): New macro. * prof_init.c (profile_flush_to_file): New function. * profile.hin (profile_flush_to_file): Declare. * profile.swg (profile_flush_to_file): Declare. * profile_tcl.c: Regenerated. * prof_test1: Use profile_flush_to_file instead of profile_flush, and reload from the new filename. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16825 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/testing/scripts')
0 files changed, 0 insertions, 0 deletions