diff options
author | Ken Raeburn <raeburn@mit.edu> | 2004-10-27 00:07:20 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2004-10-27 00:07:20 +0000 |
commit | b5781e4174975388a7c3f077723bff66b974b538 (patch) | |
tree | 9a8a6458f81f2680acc7900ebe73bb4f4ed3db01 /src/lib/ccapi/server/context.c | |
parent | d4c65184e13ab5c027df4698375a68293ab67cf0 (diff) | |
download | krb5-b5781e4174975388a7c3f077723bff66b974b538.tar.gz krb5-b5781e4174975388a7c3f077723bff66b974b538.tar.xz krb5-b5781e4174975388a7c3f077723bff66b974b538.zip |
Permit exporting profile file data into a buffer
* prof_file.c (profile_flush_file_data_to_buffer): New function.
* profi_init.c (profile_flush_to_buffer, profile_free_buffer): New functions.
* prof_parse.c (output_quoted_string): Use a callback instead of stdio calls.
(dump_profile): Renamed from dump_profile_to_file. Use a callback instead of
stdio calls.
(dump_profile_to_file_cb): New function.
(profile_write_tree_file): Updated to new internal interface.
(struct prof_buf): New type.
(add_data_to_buffer, dump_profile_to_buffer_cb, profile_write_tree_to_buffer):
New functions.
* prof_int.h (profile_write_tree_to_buffer, profile_flush_file_data_to_buffer):
Declare.
* profile.hin (profile_flush_to_buffer, profile_free_buffer): Declare.
* libprofile.exports: Export profile_flush_to_buffer and profile_free_buffer.
* profile.swg (profile_flush_to_buffer): Declare.
* profile_tcl.c: Regenerated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16838 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/ccapi/server/context.c')
0 files changed, 0 insertions, 0 deletions