Navigation


Changeset 1299:035f489b845b in freeDiameter for include


Ignore:
Timestamp:
Jul 5, 2015, 12:06:37 AM (9 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Added a new hook HOOK_MESSAGE_SENDING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r1220 r1299  
    965965                 */
    966966       
     967        HOOK_MESSAGE_SENDING,
     968                /* Hook called when a message is about to be sent to a peer. The message pointer cannot be modified here, but the content of the message
     969                  could still be changed (for example add or remove some AVP. This is the last chance.
     970                 - {msg} points to the message. Some objects may not have been dictionary resolved. If you
     971                   try to call fd_msg_parse_dict, it will slow down the operation of the instance.
     972                 - {peer} is the one the message is being sent to.
     973                 - {other} is NULL.
     974                 - {permsgdata} points to existing structure if any, or a new structure otherwise.
     975                 */
     976       
    967977        HOOK_MESSAGE_SENT,
    968978                /* Hook called when a message has been sent to a peer. The message might be freed as soon as the hook function returns,
Note: See TracChangeset for help on using the changeset viewer.