Navigation


Changeset 120:d7acdc46134d in freeDiameter for extensions/test_rt_any


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

Renamed several extensions

Location:
extensions/test_rt_any
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • extensions/test_rt_any/CMakeLists.txt

    r118 r120  
    33
    44# Compile as a module
    5 FD_ADD_EXTENSION(rt_any rt_any.c)
     5FD_ADD_EXTENSION(test_rt_any test_rt_any.c)
  • extensions/test_rt_any/test_rt_any.c

    r118 r120  
    4141
    4242/* The callback */
    43 static int rtany_out_cb(void * cbdata, struct msg * msg, struct fd_list * candidates)
     43static int tra_out_cb(void * cbdata, struct msg * msg, struct fd_list * candidates)
    4444{
    4545        struct fd_list * li;
     
    5858
    5959/* Register the callbacks to the daemon */
    60 static int rtany_main(char * conffile)
     60static int tra_main(char * conffile)
    6161{
    6262        TRACE_ENTRY("%p", conffile);
    63         CHECK_FCT( fd_rt_out_register ( rtany_out_cb, NULL, 0 /* we call it late so that it replaces previous scores */, &out_hdl ) );
     63        CHECK_FCT( fd_rt_out_register ( tra_out_cb, NULL, 0 /* we call it late so that it replaces previous scores */, &out_hdl ) );
    6464        return 0;
    6565}
     
    7474
    7575/* Define the entry point function */
    76 EXTENSION_ENTRY("rt_any", rtany_main);
     76EXTENSION_ENTRY("test_rt_any", tra_main);
Note: See TracChangeset for help on using the changeset viewer.