Navigation


Changeset 1113:eb4ce68b6e5c in freeDiameter for include/freeDiameter


Ignore:
Timestamp:
May 13, 2013, 8:17:13 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Added calls to remaining hooks

Location:
include/freeDiameter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r1103 r1113  
    814814DECLARE_FD_DUMP_PROTOTYPE(fd_conf_dump);
    815815DECLARE_FD_DUMP_PROTOTYPE(fd_ext_dump);
    816 DECLARE_FD_DUMP_PROTOTYPE(fd_servers_dump);
     816DECLARE_FD_DUMP_PROTOTYPE(fd_servers_dump, int details);
    817817#endif /* SWIG */
    818818DECLARE_FD_DUMP_PROTOTYPE(fd_peer_dump_list, int details);
     
    853853int fd_ep_filter_list( struct fd_list * list, struct fd_list * exclude_list );
    854854int fd_ep_clearflags( struct fd_list * list, uint32_t flags );
    855 DECLARE_FD_DUMP_PROTOTYPE(fd_ep_dump_one, struct fd_endpoint * ep );
    856 DECLARE_FD_DUMP_PROTOTYPE(fd_ep_dump, int indent, struct fd_list * eps  );
     855DECLARE_FD_DUMP_PROTOTYPE(fd_ep_dump_one, int preamble, struct fd_endpoint * ep );
     856DECLARE_FD_DUMP_PROTOTYPE(fd_ep_dump, int preamble, int indent, struct fd_list * eps  );
    857857
    858858
     
    936936       
    937937        HOOK_MESSAGE_LOCAL,
    938                 /* Hook called when a request message has been created locally and is being sent.
     938                /* Hook called when a request message has been created locally by an extension and is being sent.
    939939                 - {msg} points to the message.
    940940                 - {peer} is NULL
  • include/freeDiameter/libfdproto.h

    r1107 r1113  
    29222922 *  action      : Upon return, the action that must be taken on the message
    29232923 *  error_code  : Upon return with action == DISP_ACT_ERROR, contains the error (such as "DIAMETER_UNABLE_TO_COMPLY")
     2924 *  drop_reason : if set on return, the message must be freed for this reason.
     2925 *  drop_msg    : if drop_reason is set, this points to the message to be freed while *msg is NULL.
    29242926 *
    29252927 * DESCRIPTION:
     
    29342936 *  (other errors)
    29352937 */
    2936 int fd_msg_dispatch ( struct msg ** msg, struct session * session, enum disp_action *action, char ** error_code );
     2938int fd_msg_dispatch ( struct msg ** msg, struct session * session, enum disp_action *action, char ** error_code, char ** drop_reason, struct msg ** drop_msg );
    29372939
    29382940
Note: See TracChangeset for help on using the changeset viewer.