Changeset 86:e3e22d89e023 in freeDiameter for include
- Timestamp:
- Dec 3, 2009, 5:36:35 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/freeDiameter.h
r85 r86 286 286 287 287 /* 288 * FUNCTION: fd_peer_getbyid 289 * 290 * PARAMETERS: 291 * diamid : A \0 terminated string. 292 * peer : The peer is stored here if it exists. 293 * 294 * DESCRIPTION: 295 * Search a peer by its Diameter-Id. 296 * 297 * RETURN VALUE: 298 * 0 : *peer has been updated (to NULL if the peer is not found). 299 * !0 : An error occurred. 300 */ 301 int fd_peer_getbyid( char * diamid, struct peer_hdr ** peer ); 302 303 /* 288 304 * FUNCTION: peer_validate_register 289 305 * … … 481 497 enum fd_rt_fwd_dir { 482 498 RT_FWD_REQ = 1, /* The callback will be called on forwarded requests only */ 483 RT_FWD_A NS, /* The callback will be called on answers and errors only*/484 RT_FWD_A LL, /* The callback will be called on all forwarded messages*/499 RT_FWD_ALL = 2, /* The callback will be called on all forwarded messages (requests and answers )*/ 500 RT_FWD_ANS = 3 /* The callback will be called on answers and errors only */ 485 501 }; 486 502 … … 497 513 * DESCRIPTION: 498 514 * Register a new callback for forwarded messages. See explanations above. 515 * Note that there is no guaranteed order for the callbacks calls. 499 516 * 500 517 * RETURN VALUE:
Note: See TracChangeset
for help on using the changeset viewer.