Navigation


Changeset 124:cc42d8607114 in freeDiameter for include


Ignore:
Timestamp:
Dec 10, 2009, 2:15:04 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Completed cleanups of queues when the daemon is stopping

Location:
include/freeDiameter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/freeDiameter.h

    r105 r124  
    562562enum fd_rt_out_score {
    563563        FD_SCORE_NO_DELIVERY     = -70, /* We should not send this message to this candidate */
     564        FD_SCORE_INI             =  -2, /* All candidates are initialized with this value */
    564565        FD_SCORE_LOAD_BALANCE    =   1, /* Use this to differentiate between several peers with the same score */
    565566        FD_SCORE_DEFAULT         =   5, /* The peer is a default route for all messages */
  • include/freeDiameter/libfreeDiameter.h

    r114 r124  
    16331633
    16341634/* Extract the list of valid candidates, and initialize their scores to 0 */
    1635 void fd_rtd_candidate_extract(struct rt_data * rtd, struct fd_list ** candidates);
     1635void fd_rtd_candidate_extract(struct rt_data * rtd, struct fd_list ** candidates, int ini_score);
    16361636
    16371637/* If a peer returned a protocol error for this message, save it so that we don't try to send it there again */
     
    26062606 * PARAMETERS:
    26072607 *  queue       : The queue from which the element must be retrieved.
    2608  *  msg         : On return, the message is stored here.
     2608 *  item        : On return, the first element of the queue is stored here.
    26092609 *
    26102610 * DESCRIPTION:
Note: See TracChangeset for help on using the changeset viewer.