Changeset 120:d7acdc46134d in freeDiameter for extensions/test_rt_any
- Timestamp:
- Dec 9, 2009, 5:36:38 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- extensions/test_rt_any
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
extensions/test_rt_any/CMakeLists.txt
r118 r120 3 3 4 4 # Compile as a module 5 FD_ADD_EXTENSION( rt_anyrt_any.c)5 FD_ADD_EXTENSION(test_rt_any test_rt_any.c) -
extensions/test_rt_any/test_rt_any.c
r118 r120 41 41 42 42 /* The callback */ 43 static int rtany_out_cb(void * cbdata, struct msg * msg, struct fd_list * candidates)43 static int tra_out_cb(void * cbdata, struct msg * msg, struct fd_list * candidates) 44 44 { 45 45 struct fd_list * li; … … 58 58 59 59 /* Register the callbacks to the daemon */ 60 static int rtany_main(char * conffile)60 static int tra_main(char * conffile) 61 61 { 62 62 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 ) ); 64 64 return 0; 65 65 } … … 74 74 75 75 /* Define the entry point function */ 76 EXTENSION_ENTRY(" rt_any", rtany_main);76 EXTENSION_ENTRY("test_rt_any", tra_main);
Note: See TracChangeset
for help on using the changeset viewer.