diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2009-02-09 23:43:04 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2009-02-09 23:43:04 +0000 |
| commit | 5b80063aebdb3eb2a330a47648137369661e5716 (patch) | |
| tree | f39689f287c76ec45cd60aa151421f5ae3c9108c /src/ccapi/server/ccs_cache_collection.c | |
| parent | 94cf674975471ec6c6bfa66f21de1559cc74983b (diff) | |
| download | krb5-5b80063aebdb3eb2a330a47648137369661e5716.tar.gz krb5-5b80063aebdb3eb2a330a47648137369661e5716.tar.xz krb5-5b80063aebdb3eb2a330a47648137369661e5716.zip | |
Rename functions from k5_ipc_stream_* to krb5int_ipc_stream_*, because some of them will have to be exported
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21938 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/server/ccs_cache_collection.c')
| -rw-r--r-- | src/ccapi/server/ccs_cache_collection.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/ccapi/server/ccs_cache_collection.c b/src/ccapi/server/ccs_cache_collection.c index 3790a10aa..2137e816a 100644 --- a/src/ccapi/server/ccs_cache_collection.c +++ b/src/ccapi/server/ccs_cache_collection.c @@ -152,11 +152,11 @@ cc_int32 ccs_cache_collection_changed (ccs_cache_collection_t io_cache_collectio } if (!err) { - err = k5_ipc_stream_new (&reply_data); + err = krb5int_ipc_stream_new (&reply_data); } if (!err) { - err = k5_ipc_stream_write_time (reply_data, io_cache_collection->last_changed_time); + err = krb5int_ipc_stream_write_time (reply_data, io_cache_collection->last_changed_time); } if (!err) { @@ -181,7 +181,7 @@ cc_int32 ccs_cache_collection_changed (ccs_cache_collection_t io_cache_collectio err = ccs_os_notify_cache_collection_changed (io_cache_collection); } - k5_ipc_stream_release (reply_data); + krb5int_ipc_stream_release (reply_data); return cci_check_error (err); } @@ -601,7 +601,7 @@ static cc_int32 ccs_cache_collection_get_change_time (ccs_cache_collection_t io_ if (!io_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_write_time (io_reply_data, io_cache_collection->last_changed_time); + err = krb5int_ipc_stream_write_time (io_reply_data, io_cache_collection->last_changed_time); } return cci_check_error (err); @@ -627,12 +627,12 @@ static cc_int32 ccs_cache_collection_wait_for_change (ccs_pipe_t in if (!out_will_block ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_read_time (in_request_data, &last_wait_for_change_time); + err = krb5int_ipc_stream_read_time (in_request_data, &last_wait_for_change_time); } if (!err) { if (last_wait_for_change_time < io_cache_collection->last_changed_time) { - err = k5_ipc_stream_write_time (io_reply_data, io_cache_collection->last_changed_time); + err = krb5int_ipc_stream_write_time (io_reply_data, io_cache_collection->last_changed_time); } else { ccs_callback_t callback = NULL; @@ -690,7 +690,7 @@ static cc_int32 ccs_cache_collection_get_default_ccache_name (ccs_cache_collecti err = ccs_ccache_write_name (ccache, io_reply_data); } } else { - err = k5_ipc_stream_write_string (io_reply_data, + err = krb5int_ipc_stream_write_string (io_reply_data, k_cci_context_initial_ccache_name); } } @@ -713,7 +713,7 @@ static cc_int32 ccs_cache_collection_open_ccache (ccs_cache_collection_t io_cach if (!io_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_read_string (in_request_data, &name); + err = krb5int_ipc_stream_read_string (in_request_data, &name); } if (!err) { @@ -725,7 +725,7 @@ static cc_int32 ccs_cache_collection_open_ccache (ccs_cache_collection_t io_cach err = ccs_ccache_write (ccache, io_reply_data); } - k5_ipc_stream_free_string (name); + krb5int_ipc_stream_free_string (name); return cci_check_error (err); } @@ -772,15 +772,15 @@ static cc_int32 ccs_cache_collection_create_ccache (ccs_cache_collection_t io_ca if (!io_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_read_string (in_request_data, &name); + err = krb5int_ipc_stream_read_string (in_request_data, &name); } if (!err) { - err = k5_ipc_stream_read_uint32 (in_request_data, &cred_vers); + err = krb5int_ipc_stream_read_uint32 (in_request_data, &cred_vers); } if (!err) { - err = k5_ipc_stream_read_string (in_request_data, &principal); + err = krb5int_ipc_stream_read_string (in_request_data, &principal); } if (!err) { @@ -805,8 +805,8 @@ static cc_int32 ccs_cache_collection_create_ccache (ccs_cache_collection_t io_ca err = ccs_cache_collection_changed (io_cache_collection); } - k5_ipc_stream_free_string (name); - k5_ipc_stream_free_string (principal); + krb5int_ipc_stream_free_string (name); + krb5int_ipc_stream_free_string (principal); return cci_check_error (err); } @@ -827,11 +827,11 @@ static cc_int32 ccs_cache_collection_create_default_ccache (ccs_cache_collection if (!io_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_read_uint32 (in_request_data, &cred_vers); + err = krb5int_ipc_stream_read_uint32 (in_request_data, &cred_vers); } if (!err) { - err = k5_ipc_stream_read_string (in_request_data, &principal); + err = krb5int_ipc_stream_read_string (in_request_data, &principal); } if (!err) { @@ -864,7 +864,7 @@ static cc_int32 ccs_cache_collection_create_default_ccache (ccs_cache_collection err = ccs_cache_collection_changed (io_cache_collection); } - k5_ipc_stream_free_string (principal); + krb5int_ipc_stream_free_string (principal); return cci_check_error (err); } @@ -886,11 +886,11 @@ static cc_int32 ccs_cache_collection_create_new_ccache (ccs_cache_collection_t i if (!io_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_read_uint32 (in_request_data, &cred_vers); + err = krb5int_ipc_stream_read_uint32 (in_request_data, &cred_vers); } if (!err) { - err = k5_ipc_stream_read_string (in_request_data, &principal); + err = krb5int_ipc_stream_read_string (in_request_data, &principal); } if (!err) { @@ -912,7 +912,7 @@ static cc_int32 ccs_cache_collection_create_new_ccache (ccs_cache_collection_t i } free (name); - k5_ipc_stream_free_string (principal); + krb5int_ipc_stream_free_string (principal); return cci_check_error (err); } @@ -964,11 +964,11 @@ static cc_int32 ccs_cache_collection_lock (ccs_pipe_t in_client_pip if (!io_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_read_uint32 (in_request_data, &lock_type); + err = krb5int_ipc_stream_read_uint32 (in_request_data, &lock_type); } if (!err) { - err = k5_ipc_stream_read_uint32 (in_request_data, &block); + err = krb5int_ipc_stream_read_uint32 (in_request_data, &block); } if (!err) { @@ -1028,7 +1028,7 @@ static cc_int32 ccs_cache_collection_unlock (ccs_pipe_t in_client_pi if (!out_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = k5_ipc_stream_new (&reply_data); + err = krb5int_ipc_stream_new (&reply_data); } if (!err) { @@ -1104,7 +1104,7 @@ static cc_int32 ccs_cache_collection_unlock (ccs_pipe_t in_client_pi } } - k5_ipc_stream_release (reply_data); + krb5int_ipc_stream_release (reply_data); return cci_check_error (err); } |
