|
HOME
SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port
FAQ
Documentation
Licensing
Download
Development (Trac)
Projects using pjsip
Mailing List
Open Source Links
About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono <bennylp pjsip.org>
|
|
Home --> Documentations --> PJSIP Reference
Support for XPIDF/Presence Information Data Format.
More...
Detailed Description
This is an old presence data format as described in: draft-rosenberg-impp-pidf-00.txt.
We won't support this format extensively here, as it seems there's not too many implementations support this anymore, as it shouldn't.
Typedef Documentation
Type definitions for XPIDF root document.
Function Documentation
Create a new XPIDF document.
- Parameters:
-
| pool | Pool. |
| uri | URI to set in the XPIDF document. |
- Returns:
- XPIDF document.
Parse XPIDF document.
- Parameters:
-
| pool | Pool. |
| text | Input text. |
| len | Length of input text. |
- Returns:
- XPIDF document.
Print XPIDF document.
- Parameters:
-
| pres | The XPIDF document to print. |
| text | Buffer to place the output. |
| len | Length of the buffer. |
- Returns:
- The length printed.
Get URI in the XPIDF document
- Parameters:
-
- Returns:
- The URI, or an empty string.
Set the URI of the XPIDF document.
- Parameters:
-
| pool | Pool. |
| pres | The XPIDF document. |
| uri | URI to set in the XPIDF document. |
- Returns:
- Zero on success.
Get presence status in the XPIDF document.
- Parameters:
-
- Returns:
- True to indicate the contact is online.
Set presence status in the XPIDF document.
- Parameters:
-
| pres | XPIDF document. |
| status | Status to set, True for online, False for offline. |
- Returns:
- Zero on success.
PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.
|
|