| 147 | |
| 148 | |
| 149 | static inline int load_dlg_api( struct dlg_binds *dlgb ) |
| 150 | { |
| 151 | load_dlg_f load_dlg; |
| 152 | |
| 153 | /* import the DLG auto-loading function */ |
| 154 | if ( !(load_dlg=(load_dlg_f)find_export("load_dlg", 0))) |
| 155 | return -1; |
| 156 | |
| 157 | /* let the auto-loading function load all DLG stuff */ |
| 158 | if (load_dlg( dlgb )==-1) |
| 159 | return -1; |
| 160 | |
| 161 | return 0; |
| 162 | } |
| 163 | |
| 164 | #define run_dlg_api(_dlg_api, _api_func, _args...) \ |
| 165 | ({ \ |
no test coverage detected