Navigation


Changeset 86:e3e22d89e023 in freeDiameter for include


Ignore:
Timestamp:
Dec 3, 2009, 5:36:35 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Started routing module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/freeDiameter.h

    r85 r86  
    286286
    287287/*
     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 */
     301int fd_peer_getbyid( char * diamid, struct peer_hdr ** peer );
     302
     303/*
    288304 * FUNCTION:    peer_validate_register
    289305 *
     
    481497enum fd_rt_fwd_dir {
    482498        RT_FWD_REQ = 1, /* The callback will be called on forwarded requests only */
    483         RT_FWD_ANS,     /* The callback will be called on answers and errors only */
    484         RT_FWD_ALL,     /* 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 */
    485501};     
    486502
     
    497513 * DESCRIPTION:
    498514 *   Register a new callback for forwarded messages. See explanations above.
     515 * Note that there is no guaranteed order for the callbacks calls.
    499516 *
    500517 * RETURN VALUE:
Note: See TracChangeset for help on using the changeset viewer.