Navigation


Changeset 652:c23632480951 in freeDiameter


Ignore:
Timestamp:
Jan 11, 2011, 12:17:50 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix updated API format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/test_acct/test_acct.c

    r282 r652  
    4545       
    4646/* Callback for incoming Base Accounting application messages */
    47 static int tac_cb( struct msg ** msg, struct avp * avp, struct session * sess, enum disp_action * act)
     47static int tac_cb( struct msg ** msg, struct avp * avp, struct session * sess, void * data, enum disp_action * act)
    4848{
    4949        struct msg_hdr *hdr = NULL;
     
    134134       
    135135        /* Register the dispatch callback */
    136         CHECK_FCT( fd_disp_register( tac_cb, DISP_HOW_APPID, &data, NULL ) );
     136        CHECK_FCT( fd_disp_register( tac_cb, DISP_HOW_APPID, &data, NULL, NULL ) );
    137137       
    138138        /* Advertise the support for the Diameter Base Accounting application in the peer */
Note: See TracChangeset for help on using the changeset viewer.