Commit 802a696f authored by Pekka Pessi's avatar Pekka Pessi

Renamed nua_set/get_handle_params() as nua_set/get_hparams().

darcs-hash:20051008193505-65a35-68b663038eb14423899a457ebad504b5fb68daf9.gz
parent e70b76e6
......@@ -747,8 +747,7 @@ void nua_get_params(nua_t *nua, tag_type_t tag, tag_value_t value, ...)
* @par Events:
* none
*/
void nua_set_handle_params(nua_handle_t *nh,
tag_type_t tag, tag_value_t value, ...)
void nua_set_hparams(nua_handle_t *nh, tag_type_t tag, tag_value_t value, ...)
{
NUA_SIGNAL(nh, nua_r_set_params, tag, value);
}
......@@ -768,8 +767,7 @@ void nua_set_handle_params(nua_handle_t *nh,
* @par Events:
* #nua_r_get_params
*/
void nua_get_handle_params(nua_handle_t *nh,
tag_type_t tag, tag_value_t value, ...)
void nua_get_hparams(nua_handle_t *nh, tag_type_t tag, tag_value_t value, ...)
{
NUA_SIGNAL(nh, nua_r_get_params, tag, value);
}
......
......@@ -97,7 +97,7 @@ typedef enum nua_event_e {
/* Responses */
nua_r_get_params, /**< Answer to nua_get_params() or
* nua_get_handle_params(). */
* nua_get_hparams(). */
nua_r_shutdown, /**< Answer to nua_shutdown() */
nua_r_notifier, /**< Answer to nua_notifier() */
nua_r_terminate, /**< Answer to nua_terminate() */
......@@ -210,10 +210,10 @@ void nua_handle_destroy(nua_handle_t *h);
void nua_handle_bind(nua_handle_t *nh, nua_hmagic_t *magic);
/** Set handle parameters. */
void nua_set_handle_params(nua_handle_t *, tag_type_t, tag_value_t, ...);
void nua_set_hparams(nua_handle_t *, tag_type_t, tag_value_t, ...);
/** Get handle parameters. */
void nua_get_handle_params(nua_handle_t *, tag_type_t, tag_value_t, ...);
void nua_get_hparams(nua_handle_t *, tag_type_t, tag_value_t, ...);
/** Check if operation handle is used for INVITE */
int nua_handle_has_invite(nua_handle_t const *nh);
......
......@@ -311,7 +311,7 @@ int test_params(struct context *ctx)
nh = nua_handle(ctx->a.nua, NULL, TAG_END());
nua_set_handle_params(nh, NUTAG_INVITE_TIMER(90), TAG_END());
nua_set_hparams(nh, NUTAG_INVITE_TIMER(90), TAG_END());
/* Modify everything from their default value */
nua_set_params(ctx->a.nua,
......@@ -531,7 +531,7 @@ int test_params(struct context *ctx)
nua_event_t event = nua_i_error;
tagi_t const *tags = NULL;
nua_get_handle_params(nh, TAG_ANY(), TAG_END());
nua_get_hparams(nh, TAG_ANY(), TAG_END());
run_a_until(ctx, nua_r_get_params, save_final_response);
TEST(nua_info_event(ctx->a.saved_event,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment