Commit 594e1ea3 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nea/nea.docs: fixed whitespace

darcs-hash:20081127232507-db55f-30ac6847f5e34fd1029d7966718c96abbbeff117.gz
parent 6c9f0f29
/* -*- c -*- */ /* -*- c -*- */
/**@MODULEPAGE "nea" - SIP Events Module /**@MODULEPAGE "nea" - SIP Events Module
* *
* @section nea_meta Module Meta Information * @section nea_meta Module Meta Information
* *
* Sofia Event API provides an interface to different events used in SIP * Sofia Event API provides an interface to different events used in SIP
...@@ -40,9 +40,9 @@ ...@@ -40,9 +40,9 @@
* { * {
* presentity_t *pr = su_home_clone(p->p_home, sizeof (*pr)); * presentity_t *pr = su_home_clone(p->p_home, sizeof (*pr));
* ... * ...
* pr->pr_nes = * pr->pr_nes =
* nea_server_create(agent, root, * nea_server_create(agent, root,
* m->m_url, * m->m_url,
* MAX_SUBSCRIBERS, * MAX_SUBSCRIBERS,
* event_callback, pr, * event_callback, pr,
* SIPTAG_CONTACT(m), * SIPTAG_CONTACT(m),
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
* ... * ...
* } * }
* @endcode * @endcode
* *
* @section nea_event_create Creating Events * @section nea_event_create Creating Events
* *
* Next, events are created. The function nea_event_create () defines * Next, events are created. The function nea_event_create () defines
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
* #define XPIDF_MIME_TYPE "application/xpidf+xml" * #define XPIDF_MIME_TYPE "application/xpidf+xml"
* #define PIDF_MIME_TYPE "application/cpim-pidf+xml" * #define PIDF_MIME_TYPE "application/cpim-pidf+xml"
* ne = nea_event_create(pr->pr_nes, presence_callback, ep, * ne = nea_event_create(pr->pr_nes, presence_callback, ep,
* PRESENCE_PACKAGE, NULL, * PRESENCE_PACKAGE, NULL,
* PIDF_MIME_TYPE, * PIDF_MIME_TYPE,
* PIDF_MIME_TYPE "," XPIDF_MIME_TYPE); * PIDF_MIME_TYPE "," XPIDF_MIME_TYPE);
...@@ -83,16 +83,16 @@ ...@@ -83,16 +83,16 @@
* *
* After the update, subscribers of the event are notified (with SIP * After the update, subscribers of the event are notified (with SIP
* NOTIFY) of the changed payload with nea_server_update (). * NOTIFY) of the changed payload with nea_server_update ().
* *
* @code * @code
* nea_server_update(pr->pr_nes, home, event, 1, * nea_server_update(pr->pr_nes, home, event, 1,
* SIPTAG_CONTENT_TYPE(ct), * SIPTAG_CONTENT_TYPE(ct),
* SIPTAG_PAYLOAD(pl), * SIPTAG_PAYLOAD(pl),
* TAG_END()); * TAG_END());
* nea_server_notify(pr->pr_nes, event); * nea_server_notify(pr->pr_nes, event);
* @endcode * @endcode
* *
* Obtaining the event's payload and removing it is presented in the * Obtaining the event's payload and removing it is presented in the
* example below. The event is defined as a part of the @a package_t * example below. The event is defined as a part of the @a package_t
* structure. Function nea_payloads_get() is used to return a payload * structure. Function nea_payloads_get() is used to return a payload
......
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