| 258 | void evs_reset_flags(fs_evs *sock, unsigned int flags); |
| 259 | |
| 260 | static inline int load_fs_api(struct fs_binds *fapi) |
| 261 | { |
| 262 | bind_fs_t bind_fs; |
| 263 | |
| 264 | bind_fs = (bind_fs_t)find_export("fs_bind", 0); |
| 265 | if (!bind_fs) { |
| 266 | LM_ERR("can't bind fs!\n"); |
| 267 | return -1; |
| 268 | } |
| 269 | |
| 270 | if (bind_fs(fapi) < 0) |
| 271 | return -1; |
| 272 | |
| 273 | return 0; |
| 274 | } |
| 275 | |
| 276 | #endif /* __FREESWITCH_API__ */ |
no test coverage detected