summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-04-09 12:08:08 +0000
committerBenny Prijono <bennylp@teluu.com>2008-04-09 12:08:08 +0000
commit47048e8124b9062bdb3993cc9bd5d4a58b44bde7 (patch)
treed9ce9ba214b78900ade52b9112d26f054cee9fa0 /pjnath/include
parentd0b1cc04536aa71c104dc3b14ae0f6f4ffb36066 (diff)
Improve the PJNATH documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1914 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/turn_session.h2
-rw-r--r--pjnath/include/pjnath/types.h17
2 files changed, 14 insertions, 5 deletions
diff --git a/pjnath/include/pjnath/turn_session.h b/pjnath/include/pjnath/turn_session.h
index 0c0f3cef..2c10387b 100644
--- a/pjnath/include/pjnath/turn_session.h
+++ b/pjnath/include/pjnath/turn_session.h
@@ -308,7 +308,7 @@ PJ_DECL(pj_status_t) pj_turn_session_set_server(pj_turn_session *sess,
/**
* Set credential to be used by the session.
*/
-PJ_DECL(pj_status_t) pj_turn_session_set_cred(pj_turn_session *sess,
+PJ_DECL(pj_status_t) pj_turn_session_set_credential(pj_turn_session *sess,
const pj_stun_auth_cred *cred);
diff --git a/pjnath/include/pjnath/types.h b/pjnath/include/pjnath/types.h
index 1d6dc696..88872dcb 100644
--- a/pjnath/include/pjnath/types.h
+++ b/pjnath/include/pjnath/types.h
@@ -140,6 +140,15 @@ PJ_END_DECL
* messages.
*
*
+ * \n
+ *
+ * \subsection PJNATH_STUN_CLASSES PJNATH Class Diagram
+ *
+ *
+ * \image html UML-class-diagram.png "Class Diagram"
+ *
+ * TBD: write descriptions.
+ *
* \subsection PJNATH_STUN_USING Using STUN Library
*
* [The developers guide documentation can certainly be improved here]
@@ -155,11 +164,11 @@ PJ_END_DECL
*
* References for STUN:
*
- * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-rfc3489bis-11.txt">
- * <B>draft-ietf-behave-rfc3489bis-11</b></A>: Session Traversal
+ * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-rfc3489bis-15.txt">
+ * <B>draft-ietf-behave-rfc3489bis-15</b></A>: Session Traversal
* Utilities for (NAT) (STUN),
- * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-turn-03.txt">
- * <B>draft-ietf-behave-turn-03</B></A>: Obtaining Relay Addresses
+ * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-turn-07.txt">
+ * <B>draft-ietf-behave-turn-07</B></A>: Obtaining Relay Addresses
* from Simple Traversal Underneath NAT (STUN)
* - Obsoleted: <A HREF="http://www.ietf.org/rfc/rfc3489.txt">RFC 3489</A>.
*