| 167 | int b2b_logic_bind(b2bl_api_t* api); |
| 168 | |
| 169 | static inline int load_b2b_logic_api( b2bl_api_t *api) |
| 170 | { |
| 171 | load_b2bl_f load_b2b; |
| 172 | |
| 173 | /* import the b2b logic auto-loading function */ |
| 174 | if ( !(load_b2b=(load_b2bl_f)find_export("b2b_logic_bind", 0))) { |
| 175 | return -1; |
| 176 | } |
| 177 | /* let the auto-loading function load all B2B stuff */ |
| 178 | if (load_b2b( api )==-1) |
| 179 | return -1; |
| 180 | |
| 181 | return 0; |
| 182 | } |
| 183 | |
| 184 | |
| 185 | #endif |
no test coverage detected