MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / load_fs_api

Function load_fs_api

modules/freeswitch/fs_api.h:260–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258void evs_reset_flags(fs_evs *sock, unsigned int flags);
259
260static 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__ */

Callers 3

mod_initFunction · 0.85
mod_initFunction · 0.85
fss_initFunction · 0.85

Calls 1

find_exportFunction · 0.85

Tested by

no test coverage detected