Commit 4012b6a5 authored by Pekka Pessi's avatar Pekka Pessi

nua: nua_client_methods_t are const data.

darcs-hash:20070108150914-65a35-6bc0dc9fc52a969a1591dac50df716c062203a14.gz
parent 69b0249d
......@@ -69,7 +69,7 @@
* @since New in @VERSION_1_12_4.
*/
static nua_client_methods_t nua_method_client_methods = {
static nua_client_methods_t const nua_method_client_methods = {
SIP_METHOD_UNKNOWN,
0,
{
......
......@@ -73,7 +73,7 @@ static int nua_message_client_init(nua_client_request_t *cr,
msg_t *, sip_t *,
tagi_t const *tags);
static nua_client_methods_t nua_message_client_methods = {
static nua_client_methods_t const nua_message_client_methods = {
SIP_METHOD_MESSAGE,
0,
{
......
......@@ -329,7 +329,7 @@ static int nua_notify_client_response(nua_client_request_t *cr,
int status, char const *phrase,
sip_t const *sip);
static nua_client_methods_t nua_notify_client_methods = {
static nua_client_methods_t const nua_notify_client_methods = {
SIP_METHOD_NOTIFY,
0,
{
......
......@@ -87,7 +87,7 @@
* @END_NUA_EVENT
*/
static nua_client_methods_t nua_options_client_methods = {
static nua_client_methods_t const nua_options_client_methods = {
SIP_METHOD_OPTIONS,
0,
{
......
......@@ -240,7 +240,7 @@ static int nua_publish_client_response(nua_client_request_t *cr,
int status, char const *phrase,
sip_t const *sip);
static nua_client_methods_t nua_publish_client_methods = {
static nua_client_methods_t const nua_publish_client_methods = {
SIP_METHOD_PUBLISH,
0,
{
......
......@@ -543,7 +543,7 @@ static int nua_register_client_response(nua_client_request_t *cr,
int status, char const *phrase,
sip_t const *sip);
static nua_client_methods_t nua_register_client_methods = {
static nua_client_methods_t const nua_register_client_methods = {
SIP_METHOD_REGISTER,
0,
{
......
......@@ -488,7 +488,7 @@ static int nua_invite_client_ack_msg(nua_client_request_t *cr,
msg_t *msg, sip_t *sip,
tagi_t const *tags);
nua_client_methods_t nua_invite_client_methods = {
nua_client_methods_t const nua_invite_client_methods = {
SIP_METHOD_INVITE,
0,
{
......@@ -505,11 +505,11 @@ nua_client_methods_t nua_invite_client_methods = {
nua_invite_client_report
};
extern nua_client_methods_t nua_bye_client_methods;
extern nua_client_methods_t nua_cancel_client_methods;
extern nua_client_methods_t nua_info_client_methods;
extern nua_client_methods_t nua_update_client_methods;
extern nua_client_methods_t nua_prack_client_methods;
extern nua_client_methods_t const nua_bye_client_methods;
extern nua_client_methods_t const nua_cancel_client_methods;
extern nua_client_methods_t const nua_info_client_methods;
extern nua_client_methods_t const nua_update_client_methods;
extern nua_client_methods_t const nua_prack_client_methods;
int nua_stack_invite(nua_t *nua, nua_handle_t *nh, nua_event_t e,
tagi_t const *tags)
......@@ -1115,7 +1115,7 @@ static int nua_cancel_client_request(nua_client_request_t *cr,
msg_t *msg, sip_t *sip,
tagi_t const *tags);
static nua_client_methods_t nua_cancel_client_methods = {
static nua_client_methods_t const nua_cancel_client_methods = {
SIP_METHOD_CANCEL,
0,
{
......@@ -1336,7 +1336,7 @@ static int nua_prack_client_report(nua_client_request_t *cr,
nta_outgoing_t *orq,
tagi_t const *tags);
nua_client_methods_t nua_prack_client_methods = {
nua_client_methods_t const nua_prack_client_methods = {
SIP_METHOD_PRACK,
0,
{
......@@ -2711,7 +2711,7 @@ static int nua_info_client_request(nua_client_request_t *cr,
msg_t *msg, sip_t *sip,
tagi_t const *tags);
static nua_client_methods_t nua_info_client_methods = {
static nua_client_methods_t const nua_info_client_methods = {
SIP_METHOD_INFO,
0,
{
......@@ -2852,9 +2852,9 @@ static int nua_update_client_report(nua_client_request_t *cr,
nta_outgoing_t *orq,
tagi_t const *tags);
nua_client_methods_t nua_update_client_methods = {
nua_client_methods_t const nua_update_client_methods = {
SIP_METHOD_UPDATE,
0,
0, /* size of private data */
{
/* create_dialog */ 0,
/* in_dialog */ 1,
......@@ -3231,7 +3231,7 @@ static int nua_bye_client_report(nua_client_request_t *cr,
nta_outgoing_t *orq,
tagi_t const *tags);
nua_client_methods_t nua_bye_client_methods = {
nua_client_methods_t const nua_bye_client_methods = {
SIP_METHOD_BYE,
0,
{
......
......@@ -177,7 +177,7 @@ static int nua_subscribe_client_response(nua_client_request_t *cr,
int status, char const *phrase,
sip_t const *sip);
static nua_client_methods_t nua_subscribe_client_methods = {
static nua_client_methods_t const nua_subscribe_client_methods = {
SIP_METHOD_SUBSCRIBE,
0,
{
......@@ -741,7 +741,7 @@ static int nua_refer_client_response(nua_client_request_t *cr,
int status, char const *phrase,
sip_t const *sip);
static nua_client_methods_t nua_refer_client_methods = {
static nua_client_methods_t const nua_refer_client_methods = {
SIP_METHOD_REFER,
0,
{
......
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