Commit dcf533a5 authored by Pekka Pessi's avatar Pekka Pessi

Always peeking for UDP messages in tport.c.

darcs-hash:20060310182941-65a35-0b5f0c5d8f7bc39e41db6b8bd0f48bf90dc068d2.gz
parent 9c1df6dd
......@@ -103,6 +103,8 @@ typedef struct nua_server_request nua_server_request_t;
typedef void nua_creq_restart_f(nua_handle_t *, tagi_t *tags);
typedef struct register_usage nua_registration_t;
struct nua_client_request
{
nua_event_t cr_event; /**< Request event */
......@@ -433,13 +435,15 @@ struct nua_s {
sip_from_t nua_from[1];
/* Protocol (server) side */
nua_registration_t *nua_registrations; /**< Active registrations */
sip_contact_t *nua_contact;
sip_contact_t *nua_sips_contact;
/* Constants */
sip_accept_t *nua_invite_accept; /* What we accept for invite */
/* char const *nua_ua_name; => nhp_ua_name */
url_t *nua_registrar;
su_root_t *nua_root;
......@@ -628,6 +632,8 @@ typedef unsigned longlong ull;
#define SET_STATUS(_status, _phrase) status = _status, phrase = _phrase
#define SET_STATUS2(_status, _phrase) status = _status, phrase = _phrase
/* This is an "interesting" macro:
* x is a define expanding to <i>num, str</i>.
* @a num is assigned to variable status, @a str to variable phrase.
......
This diff is collapsed.
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