Changeset 85:e5fcd672caff in freeDiameter for include/freeDiameter/libfreeDiameter.h
- Timestamp:
- Dec 3, 2009, 2:59:23 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfreeDiameter.h
r83 r85 1473 1473 * 1474 1474 * DESCRIPTION: 1475 * Retrieve a session object from a Session-Id string. Calling this function makes an implicit call to the 1476 * fd_sess_link function on the returned session. In case no session object was previously existing with this 1475 * Retrieve a session object from a Session-Id string. In case no session object was previously existing with this 1477 1476 * id, a new object is silently created (equivalent to fd_sess_new with flag SESSION_NEW_FULL). 1478 1477 * … … 1648 1647 int fd_rtd_candidate_reorder(struct fd_list * candidates); 1649 1648 1649 /* Note : it is fine for a callback to add a new entry in the candidates list after the list has been extracted. The diamid must then be malloc'd. */ 1650 /* Beware that this could lead to routing loops */ 1650 1651 1651 1652 /*============================================================*/ … … 2052 2053 2053 2054 2055 /* 2056 * FUNCTION: fd_msg_sess_get 2057 * 2058 * PARAMETERS: 2059 * dict : the dictionary that contains the Session-Id AVP definition 2060 * msg : A valid message. 2061 * session : Location to store the session pointer when retrieved. 2062 * new : Indicates if the session has been created. 2063 * 2064 * DESCRIPTION: 2065 * This function retrieves or creates the session object corresponding to a message. 2066 * If the message does not contain a Session-Id AVP, *session == NULL on return. 2067 * Note that the Session-Id AVP must never be modified after created in a message. 2068 * 2069 * RETURN VALUE: 2070 * 0 : success 2071 * !0 : standard error code. 2072 */ 2073 int fd_msg_sess_get(struct dictionary * dict, struct msg * msg, struct session ** session, int * new); 2074 2054 2075 /***************************************/ 2055 2076 /* Manage AVP values */
Note: See TracChangeset
for help on using the changeset viewer.