! \brief * function to be called directly from other modules * to load the RR API */
| 78 | * to load the RR API |
| 79 | */ |
| 80 | inline static int load_rr_api( struct rr_binds *rrb ) |
| 81 | { |
| 82 | load_rr_f load_rr_v; |
| 83 | |
| 84 | /* import the RR auto-loading function */ |
| 85 | if ( !(load_rr_v=(load_rr_f)find_export("load_rr", 0))) |
| 86 | return -1; |
| 87 | |
| 88 | /* let the auto-loading function load all RR stuff */ |
| 89 | load_rr_v( rrb ); |
| 90 | |
| 91 | return 0; |
| 92 | } |
| 93 | |
| 94 | |
| 95 | #endif |
no test coverage detected