apiref.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  2. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>doubango - API Reference</title>
  6. <meta name="Keywords" content="doubango, 3GPP NGN/IMS framework, open source, SIP, RFC 3261, 3GPP TS 24.229, VoIP, MMTel, IPTV, 4G, LTE, XCAP, MSRP, IPSec, SigComp, One Voice " />
  7. <meta name="Description" content="cross-platform and open source 3GPP IMS/LTE framework for embedded devices such as Android, Symbian, iPhone, Windows Mobile or uLinux." />
  8. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  9. <link rel="stylesheet" type="text/css" href="css.css" />
  10. <style type="text/css">
  11. /*<![CDATA[*/p.c1{
  12. text-align: center;
  13. }
  14. /*]]>*/
  15. a.c2{
  16. font:16px/1.3em arial,sans-serif;font-weight:bold;color:blue;text-indent:15px;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div id="center">
  22. <div id="border">
  23. <div id="logo">
  24. <p class="companyname">
  25. doubango</p>
  26. </div>
  27. <div id="menu">
  28. <a href="index.html" title="Homepage">Home</a> <a href="gettingstarted.html"
  29. title="Getting Started">Getting Started</a> <a href="http://code.google.com/p/doubango/source/checkout"
  30. title="Source Code" target="_blank">Source Code</a> <a href="/apiref.html" title="API Reference">API Reference</a> <a href="contact.html" title="Contact">Contact</a>
  31. </div>
  32. <div id="main">
  33. <p class="code">For newbies, please refer to the <a href="http://doubango.googlecode.com/svn/trunk/documentation/programmer-guide.pdf">Programmer's Guide v1.0.0</a></p>
  34. <h2><a href="/API/tinySAK/" class="caps c2">tinySAK(a.k.a tiny Swiss Army Knife)</a></h2>
  35. <ul>
  36. <li>ANSI-C Object Programing</li>
  37. <li>Linked lists</li>
  38. <li>String utility functions</li>
  39. <li>Memory management</li>
  40. <li>Dynamic buffers</li>
  41. <li>Threading</li>
  42. <li>Runnable</li>
  43. <li>Mutexes</li>
  44. <li>Semaphores</li>
  45. <li>Conditional Variables</li>
  46. <li>Timers</li>
  47. <li>Time</li>
  48. <li>Final State Machine (FSM) manager</li>
  49. <li>Base64 encoder/decoder</li>
  50. <li>UUID generator</li>
  51. <li>CRC32 and CRC16</li>
  52. <li>URL encoder/decoder</li>
  53. <li>SHA-1, MD5, HMAC-MD5, HMAC-SHA-1</li>
  54. </ul>
  55. <p>No dependencies.</p>
  56. <h2><a href="/API/tinyNET/" class="caps c2">tinyNET (Networking)</a></h2>
  57. <ul>
  58. <li>IPv4/IPv6 Sockets (UDP, TCP, TLS and SCTP)</li>
  59. <li>DHCPv4/v6</li>
  60. <li>DNS (NAPTR, PTR, SRV, MX, A, AAAA, OPT, CNAME ...)</li>
  61. <li>ENUM</li>
  62. <li>NAT Traversal (STUN, TURN and ICE)</li>
  63. </ul>
  64. <p>Depends on <a href="/API/tinySAK/">tinySAK</a></p>
  65. <h2><a href="/API/tinyHTTP/" class="caps c2">tinyHTTP (HTTP/HTTPS stack)</a></h2>
  66. <ul>
  67. <li>Digest/Basic Authentication</li>
  68. <li>Pipelining</li>
  69. <li>CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT and TRACE</li>
  70. </ul>
  71. <p>Depends on <a href="/API/tinySAK/">tinySAK</a> and <a href="/API/tinyNET/">tinyNET</a></p>
  72. <h2><a href="/API/tinyXCAP/" class="caps c2">tinyXCAP (XCAP implementation)</a></h2>
  73. <ul>
  74. <li>AUID manager</li>
  75. <li>URL generator</li>
  76. </ul>
  77. <p>Depends on <a href="/API/tinySAK/">tinySAK</a>, <a href="/API/tinyNET/">tinyNET</a> and <a href="/API/tinyHTTP/">tinyHTTP</a></p>
  78. <h2><a href="/API/tinySMS/" class="caps c2">tinySMS (SMS over IP)</a></h2>
  79. <ul>
  80. <li>SM-TL (3GPP TS 23.040)</li>
  81. <li>SM-RL (3GPP TS 24.011)</li>
  82. <li>SMS over 3GPP IMS/LTE networks (3GPP TS 24.341)</li>
  83. </ul>
  84. <p>Depends on <a href="/API/tinySAK/">tinySAK</a></p>
  85. <h2><a href="/API/tinySigComp/" class="caps c2">tinySigComp (Signaling Compression)</a></h2>
  86. <ul>
  87. <li>Stream and Dgram compression/decompression</li>
  88. <li>SIP/SDP and Presence dictionaries</li>
  89. <li>Deflate Compressor</li>
  90. <li>UDVM</li>
  91. </ul>
  92. <p>Depends on <a href="/API/tinySAK/">tinySAK</a></p>
  93. <h2>tinyIPSec (IPSec)</h2>
  94. <ul>
  95. <li>Mode: Transport and Tunnel</li>
  96. <li>Protocol: AH, ESP or both</li>
  97. <li>IP Protocol: UDP and TCP</li>
  98. <li>Algorithm: HMAC-MD5-96 and HMAC-SHA-1-96</li>
  99. <li>Encryption Algorithm: NULL, DES-EDE3-CBC and AES</li>
  100. </ul>
  101. <p>Depends on <a href="/API/tinySAK/">tinySAK</a></p>
  102. <h2>tinyMSRP(MSRP)</h2>
  103. <ul>
  104. <li>Large Message IM (RFC 4975 and OMA SIMPLE IM)</li>
  105. <li>File Transfer (RFC 5547)</li>
  106. <li>Image Sharing (GSMA IR.79)</li>
  107. </ul>
  108. <p>Depends on ...</p>
  109. <h2>tinySDP (SDP)</h2>
  110. <ul>
  111. <li>SDP Offer Answer (RFC 3262 and draft-ietf-sipping-sip-offeranswer-12)</li>
  112. </ul>
  113. <p>Depends on <a href="/API/tinySAK/">tinySAK</a></p>
  114. <h2>tinyMEDIA (Audio, Video, File transfer, Large Message IM ...)</h2>
  115. <ul>
  116. <li>Plugins, codecs ...</li>
  117. </ul>
  118. <p>Depends on <a href="/API/tinySAK/">tinySAK</a>, <a href="/API/tinyNET/">tinyNET</a> and <a href="/API/tinySAK/">tinySDP</a></p>
  119. <h2>tinySIP (3GPP IMS/LTE framework)</h2>
  120. <ul>
  121. <li>SIP (RFC 3261, 3GPP TS 24.229 Rel-9)</li>
  122. <li>IMS-AKA (RFC 3310, 3GPP TS 33.203)</li>
  123. <li>IPv4/IPv6 dual stack</li>
  124. <li>UDP, TCP, TLS and SCTP</li>
  125. <li>Service-Route Discovery (RFC 3608)</li>
  126. <li>Proxy-CSCF discovery using DHCPv4/v6 or/and DNS NAPTR</li>
  127. <li>SigComp (RFC 3320, 3485, 4077, 4464, 4465, 4896, 5049, 5112 and 1951)</li>
  128. <li>IPSec</li>
  129. <li>Security Agreement (RFC 3329)</li>
  130. <li>NAT Traversal (STUN, TURN and ICE)</li>
  131. <li>Preconditions (RFC 3312, 4032 and 5027)</li>
  132. <li>SMS over IP (3GPP TS 23.038, 24.040, 24.011, 24.341 and 24.451)</li>
  133. <li>ENUM (RFC 3761)</li>
  134. <li>The tel URI for Telephone Numbers (RFC 3966)</li>
  135. <li>SIP SIMPLE (Presence subsciption/publication, Pager Mode IM, ...)</li>
  136. <li>MMTel (UNI)</li>
  137. <li>SDP Offer-Answer (SOA)</li>
  138. <li>Session Timers</li>
  139. <li>File transfer (RFC 5547) and Image Sharing(GSMA IR.79)</li>
  140. <li>Large Message IM (OMA SIMPLE IM)</li>
  141. <li>To be continued....</li>
  142. </ul>
  143. <p>Depends on <a href="/API/tinySAK/">tinySAK</a>, <a href="/API/tinyNET/">tinyNET</a>, <a href="/API/tinySDP/">tinySDP</a>, <a href="/API/tinyMEDIA/">tinyMEDIA</a>, <a href="/API/tinyHTTP/">tinyHTTP</a> and <a href="/API/tinyIPSec/">tinyIPSec</a></p>
  144. <br />
  145. </div>
  146. </div>
  147. </body>
  148. </html>